summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
2001-08-202001-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-08-202001-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-08-202001-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2001-08-022001-06-19 Roland McGrath <roland@frob.com>Roland McGrath
* dir-lookup.c (diskfs_S_dir_lookup): Handle symlinks to "".
2001-07-03.Roland McGrath
2001-07-032001-06-21 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-06-16.Roland McGrath
2001-06-162001-06-16 Roland McGrath <roland@frob.com>Roland McGrath
* file-set-trans.c (diskfs_S_file_set_translator): Add some parens.
2001-06-16.Roland McGrath
2001-06-162001-04-01 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-06-16.Roland McGrath
2001-06-162001-06-15 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-06-16.Roland McGrath
2001-06-162001-06-15 Roland McGrath <roland@frob.com>Roland McGrath
* Makefile (FSSRCS): Last change got botched in merging.
2001-06-11obsolete files removedRoland McGrath
2001-06-11.Roland McGrath
2001-06-112001-06-10 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* file-inv-trans.c: Remove this file, function no longer exists. * Makefile (FSSRCS): Remove reference to file-inv-trans.c.
2001-05-132001-05-13 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* file-exec.c: Initialize GID with st_gid rather than st_uid.
2001-05-06.Roland McGrath
2001-05-062001-04-22 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-04-15.Roland McGrath
2001-04-152001-04-14 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* node-create.c (diskfs_create_node): If we fail, set *NEWNODE to NULL; at least diskfs_S_dir_lookup depends on this behavior.
2001-04-152001-04-14 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* init-startup.c (diskfs_startup_diskfs): Use ERR, not errno, so we can actually read this variable in a debugger.
2001-04-12.Roland McGrath
2001-04-122001-04-08 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-04-01.Roland McGrath
2001-04-012001-04-01 Roland McGrath <roland@frob.com>Roland McGrath
* io-interrupt.c: Obsolete file removed.
2001-04-012001-04-01 Roland McGrath <roland@frob.com>Roland McGrath
* io-interrupt.c: Obsolete file removed. * Makefile (IOSRCS): Remove it from the list. Reported by Neal H Walfield <neal@cs.uml.edu>.
2001-04-01.Roland McGrath
2001-04-012001-03-28 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* protid-rele.c: Doc typo fix.
2001-04-01.Roland McGrath
2001-04-012001-03-28 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* io-identity.c (diskfs_S_io_identity): Use INUM; that is what we bothered getting the lock for.
2001-04-012001-03-28 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* 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.
2001-04-012001-03-28 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* dir-chg.c (diskfs_S_dir_notice_changes): Check what malloc returns. * peropen-make.c (diskfs_make_peropen): Likewise.
2001-04-012001-03-28 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* protid-rele: Doc fix. * node-nput.c: Likewise. * io-prenotify.c: Likewise.
2001-04-012001-03-28 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* shutdown.c: Move initialization of diskfs_fsys_lock from here ... * init-init.c: ... to here with the rest of the initialization code.
2001-04-012001-03-28 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* ports-noports.c, ports-clean.c, ports-soft.c, ports-idle.c, ports-consts.c: Dead files finally removed from cvs.
2001-03-282001-03-28 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann
* 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.
2001-02-26.Roland McGrath
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* init-first.c: Include <stdlib.h> for exit decl.
2001-02-262001-02-25 Roland McGrath <roland@frob.com>Roland McGrath
* readonly-changed.c: New file. * Makefile (OTHERSRCS): Add it.
2001-01-302001-01-30 Neal H Walfield <neal@cs.uml.edu>Marcus Brinkmann
* diskfs.h: Fix comment (fsys_shutdown -> fsys_goaway).
2001-01-07doc/Marcus Brinkmann
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.
2000-12-27.Roland McGrath
2000-12-272000-12-26 Roland McGrath <roland@frob.com>Roland McGrath
* 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.
2000-12-03.Roland McGrath
2000-12-032000-12-02 Roland McGrath <roland@frob.com>Roland McGrath
* node-times.c (diskfs_set_node_times): Make individual flag checks race-proof so we don't lose any flag settings.
2000-07-26* Makefile (HURDLIBS): Reorder libs such that the threads libMark Kettenis
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.
2000-07-182000-07-18 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-seek.c (diskfs_S_io_seek): Don't use CHANGE_NODE_FIELD anymore; it was causing problems and was a gross hack anyway.
2000-05-142000-05-14 Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>Marcus Brinkmann
* 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.