Age | Commit message (Collapse) | Author |
|
* diskfs.h: Fix comment (fsys_shutdown -> fsys_goaway).
|
|
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* hurd.texi (Diskfs Callbacks): Make diskfs_dirstat_size const.
ext2fs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c: Make diskfs_dirstat_size const.
isofs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* lookup.c: Make diskfs_dirstat_size const.
ufs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c: Make diskfs_dirstat_size const.
libdiskfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* diskfs.h: Make diskfs_dirstat_size const.
libdiskfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* file-statfs.c: Include <string.h>.
ftpfs/
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* dir.c (ftpfs_dir_create): Fix last change (calloc invocation).
2001-01-07 Marcus Brinkmann <marcus@gnu.org>
* copy.c: Include <mach.h>. New macro page_aligned.
(copy_write): Cast buf to vm_address_t in call to vm_write.
Dereference amount for memcpy.
(copy_read): Add len parameter to vm_read, remove redundant following
len assignment.
|
|
|
|
* file-statfs.c (diskfs_S_file_statfs): Zero out the struct statfs
before calling diskfs_set_statfs. Set f_namelen to diskfs_name_max
after the call.
* diskfs.h: Update comment.
|
|
|
|
* node-times.c (diskfs_set_node_times): Make individual flag checks
race-proof so we don't lose any flag settings.
|
|
comes before the ports lib. This makes sure the functions in
libthreads properly override the stubs in libports with the new
dynamic linker semantics in glibc 2.2.
|
|
* io-seek.c (diskfs_S_io_seek): Don't use CHANGE_NODE_FIELD
anymore; it was causing problems and was a gross hack anyway.
|
|
* priv.h (DEFAULT_SYNC_INTERVAL): New macro.
(DEFAULT_SYNC_INTERVAL_STRING): Likewise.
(STRINGIFY): Likewise.
(STRINGIFY_1): Likewise.
* opts-common.h (diskfs_common_options): Use
DEFAULT_SYNC_INTERVAL_STRING instead hardcoded value.
* sync-default.h: Include "priv.h". Use DEFAULT_SYNC_INTERVAL
instead hardcoded value.
|
|
* init-main.c (diskfs_init_main): Dereference BOOTSTRAP before
checking for MACH_PORT_NULL.
|
|
|
|
* 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.
|
|
* 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.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Use ports_get_send_right.
|
|
* io-reauthenticate.c (diskfs_S_io_reauthenticate): Use
ports_get_send_right.
|
|
* 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.
|
|
|
|
* file-exec.c (diskfs_S_file_exec): Give the new peropen for the exec
server O_EXEC permission as well as O_READ.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Follow symlink despite flags if
MUSTBEDIR is set (i.e. there was a trailing slash).
|
|
|
|
* rdwr-internal.c (_diskfs_rdwr_internal): Short-circuit return for
zero-length transfer to avoid side effects, as POSIX requires.
|
|
|
|
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.
|
|
|
|
* io-read.c (diskfs_S_io_read): Add braces to silence gcc
warning.
|
|
|
|
* priv.h (_diskfs_chroot_directory): Remove const from type.
* init-startup.c (_diskfs_chroot_directory): Likewise.
|
|
|
|
* disk-pager.c (fault_handler): Put more detail in assert failures.
|
|
|
|
* 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.
|
|
|
|
|
|
* sync-interval.c (periodic_sync): With diskfs_fsys_lock reader lock
held, check _diskfs_diskdirty and don't sync if not dirty.
|
|
|
|
* opts-std-startup.c (TOGGLE): Fix `off' case.
Reported by Kalle Olavi Niemitalo <tosi@ees2.oulu.fi>.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* 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.
|
|
|
|
* opts-std-runtime.c (parse_opt: ARGP_KEY_INIT): Initialize H->noatime.
|
|
|
|
* dir-readdir.c (diskfs_S_dir_readdir): Take new DATA_DEALLOC param.
|
|
|
|
* 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).
|