Age | Commit message (Collapse) | Author |
|
* 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.
|
|
|
|
* file-set-trans.c (diskfs_S_file_set_translator): Add some parens.
|
|
|
|
* dir-lookup.c (diskfs_S_dir_lookup): Use
iohelp_create_empty_iouser.
* fsys-getfile.c (diskfs_S_fsys_getfile): Use
iohelp_create_complex_iouser.
* io-reauthenticate.c (diskfs_S_io_reauthenticate): Use
new iohelp_reauth semantics.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Use
new iohelp_create_iouser semantics.
* protid-make.c (diskfs_finish_protid): Use
iohelp_create_simple_iouser and new iohelp_dup_iouse
semantics.
* trans-callback.c (_diskfs_translator_callback2_fn):
Use iohelp_create_simple_iouser.
|
|
|
|
* file-set-trans.c (diskfs_S_file_set_translator): If
FS_TRANS_ORPHAN is set, do not ask the active translator to go
away, just disconnect it.
|
|
|
|
* Makefile (FSSRCS): Last change got botched in merging.
|
|
|
|
|
|
* file-inv-trans.c: Remove this file, function no longer exists.
* Makefile (FSSRCS): Remove reference to file-inv-trans.c.
|
|
* file-exec.c: Initialize GID with st_gid rather than st_uid.
|
|
|
|
* Makefile (OTHERSRCS): Add extern-inline.c.
* diskfs.h (DISKFS_EXTERN_INLINE): New macro.
(diskfs_spawn_first_thread): Update prototype to include the
additional parameter, a demuxer.
(diskfs_begin_using_protid_port): Moved and renamed function
begin_using_protid_port from priv.h.
(diskfs_end_using_protid_port): Moved and renamed function
end_using_protid_port from priv.h.
* extern-inline.c: New file.
* fsmutations.h (FILE_INTRAN): Use new function name.
(FILE_DESTRUCTOR): Likewise.
(IO_INTRAN): Likewise.
(IO_DESTRUCTOR): Likewise.
* init-first.c: Include <hurd/ports.h>.
(master_thread_function): Unnamed parameter is now the demuxer.
Use that rather than diskfs_demuxer directly.
(diskfs_spawn_first_thread): New parameter DEMUXER.
* init-main.c (diskfs_init_main): Pass diskfs_demuxer to
diskfs_spawn_first_thread to conform to new semantics.
* priv.h (begin_using_protid_port): Moved to diskfs.h.
(end_using_protid_port): Likewise.
|
|
|
|
* node-create.c (diskfs_create_node): If we fail, set *NEWNODE
to NULL; at least diskfs_S_dir_lookup depends on this behavior.
|