summaryrefslogtreecommitdiff
path: root/libfshelp
AgeCommit message (Collapse)Author
2011-08-20fix common misspellingsJonathan Neuschäfer
* Fix spelling with codespell[1] and manually review it. [1] http://git.profusion.mobi/cgit.cgi/lucas/codespell/
2009-12-13Fix setgid behaviorSamuel Thibault
* libfshelp/exec-reauth.c (fshelp_exec_reauth): Set gid in eff_gids and avail_gids instead of in eff_uids, and avail_uids.
2009-08-23Fix root access to non-regular filesSamuel Thibault
* libfshelp/perms-access.c (fshelp_access): Only check the x permission for root on regular files.
2009-07-11Switch to the new ChangeLog style.Thomas Schwinge
* ChangeLog: Wipe out content, and add instructions about how to get it back. * auth/ChangeLog: Remove file. * benchmarks/ChangeLog: Likewise. * boot/ChangeLog: Likewise. * bsdfsck/ChangeLog: Likewise. * config/ChangeLog: Likewise. * console-client/ChangeLog: Likewise. * console/ChangeLog: Likewise. * daemons/ChangeLog: Likewise. * defpager/ChangeLog: Likewise. * doc/ChangeLog: Likewise. * exec/ChangeLog: Likewise. * ext2fs/ChangeLog: Likewise. * fatfs/ChangeLog: Likewise. * fstests/ChangeLog: Likewise. * ftpfs/ChangeLog: Likewise. * hostmux/ChangeLog: Likewise. * hurd/ChangeLog: Likewise. * include/ChangeLog: Likewise. * init/ChangeLog: Likewise. * isofs/ChangeLog: Likewise. * libcons/ChangeLog: Likewise. * libdirmgt/ChangeLog: Likewise. * libdiskfs/ChangeLog: Likewise. * libfshelp/ChangeLog: Likewise. * libftpconn/ChangeLog: Likewise. * libhurdbugaddr/ChangeLog: Likewise. * libihash/ChangeLog: Likewise. * libiohelp/ChangeLog: Likewise. * libnetfs/ChangeLog: Likewise. * libpager/ChangeLog: Likewise. * libpipe/ChangeLog: Likewise. * libports/ChangeLog: Likewise. * libps/ChangeLog: Likewise. * libshouldbeinlibc/ChangeLog: Likewise. * libstore/ChangeLog: Likewise. * libthreads/ChangeLog: Likewise. * libtrivfs/ChangeLog: Likewise. * login/ChangeLog: Likewise. * mach-defpager/ChangeLog: Likewise. * nfs/ChangeLog: Likewise. * nfsd/ChangeLog: Likewise. * pfinet/ChangeLog: Likewise. * pflocal/ChangeLog: Likewise. * proc/ChangeLog: Likewise. * release/ChangeLog: Likewise. * serverboot/ChangeLog: Likewise. * storeio/ChangeLog: Likewise. * sutils/ChangeLog: Likewise. * term/ChangeLog: Likewise. * tmpfs/ChangeLog: Likewise. * trans/ChangeLog: Likewise. * ufs-fsck/ChangeLog: Likewise. * ufs-utils/ChangeLog: Likewise. * ufs/ChangeLog: Likewise. * usermux/ChangeLog: Likewise. * utils/ChangeLog: Likewise.
2008-07-14 * perms-access.c (fshelp_access): If user->uids contain 0 and the opSamuel Thibault
is S_IEXEC, return 1 only if st_mode contains at least one executable bit.
2008-07-01Update copyright years.Thomas Schwinge
2008-07-01Correct file name and convert file to UTF-8.Thomas Schwinge
2008-06-272008-06-27 Flávio Cruz <flaviocruz@gmail.com>Samuel Thibault
* parms-iscontroller.c (fshelp_iscontroller): Replace duplicate check for st->ts_uid in user->uids by check for 0 in user->uids.
2007-11-132007-11-13 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* touch.c (fshelp_touch): Adapt to ``struct stat'' changes.
2006-06-282006-06-28 Thomas Schwinge <tschwinge@gnu.org>Thomas Schwinge
* Makefile (HURDLIBS): Add `iohelp' and `ports'.
2004-02-11.Roland McGrath
2004-02-112004-02-10 Roland McGrath <roland@frob.com>Roland McGrath
* start-translator-long.c (service_fsys_startup): Move mach_msg_type_t const variables inside the function, make them auto so they are optimized away to integer constants. Use a union instead of casts to do efficient type checking.
2002-06-262002-06-26 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* lock-acquire.c (fshelp_acquire_lock): Also wait for exclusive locks which might have been acquired while we were waiting for shared locks to finish.
2002-06-11.Roland McGrath
2002-06-112002-06-07 Roland McGrath <roland@frob.com>Roland McGrath
* fshelp.h: Use io_statbuf_t in place of struct stat throughout. (fshelp_get_identity): ino_t -> ino64_t
2002-05-28.Roland McGrath
2002-05-282002-05-10 Roland McGrath <roland@frob.com>Roland McGrath
* exec-reauth.c (fshelp_exec_reauth): Always set *SECURE if nonnull, as the comment says we do.
2002-05-08.Roland McGrath
2002-05-082002-05-07 Roland McGrath <roland@frob.com>Roland McGrath
* fetch-root.c (fshelp_fetch_root): int -> size_t * delegate.c (fshelp_delegate_translation): Likewise.
2002-03-05doc/Marcus Brinkmann
2002-03-05 Marcus Brinkmann <marcus@gnu.org> * hurd.texi (Diskfs Callbacks): Refer to dir_lookup, not dir_pathtrans. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. fstests/ 2002-03-05 Marcus Brinkmann <marcus@gnu.org> * fstests.c (main): Call dir_lookup, not dir_pathtrans. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. hurd/ 2002-03-05 Marcus Brinkmann <marcus@gnu.org> * fs.defs: Refer to dir_lookup, not dir_pathtrans, in comments. * fsys.defs: Likewise. * hurd_types.h (enum retry_type): Likewise. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. libdiskfs/ 2002-03-05 Marcus Brinkmann <marcus@gnu.org> * diskfs.h: Refer to dir_lookup, not dir_pathtrans, in comment. * fsys-getroot.c (diskfs_S_fsys_getroot): Likewise. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>. libfshelp/ 2002-03-05 Marcus Brinkmann <marcus@gnu.org> * fshelp.h: Refer to dir_lookup, not dir_pathtrans, in comment. Reported by James A Morrison <ja2morri@student.math.uwaterloo.ca>.
2002-01-02.Roland McGrath
2002-01-022002-01-02 Roland McGrath <roland@frob.com>Roland McGrath
* start-translator-long.c (fshelp_start_translator_long) [KERN_INVALID_LEDGER]: Pass extra args to task_create for OSF variant.
2001-07-03.Roland McGrath
2001-07-032001-06-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* fshelp.h (fshelp_iscontroller): Declare new function. * perms-iscontroller.c: New file. * Makefile (SRCS): Add it.
2001-01-30daemons/Marcus Brinkmann
2001-01-17 Neal H Walfield <neal@cs.uml.edu> * console-run.c (open_console): Conform to new fshelp_start_translator semantics. init/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * init.c (open_console): Conform to new fshelp_start_translator semantics. libfshelp/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * fshelp.h: Add two new parameters to fshelp_open_fn_t: a port to the new task and a cookie. Add a new parameter, cookie, to fshelp_start_translator and fshelp_start_translator_long that will be passed to fshelp_open_fn_t. * fetch-root.c (fshelp_fetch_root): Conform to new fshelp_start_translator_long semantics. * start-translator-long.c (service_fsys_startup): Likewise. (fshelp_start_translator_long): Likewise. * start-translator.c (fshelp_start_translator): Likewise. libtreefs/ Conform to new fshelp_start_translator semantics. trans/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * pump.c (start_pfinet): Conform to new fshelp_start_translator semantics. utils/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * mount.c (do_mount): Conform to new fshelp_start_translator semantics. * settrans.c (main): Conform to new fshelp_start_translator semantics therby allowing us to print the pid of the an active translator.
2000-03-20.Roland McGrath
2000-03-202000-03-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* delegate.c (fshelp_delegate_translation): Add const to arg type. * fshelp.h: Fix decl.
2000-03-172000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* fetch-root.c (fshelp_fetch_root): Don't use MAKE_SEND in Hurd RPC.
2000-03-14.Roland McGrath
2000-03-142000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* start-translator-long.c (service_fsys_startup): If mach_msg fails with MACH_SEND_INTERRUPTED, clean up the send right in the pseudo-received request message.
1999-10-071999-10-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* start-translator-long.c (fshelp_start_translator_long): Doc fix. * fshelp.h (fshelp_start_translator_long): Document OWNER_UID.
1999-10-07.Roland McGrath
1999-10-071999-10-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* start-translator-long.c (fshelp_start_translator_long): Take new argument OWNER_UID. Get child's proc port and do proc_setowner on it. * fshelp.h: Update decl. * start-translator.c (fshelp_start_translator): Pass new arg to fshelp_start_translator_long with value from geteuid (). * fetch-root.c (fshelp_fetch_root): Pass UID as new arg to fshelp_start_translator_long.
1999-09-13.Roland McGrath
1999-09-131999-09-12 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* delegate.c (fshelp_delegate_translation): Free ARGZ after RPC.
1999-07-111999-07-11 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* set-options.c (fshelp_set_options): Explicitly cast first arg to argz_extract to keep GCC quiet.
1999-07-011999-07-01 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* translated.c: New file; guts from fshelp.h. * perms-isowner.c: Likewise. * perms-access.c: Likewise. * prems-checkdirmod.c: Likewise. * touch.c: Likewise. * fshelp.h (fshelp_translated, fshelp_isowner, fshelp_access, fshelp_checkdirmod, fshelp_touch): Replace inline definitions with ordinary declarations. (FSHELP_EI): Removed macro. * fshelp.c: Deleted file. * Makefile (SRCS): Added translated.c, perms-isowner.c, perms-access.c, perms-checkdirmod.c, touch.c. Removed fshelp.c.
1999-04-30Wed Apr 28 03:06:19 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* fetch-root.c (fshelp_fetch_root): Don't deallocate the INIT_PORT_CWDIR after starting the passive translator; we still need to keep our reference around until the getroot call happens. Reported by Marcus Brinkmann (Marcus.Brinkmann@ruhr-uni-bochum.de).
1999-04-21Tue Apr 20 21:43:20 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* fetch-root.c (fshelp_fetch_root): When starting a passive translator, set cwd to be DOTDOT instead of our own cwd.
1999-03-06Sat Mar 6 17:03:02 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* start-translator-long.c (service_fsys_startup): Doc fixes, and omit unused member `dead' from REQUEST.
1999-02-28.Roland McGrath
1999-02-281999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* get-identity.c (fshelp_get_identity): Use ports_class_iterate.
1998-09-04.Roland McGrath
1998-09-041998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fshelp.h (fshelp_set_options): Use `const' for `char *' parameter. * set-options.c (fshelp_set_options): Fix defn.
1998-08-21.Roland McGrath
1998-08-211998-08-21 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (SRCS): Remove return-buffer.c.
1998-08-20Moved to ../libiohelp/return-buffer.c.Roland McGrath
1998-08-20.Roland McGrath
1998-08-201998-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* fshelp.h: Moved fshelp_return_malloced_buffer to libiohelp. * return-buffer.c: Moved to ../libiohelp/return-buffer.c. (fshelp_return_malloced_buffer): Renamed to iohelp_*.
1997-07-09Tue Jul 1 16:45:27 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* exec-reauth.c (fshelp_exec_reauth): If the new set of eff_uids is empty, then still do proc_setowner, but this time to set it to "unowned" status.