Age | Commit message (Collapse) | Author |
|
|
|
* 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.
|
|
* init-startup.c (diskfs_startup_diskfs): Use ERR, not errno, so
we can actually read this variable in a debugger.
|
|
|
|
* io-write.c (diskfs_S_io_write): Make local variable OFF an
off_t and not an int.
* io-read.c (diskfs_S_io_read): Likewise.
* io-stat.c (diskfs_S_io_stat): Use memcpy, not bcopy.
|
|
|
|
* io-interrupt.c: Obsolete file removed.
|
|
* io-interrupt.c: Obsolete file removed.
* Makefile (IOSRCS): Remove it from the list.
Reported by Neal H Walfield <neal@cs.uml.edu>.
|
|
|
|
* protid-rele.c: Doc typo fix.
|
|
|
|
* io-identity.c (diskfs_S_io_identity): Use INUM; that is what
we bothered getting the lock for.
|
|
* shutdown.c: Move initialization of diskfs_fsys_lock from here ...
* init-init.c: ... to here with the rest of the initialization
code.
* init-init.c: Do not initialize global variables to zero.
|
|
* dir-chg.c (diskfs_S_dir_notice_changes): Check what malloc
returns.
* peropen-make.c (diskfs_make_peropen): Likewise.
|
|
* protid-rele: Doc fix.
* node-nput.c: Likewise.
* io-prenotify.c: Likewise.
|
|
* shutdown.c: Move initialization of diskfs_fsys_lock from here ...
* init-init.c: ... to here with the rest of the initialization
code.
|
|
* ports-noports.c, ports-clean.c, ports-soft.c, ports-idle.c,
ports-consts.c: Dead files finally removed from cvs.
|
|
* dir-lookup.c (diskfs_S_dir_lookup): New variable USER. Store new
iouser in that variable and free it after creating the protid for
DIRPORT.
* trans-callback.c (_diskfs_translator_callback2_fn): Likewise.
* io-restrict-auth.c (diskfs_S_io_restrict_auth): Likewise.
* io-reauthenticate.c (diskfs_S_io_reauthenticate): Likewise.
|
|
|
|
* init-first.c: Include <stdlib.h> for exit decl.
|
|
* readonly-changed.c: New file.
* Makefile (OTHERSRCS): Add it.
|