Age | Commit message (Collapse) | Author |
|
|
|
* trans-callback.c (_diskfs_translator_callback1_fn): Add an assert
that netfs_get_translator not fail with EOPNOTSUPP.
|
|
* diskfs.h (diskfs_boot_filesystem): Documentation fix.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): int -> size_t
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* diskfs.h (diskfs_append_args): unsigned -> size_t in argument type.
(diskfs_append_std_options): Likewise.
(diskfs_get_directs): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* file-set-trans.c (diskfs_S_file_set_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-get.c (diskfs_append_args): Likewise.
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): int -> size_t
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
|
|
* io-map-cntl.c (diskfs_S_io_map_cntl): u_int -> vm_address_t
|
|
* sync-interval.c (diskfs_set_sync_interval): Cast int to intptr_t
before any_t.
|
|
* disk-pager.c (fault_handler): Use %z format for sc_pc.
|
|
* diskfs.h (diskfs_append_args): unsigned -> size_t in argument type.
(diskfs_append_std_options): Likewise.
(diskfs_get_directs): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* file-get-trans.c (diskfs_S_file_get_translator): Likewise.
* file-getfh.c (diskfs_S_file_getfh): Likewise.
* file-set-trans.c (diskfs_S_file_set_translator): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* opts-append-std.c (diskfs_append_std_options): Likewise.
* opts-get.c (diskfs_append_args): Likewise.
* dir-readdir.c (diskfs_S_dir_readdir): Likewise.
|
|
|
|
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Remove unused var.
|
|
|
|
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Use
iohelp_restrict_iouser.
|
|
* node-make.c (diskfs_make_node): Return early if malloc fails.
|
|
* priv.h: Add OPT_NO_INHERIT_DIR_GROUP and OPT_INHERIT_DIR_GROUP.
(_diskfs_no_inherit_dir_group): New declaration.
* node-create.c (_diskfs_no_inherit_dir_group): New variable.
(diskfs_create_node): Implement SysV group behaviour.
* opts-common.c (diskfs_common_options): Add
--no-inherit-dir-group (--nogrpdir, --sysvgroups) and
--inherit-dir-group (--grpdir, --bsdgroups).
* opts-append-std.c (diskfs_append_std_options): Add
--no-inherit-dir-group if set.
* opts-std-startup.c (parse_startup_opt): Add toggle for
_diskfs_no_inherit_dir_group.
* opts-std-runtime.c (struct parse_hook): Add noinheritdirgroup.
(set_opts): Handle H->noinheritdirgroup.
(parse_opt): Initialize H->noinheritdirgroup. Handle
OPT_NO_INHERIT_DIR_GROUP and OPT_INHERIT_DIR_GROUP.
|
|
|
|
* init-startup.c (_diskfs_init_completed): Use error, not
fprintf.
|
|
|
|
* peropen-make.c (diskfs_make_peropen): Instead of returning the
peropen, return as error_t and return the peropen in the new
parameter *PPO.
* diskfs.h (diskfs_make_peropen): Change declaration to reflect
new semantics.
* boot-start.c (diskfs_start_bootstrap): Check the return value of
diskfs_make_peropen using the new semantics.
(diskfs_S_exec_startup_get_info): Likewise.
(diskfs_execboot_fsys_startup): Likewise.
(diskfs_S_fsys_init): Likewise.
* dir-lookup.c (diskfs_S_dir_lookup): Likewise.
* dir-mkfile.c (diskfs_S_dir_mkfile): Likewise.
* file-exec.c (diskfs_S_file_exec): Likewise.
* file-reparent.c (diskfs_S_file_reparent): Likewise.
* fsys-getfile.c (diskfs_S_fsys_getfile): Likewise.
* fsys-getroot.c (diskfs_S_fsys_getroot): Likewise.
* trans-callback.c (_diskfs_translator_callback2_fn): Likewise.
* init-startup.c (diskfs_startup_diskfs): Likewise.
|
|
2002-03-12 Marcus Brinkmann <marcus@gnu.org>
* opts-append-std.c (diskfs_append_std_options): Only add --sync=N
or --no-sync option if it is not the default.
TODO/
* Remove the item related to the above change.
|
|
|
|
* dir-mkfile.c (diskfs_S_dir_mkfile): Clear OPENONLY_STATE_MODES bits
from FLAGS, not all bits outside O_RDWR|O_EXEC.
|
|
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>.
|
|
Reported by Alfred M. Szmidt <ams@kemisten.nu>.
|
|
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Clear S_ITRANS bits in MODE.
* dir-mkdir.c (diskfs_S_dir_mkdir): Likewise.
* dir-mkfile.c (diskfs_S_dir_mkfile): Likewise.
|
|
|
|
* file-chmod.c (diskfs_S_file_chmod): Preserve S_ITRANS bits in change.
|
|
|
|
* boot-start.c (diskfs_start_bootstrap) [KERN_INVALID_LEDGER]:
Pass extra arguments to task_create for OSF variant.
|
|
|
|
* disk-pager.c (fault_handler): Use sc_pc instead of sc_eip.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Append trailing / to RETRYNAME
returned for absolute symlink when MUSTBEDIR is set.
Reported by Moritz Schulte <moritz@duesseldorf.ccc.de>.
Also, bcopy -> memcpy; avoid strcat.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): When looking up the next
pathname component, remove assertion for DS and allocate DS if 0.
Allow creation of files through symlink with non-existant target.
From Roland McGrath <roland@frob.com>.
|
|
|
|
* dir-renamed.c (diskfs_rename_dir): Fix bogus assert.
From Moritz Schulte <moritz@chaosdorf.de>.
|
|
* file-getfh.c (diskfs_S_file_getfh): Fix tag of diskfs_fhandle.
Submitted by Maurizio Boriani <baux@debian.org>.
|
|
|
|
* opts-std-startup.c (startup_options): New compatibility
option: bootflags, a hidden alias to multiboot-command-line.
(parse_startup_opt): Bug fix.
|
|
|
|
* opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line.
(OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS.
(startup_options): --bootflags -> --multiboot-command-line
(parse_startup_opt): Parse it.
* diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line.
(diskfs_boot_filesystem): New macro.
* init-main.c (diskfs_init_main): Use it.
* init-init.c (diskfs_init_diskfs): Likewise.
* console.c (diskfs_console_stdio): Likewise.
* boot-start.c (_diskfs_boot_privports): Likewise.
(diskfs_start_bootstrap): Split boot_command_line into words and pass
those arguments to init instead of diskfs_bootflags.
|
|
* opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line.
(OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS.
(startup_options): --bootflags -> --multiboot-command-line
(parse_startup_opt): Parse it.
* diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line.
(diskfs_boot_filesystem): New macro.
* init-main.c (diskfs_init_main): Use it.
* init-init.c (diskfs_init_diskfs): Likewise.
* console.c (diskfs_console_stdio): Likewise.
* boot-start.c (_diskfs_boot_privports): Likewise.
(diskfs_start_bootstrap): Split boot_command_line into words and pass
those arguments to init instead of diskfs_bootflags.
* diskfs.h: Declare it.
* boot-start.c (diskfs_start_bootstrap, start_execserver): Use it.
* boot-start.c (diskfs_boot_init_program): New variable.
* diskfs.h: Declare it.
* boot-start.c (default_init): Variable removed.
(diskfs_start_bootstrap): Use diskfs_boot_init_program instead
of default_init or prompting under -i.
* opts-std-startup.c (OPT_BOOT_INIT_PROGRAM): New macro.
(startup_options): Add --boot-init-program.
(parse_startup_opt): Parse it.
|
|
* opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line.
(OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS.
(startup_options): --bootflags -> --multiboot-command-line
(parse_startup_opt): Parse it.
* diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line.
(diskfs_boot_filesystem): New macro.
* init-main.c (diskfs_init_main): Use it.
* init-init.c (diskfs_init_diskfs): Likewise.
* console.c (diskfs_console_stdio): Likewise.
* boot-start.c (_diskfs_boot_privports): Likewise.
(diskfs_start_bootstrap): Split boot_command_line into words and pass
those arguments to init instead of diskfs_bootflags.
* opts-std-startup.c (_diskfs_boot_pause): New variable.
(OPT_BOOT_PAUSE): New macro.
(startup_options): Add --boot-debug-pause.
(parse_startup_opt): Parse it.
* boot-start.c (diskfs_boot_init_program): New variable.
* diskfs.h: Declare it.
* boot-start.c (default_init): Variable removed.
(diskfs_start_bootstrap): Use diskfs_boot_init_program instead
of default_init or prompting under -i.
* opts-std-startup.c (OPT_BOOT_INIT_PROGRAM): New macro.
(startup_options): Add --boot-init-program.
(parse_startup_opt): Parse it.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Handle symlinks to "".
|
|
|
|
* file-getcontrol.c (diskfs_S_file_getcontrol): When checking
if we can give the control port out, use fshelp_iscontroller
rather than doing the check by hand.
|
|
|