aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* .Roland McGrath2000-03-171-3/+8
|
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-172-2/+2
| | | | | * file-exec.c (diskfs_S_file_exec): Fix typo and braino in last change. * init-startup.c (diskfs_startup_diskfs): Fix braino in last change.
* 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-174-10/+28
| | | | | | | | | | * boot-start.c (diskfs_S_fsys_init, diskfs_start_bootstrap): Don't use MOVE_SEND in Hurd RPC. * file-exec.c (diskfs_S_file_exec): Don't use MAKE_SEND in Hurd RPC. * init-startup.c (diskfs_startup_diskfs, _diskfs_init_completed): Likewise.
* .Roland McGrath2000-03-171-0/+12
|
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-3/+1
| | | | * dir-lookup.c (diskfs_S_dir_lookup): Use ports_get_send_right.
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-8/+6
| | | | | * io-reauthenticate.c (diskfs_S_io_reauthenticate): Use ports_get_send_right.
* 2000-03-17 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-171-17/+6
| | | | | | | * boot-start.c (diskfs_start_bootstrap): Use ports_get_send_right. (diskfs_execboot_fsys_startup): Use ports_get_send_right. (diskfs_S_fsys_init): Use ports_get_send_right. (start_execserver): Use ports_get_send_right.
* .Roland McGrath2000-02-281-0/+5
|
* 2000-02-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-02-281-3/+14
| | | | | * file-exec.c (diskfs_S_file_exec): Give the new peropen for the exec server O_EXEC permission as well as O_READ.
* .Roland McGrath2000-01-251-0/+5
|
* 2000-01-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-01-251-2/+4
| | | | | * dir-lookup.c (diskfs_S_dir_lookup): Follow symlink despite flags if MUSTBEDIR is set (i.e. there was a trailing slash).
* .Roland McGrath2000-01-241-0/+5
|
* 2000-01-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-01-241-1/+5
| | | | | * rdwr-internal.c (_diskfs_rdwr_internal): Short-circuit return for zero-length transfer to avoid side effects, as POSIX requires.
* .Roland McGrath1999-12-141-0/+8
|
* 1999-12-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-12-143-31/+34
| | | | | | | | Rewrite of a fix provided by Bill White <bill.white@griggsinst.com>: * fhandle.h (union diskfs_fhandle): Replaces struct diskfs_fhandle. Use a union element of char[28] to ensure size requirement. * fsys-getfile.c (diskfs_S_fsys_getfile): Update uses for new type. * file-getfh.c (diskfs_S_file_getfh): Likewise.
* *** empty log message ***Mark Kettenis1999-12-021-0/+5
|
* 1999-12-02 Mark Kettenis <kettenis@gnu.org>Mark Kettenis1999-12-021-15/+17
| | | | | * io-read.c (diskfs_S_io_read): Add braces to silence gcc warning.
* .Roland McGrath1999-11-091-0/+5
|
* 1999-11-09 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-092-2/+2
| | | | | * priv.h (_diskfs_chroot_directory): Remove const from type. * init-startup.c (_diskfs_chroot_directory): Likewise.
* .Roland McGrath1999-11-081-0/+4
|
* 1999-11-08 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-11-081-3/+17
| | | | * disk-pager.c (fault_handler): Put more detail in assert failures.
* .Roland McGrath1999-10-281-0/+6
|
* 1999-10-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-281-1/+7
| | | | | | * node-nput.c (diskfs_nput): Call diskfs_set_node_times before diskfs_lost_hardrefs. This should address the late mtime update bug reported and investigated by Mark Kettenis.
* (diskfs_shutdown): comment typo fixRoland McGrath1999-10-231-5/+4
|
* .Roland McGrath1999-10-231-0/+5
|
* 1999-10-23 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-231-2/+8
| | | | | * sync-interval.c (periodic_sync): With diskfs_fsys_lock reader lock held, check _diskfs_diskdirty and don't sync if not dirty.
* .Roland McGrath1999-10-141-0/+5
|
* 1999-10-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-141-1/+1
| | | | | * opts-std-startup.c (TOGGLE): Fix `off' case. Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
* .Roland McGrath1999-10-141-0/+5
|
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-141-3/+9
| | | | | | | * io-pathconf.c (diskfs_S_io_pathconf): Cap diskfs_name_max to size representable in struct dirent.d_namlen. (diskfs_S_io_pathconf): Always return 1 for _PC_NO_TRUNC, since we always constrain diskfs_name_max.
* .Roland McGrath1999-10-141-0/+5
|
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-142-5/+11
| | | | | | | * lookup.c (diskfs_lookup): Enforce diskfs_name_max limit for CREATE and RENAME, returning ENAMETOOLONG for violations. * io-pathconf.c (diskfs_S_io_pathconf): _PC_NO_TRUNC controlled by diskfs_name_max setting.
* .Roland McGrath1999-10-131-0/+6
|
* 1999-10-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-132-5/+12
| | | | | | * diskfs.h (diskfs_name_max): Declare new variable. * io-pathconf.c (diskfs_S_io_pathconf): Use it for _PC_NAME_MAX, capping it to 1024.
* .Roland McGrath1999-10-121-0/+4
|
* 1999-10-12 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-121-1/+1
| | | | * opts-std-runtime.c (parse_opt: ARGP_KEY_INIT): Initialize H->noatime.
* .Roland McGrath1999-10-111-0/+4
|
* 1999-10-11 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-111-4/+4
| | | | * dir-readdir.c (diskfs_S_dir_readdir): Take new DATA_DEALLOC param.
* .Roland McGrath1999-10-091-2/+8
|
* 1999-10-07 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-10-091-11/+21
| | | | | | * lookup.c (diskfs_lookup): Rewrite code from last change, which had typos (and then I just decided to change the details of the string diddling).
* 1999-10-06 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-10-064-7/+42
| | | | | | | | | | | | | * lookup.c (diskfs_lookup): NAME is no longer const. Update documentation Strip leading and trailing slashes from NAME before using it. * diskfs.h (diskfs_lookup): NAME is no longer const. Update documentation. 1999-10-05 Thomas Bushnell, BSG <tb@mit.edu> * priv.h (CHANGE_NODE_FIELD): Use diskfs_check_readonly instead of directly reading diskfs_readonly.
* 1999-09-20 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-204-10/+13
| | | | | | | | * node-times.c (diskfs_set_node_times): Don't implement _diskfs_noatime here. * conch-fetch.c (iohelp_fetch_shared_data): Don't update dn_set_atime on affected node if _diskfs_noatime. * rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
* .Roland McGrath1999-09-191-0/+23
|
* 1999-09-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-09-197-32/+60
| | | | | | | | | | | | | | | | | | | | | | | * node-times.c (diskfs_set_node_times): If _diskfs_noatime is set and neither NP->dn_set_mtime nor NP->dn_set_ctime is set, clear NP->dn_set_atime. Short-circuit return if none of dn_set_?time set. * opts-common.c (diskfs_common_options): Include "priv.h". Add aliases --ro/--rw for -r/-w. Add alias --nosuid for --no-suid, --noexec for --no-exec. Move --suid-ok, --exec-ok here from ... * opts-std-runtime.c (std_runtime_options): ... here. (struct parse_hook): New member `noatime'. (set_opts): Use H->noatime to set _diskfs_noatime. (parse_opt): Grok -A and OPT_ATIME to set/clear H->noatime. (OPT_ATIME): New macro. (OPT_SUID_OK, OPT_EXEC_OK): Moved to ... * priv.h: ... here. (diskfs_common_options): Add const to decl. * opts-std-startup.c (parse_startup_opt): Grok OPT_SUID_OK, OPT_EXEC_OK, -A, and OPT_ATIME. * init-init.c (_diskfs_noatime): New variable. (_diskfs_nosuid, _diskfs_noexec): Use uninitialized defns. * opts-append-std.c (diskfs_append_std_options): Add --no-atime if _diskfs_noatime is set.
* Reverted changes related to io_map_segment.Roland McGrath1999-09-136-89/+54
|
* 1999-09-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-092-3/+47
| | | | | * io-pathconf.c: Include <unistd.h>. (diskfs_S_io_pathconf): Provide real definition.
* 1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-09-086-49/+98
| | | | | | | | | * io-map-segment.c: New file. Guts from io-map.c. * io-map.c (diskfs_S_io_map): Just call diskfs_S_io_map_segment. * diskfs.h (diskfs_get_filemap): New parameter `index'. * rdwr-internal.c (_diskfs_rdwr_internal): Pass additional parameter to diskfs_get_filemap. * Makefile (IOSRCS): Add io-map-segment.c.
* .Roland McGrath1999-07-241-0/+6
|
* 1999-07-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-241-29/+27
| | | | | | * dir-rmdir.c (diskfs_S_dir_rmdir): Fix bugs in last change. Replace label `out' with local inline function `done'. Don't try diskfs_nput (NP) when NP is null.
* .Roland McGrath1999-07-181-0/+6
|