summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
1999-05-19.Roland McGrath
1999-05-191999-05-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* console.c (diskfs_console_stdio): If there is an fd 2 that appears to work, just leave it as is and dup2 it to fd 1 as well.
1999-05-16.Roland McGrath
1999-05-161999-05-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-chown.c (diskfs_S_file_chown): Fix last change: not just permission check, actually don't make the change if value is -1.
1999-05-15.Roland McGrath
1999-05-151999-05-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-chown.c (diskfs_S_file_chown): Either arg being -1 means don't change that id.
1999-04-06Tue Apr 6 10:05:49 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* dir-renamed.c (diskfs_rename_dir): Stage 1, if TNP == FNP, we have to unlock TNP with diskfs_nput and not just diskfs_nrele it.
1999-03-17Tue Mar 16 17:20:06 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* lookup.c (diskfs_lookup): Reformat for prettiness.
1999-02-28.Roland McGrath
1999-02-281999-02-28 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-revoke.c (diskfs_S_io_revoke): Use ports_class_iterate. * readonly.c (diskfs_set_readonly): Likewise.
1999-02-22Mon Feb 22 04:28:56 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-revoke.c (diskfs_S_io_revoke): Protect the actual revocation by blocking all other rpcs.
1999-02-21Sat Feb 20 20:46:21 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-revoke.c (diskfs_S_io_revoke): Release NP->lock before beginning iteration.
1999-02-17.Roland McGrath
1999-02-171999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init-startup.c (diskfs_startup_diskfs): Fix typo 1999-02-12 change.
1999-02-171999-02-16 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* io-revoke.c (diskfs_S_io_revoke): Fix typo in 1999-02-16 change.
1999-02-16minor repairsThomas Bushnell
1999-02-16Tue Feb 16 05:31:23 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* io-revoke.c: New file. * Makefile (IOSRCS): Add io-revoke.c.
1999-02-13Sat Feb 13 04:29:29 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* peropen-make.c (diskfs_make_peropen): If there is no existing context, then set the shadow_root iff we are a chrooted virtual root filesystem.
1999-02-131999-02-12 Gordon Matzigkeit <gord@trick.fig.org>Thomas Bushnell
* init-startup.c (diskfs_startup_diskfs): Release the virtual root's lock as soon as we've checked that it's a valid directory. Ignore leading slashes in _diskfs_chroot_directory.
1999-01-31Sun Jan 31 18:24:33 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* file-utimes.c (diskfs_S_file_utimes): Implement new semantics for setting to exactly present time.
1999-01-27.Roland McGrath
1999-01-271999-01-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* Makefile (OTHERSRCS): Add init-main.c.
1999-01-24.Roland McGrath
1999-01-241999-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-set-trans.c: Remove makedev, major, minor macro definitions. * dir-lookup.c: Likewise.
1999-01-241999-01-22 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* init-main.c: New file, defining new function diskfs_init_main. * diskfs.h: Declare diskfs_init_main.
1999-01-01.Roland McGrath
1999-01-011999-01-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* sync-interval.c (diskfs_set_sync_interval): Use ENOMEM, not EIEIO.
1998-12-30.Roland McGrath
1998-12-30File removed (obsolete since 1996).Roland McGrath
1998-12-301998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
Use a struct hurd_port for the cached exec server port, so it is properly reference-counted and locked. * boot-start.c (diskfs_exec): Variable removed. (diskfs_start_bootstrap): Make it a local here. Install that port in _diskfs_exec_portcell. (diskfs_S_fsys_init): Use _diskfs_exec_portcell instead of diskfs_exec. * init-init.c (_diskfs_exec_portcell): New variable. (diskfs_init_diskfs): Initialize it. * priv.h: Declare it. * diskfs.h (diskfs_exec, diskfs_exec_ctl): Remove decls. * file-exec.c (diskfs_S_file_exec): Use _diskfs_exec_portcell instead of diskfs_exec.
1998-12-27.Roland McGrath
1998-12-271998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* boot-start.c (diskfs_start_bootstrap): Twiddle boot-time messages.
1998-12-27.Roland McGrath
1998-12-271998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* boot-start.c (_diskfs_boot_privports): Renamed from diskfs_*. * priv.h: Declare it. * console.c (diskfs_console_stdio): Change caller.
1998-12-271998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-statfs.c (diskfs_S_file_statfs): Remove __ from struct members. 1998-12-21 Mark Kettenis <kettenis@phys.uva.nl> * file-statfs.c (diskfs_S_file_statfs): Initialize mount options in statbuf.
1998-12-27.Roland McGrath
1998-12-271998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* opts-std-startup.c (startup_options): Move -C above "Boot options:", give it a docstring. Docstrings for --bootflags, --boot-command. (_diskfs_boot_command): New variable. (startup_options, parse_startup_opt): New option --boot-command, consumes remaining args to set _diskfs_boot_command. * priv.h: Declare _diskfs_boot_command. * boot-start.c (diskfs_start_bootstrap): If diskfs_exec_server_task is null, assume we are running as the boot command and have a root with /servers/exec. If _diskfs_boot_command is set, start that command in place of init. If can't lookup initname, print error msg and loop to prompt. Put a newline before "Init name" prompt. After starting exec server, try to set active trans on /servers/exec. (diskfs_boot_getpriv): New function: if _hurd_host_priv is null, use fsys_getpriv on our bootstrap port. (parent_task): New static variable, set there with fsys_getpriv call. (diskfs_S_fsys_init): If diskfs_exec_server_task is null, don't do anything with it; instead register parent_task as our child and send an fsys_init to our parent on our bootstrap port. * console.c (diskfs_console_stdio): Call diskfs_boot_privports before get_privileged_ports if diskfs_boot_flags is set.
1998-12-271998-12-21 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* file-exec.c (diskfs_S_file_exec): If exec server port is stale, try once to look up a new one.
1998-12-06.Roland McGrath
1998-12-061998-12-06 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* boot-parse.c: File removed (it has been obsolete since 1995).
1998-11-29.Roland McGrath
1998-11-291998-11-25 Mark Kettenis <kettenis@phys.uva.nl>Roland McGrath
* boot-start.c (diskfs_S_fsys_init): Call _hurd_proc_init with new args set to zero.
1998-11-291998-11-29 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* trans-callback.c (_diskfs_translator_callback1_fn): Use size_t* instead of int* for ARGZ_LEN arg.
1998-11-16Wed Aug 12 23:35:59 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell
* file-chflags.c (diskfs_S_file_chflags): Only set NP->dn_set_ctime if we actually set the flags.
1998-11-07.Roland McGrath
1998-11-071998-10-26 Gordon Matzigkeit <gord@trick.fig.org>Roland McGrath
* init-startup.c (diskfs_startup_diskfs): Use diskfs_nput to free the old diskfs_root_node when switching to a virtual root.
1998-10-24.Roland McGrath
1998-10-241998-10-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-lookup.c (diskfs_S_dir_lookup): Add braces to silence gcc warning. * io-identity.c (diskfs_S_io_identity): Likewise. * opts-append-std.c (diskfs_append_std_options): Likewise. * opts-std-runtime.c (set_opts): Likewise.
1998-10-241998-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* diskfs.h (diskfs_lookup_hard, diskfs_lookup, diskfs_set_translator, diskfs_create_symlink_hook, diskfs_notice_dirchange, diskfs_direnter, diskfs_direnter_hard, diskfs_dirrewrite, diskfs_dirremove, diskfs_create_node, diskfs_enter_lookup_cache, diskfs_check_lookup_cache, dir_rename_dir, diskfs_set_options): Add `const' qualifier to `char *' parameters where appropriate. * opts-set.c (diskfs_set_options): Fix defn with `const'. * node-create.c (diskfs_create_node): Likewise. * name-cache.c (diskfs_enter_lookup_cache): Likewise. (diskfs_check_lookup_cache): Likewise. * dirremove.c (diskfs_dirremove): Likewise. * dirrewrite.c (diskfs_dirrewrite): Likewise. * lookup.c (diskfs_lookup): Likewise. * direnter.c (diskfs_direnter): Likewise. * dir-renamed.c (diskfs_rename_dir): Likewise. * dir-chg.c (diskfs_notice_dirchange): Likewise.
1998-10-241998-04-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-lookup.c (diskfs_S_dir_lookup): Treat a shadow_root with null shadow_root_parent as a "virtual root".