aboutsummaryrefslogtreecommitdiff
path: root/libdiskfs
Commit message (Collapse)AuthorAgeFilesLines
* Wed Aug 12 23:35:59 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-11-162-2/+9
| | | | | * file-chflags.c (diskfs_S_file_chflags): Only set NP->dn_set_ctime if we actually set the flags.
* .Roland McGrath1998-11-071-0/+5
|
* 1998-10-26 Gordon Matzigkeit <gord@trick.fig.org>Roland McGrath1998-11-071-1/+1
| | | | | * init-startup.c (diskfs_startup_diskfs): Use diskfs_nput to free the old diskfs_root_node when switching to a virtual root.
* .Roland McGrath1998-10-241-0/+45
|
* 1998-10-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-243-29/+35
| | | | | | | | * 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-09-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-2410-96/+97
| | | | | | | | | | | | | | | | | | | | * 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-04-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-241-36/+53
| | | | | * dir-lookup.c (diskfs_S_dir_lookup): Treat a shadow_root with null shadow_root_parent as a "virtual root".
* 1998-04-04 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-244-34/+92
| | | | | | | | | | | | | | Add support for a "virtual root directory" specified at startup. * priv.h (_diskfs_chroot_directory): Declare new variable. * opts-std-startup.c (startup_options, parse_startup_opt): New string-valued option -C/--directory/--virtual-root/--chroot sets _diskfs_chroot_directory. * init-startup.c (_diskfs_chroot_directory): New variable. (diskfs_startup_diskfs): If that's set, look up the name and warp us to that as a virtual root directory. * fsys-getroot.c (diskfs_S_fsys_getroot): Initialize new peropen's shadow_root_parent to null, and shadow_root to either null or, if _diskfs_chroot_directory is set, to diskfs_root_node.
* .Roland McGrath1998-08-201-3/+9
|
* 1998-08-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-08-202-4/+4
| | | | | | * fsys-options.c (diskfs_S_fsys_get_options): fshelp_return_malloced_buffer renamed to iohelp_*. * file-get-fs-opts.c (diskfs_S_file_get_fs_options): Likewise.
* Tue Aug 11 16:17:49 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-08-122-1/+4
| | | | * file-chflags.c (diskfs_S_file_chflags): Set NP->dn_set_ctime.
* Tue Aug 11 16:17:49 1998 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1998-08-112-1/+9
| | | | * file-utimes.c (diskfs_S_file_utimes): Add file notifications.
* Sun Aug 9 21:09:24 1998 Jose M. Moya <josem@gnu.org>Thomas Bushnell1998-08-1015-25/+168
| | | | | | | | | | | | | | | | | | | | | | | | | * diskfs.h (struct node): Add filemod_reqs member. (struct modreq): Rename struct dirmod to reqmod as it is used for directory and file notifications. (diskfs_notice_filechange): Add prototype. * dir-chg.c (diskfs_S_dir_notice_changes): Check nowait_dir_changed return value for errors. (diskfs_notice_dirchange): Remove requests when the notification fails. * file-chg.c (diskfs_S_file_notice_changes): Implement. (diskfs_notice_filechange): New function. * node-make.c (diskfs_make_node): Initialize filemod_reqs. * node-drop.c (free_modreqs): New function. (diskfs_drop_node): Free filemod_reqs. * file-chauthor.c (dithkfth_TH_file_chauthor): Add file notifications. * file-chflags.c (diskfs_S_file_chflags): Likewise. * file-chmod.c (diskfs_S_file_chmod): Likewise. * file-chown.c (diskfs_S_file_chown): Likewise. * file-set-size.c (diskfs_S_file_set_size): Likewise. * io-prenotify.c (diskfs_S_io_prenotify): Likewise. * io-write.c (diskfs_S_io_write): Likewise. * node-rdwr.c (diskfs_node_rdwr): Likewise.
* .Roland McGrath1998-07-251-0/+6
|
* 1998-07-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-251-8/+16
| | | | | | * shutdown.c (diskfs_shutdown): Sync and set the clean flag even if we don't shut down. Thus a disk that was in use but hadn't been touched recently needn't necessarily be checked after a system crash.
* .Roland McGrath1998-07-201-23/+28
|
* 1998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-07-201-24/+24
| | | | | * dir-lookup.c (diskfs_S_dir_lookup: short_circuited_callback1): Fix type of arg `argz_len' to use size_t *.
* Tue Jul 14 16:27:00 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-07-142-3/+7
| | | | | | * dir-lookup.c (diskfs_S_dir_lookup): Don't require the node to be a directory in the null pathname case. (Thus reverting one of the changes of June 15, 1994.)
* typoThomas Bushnell1998-06-291-1/+2
|
* Mon Jun 29 18:54:23 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-06-292-1/+11
| | | | * lookup.c (diskfs_lookup): If NAME is empty, return an error.
* Tue May 12 12:08:35 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-05-122-1/+8
| | | | | | * file-get-trans.c (diskfs_S_file_get_translator) [S_ISCHR || S_ISBLK]: Free BUF after using it. Reported by Katusya Tanaka (wyvern@pb3.so-net.ne.jp).
* Tue Sep 23 15:28:57 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1998-04-133-9/+11
| | | | | | * file-reparent.c (diskfs_S_file_reparent): Use diskfs_nrele instead of protocol-violating up-tree lock. * peropen-rele.c (diskfs_release_peropen): Likewise.
* .Miles Bader1997-09-191-3/+2
|
* (parse_startup_opt):Miles Bader1997-09-191-2/+2
| | | | Prepend "_diskfs" to uses of NOSUID & NOEXEC.
* Prepend "_diskfs" to uses of NOSUID & NOEXEC.Miles Bader1997-09-191-1/+1
|
* (diskfs_S_file_exec):Miles Bader1997-09-191-2/+2
| | | | Prepend "_diskfs" to uses of NOSUID & NOEXEC.
* (OPT_EXEC_OK, OPT_SUID_OK):Miles Bader1997-09-191-4/+4
| | | | | | Rename definitions from ..._OPT. (set_opts): Prepend "_diskfs" to uses of NOSUID & NOEXEC.
* .Miles Bader1997-09-191-0/+11
|
* (fs_control_port):Miles Bader1997-09-191-3/+1
| | | | | | Declaration removed. (_diskfs_nosuid, _diskfs_noexec): Renamed from nosuid & noexec.
* .Miles Bader1997-09-161-0/+5
|
* (diskfs_append_std_options):Miles Bader1997-09-161-24/+16
| | | | | Add --no-suid and --no-exec options. Don't deallocate ARGZ when we get an error.
* Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-09-162-1/+13
| | | | | * opts-append-std.c (diskfs_append_std_options): Add --no-suid and --no-exec when appropriate.
* Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-09-167-6/+61
| | | | | | | | | | | | | | | | | | | | | | | * priv.h (nosuid, noexec): New variables. * init-init.c (nosuid, noexec): New variables, initialized to zero. * file-exec.c (diskfs_S_file_exec): If noexec is on, then prohibit all execution with EACCES. If nosuid is on, then prohibit setuid or setgid execution by silently omitting the uid substitution. * opts-std-startup.c (parse_startup_opt): Implement --no-suid and --no-exec. * opts-common.c (diskfs_common_options): Add --no-suid and --no-exec. * opts-std-runtime.c (struct parse_hook): Add nosuid and noexec. (parse_opt) [cases 'S', 'E', OPT_SUID_OK, OPT_EXEC_OK] Understand --no-suid, --no-exec, --suid-ok, and --exec-ok. (parse_opt) [case ARGP_KEY_INIT]: Initialize H->nosuid and H->noexec. (OPT_SUID_OK, OPT_EXEC_OK): New macros. (std_runtime_options): Add --suid-ok and --exec-ok. (set_opts): Set nosuid and noexec from H->nosuid and H->noexec. * opts-common.c (diskfs_common_options): Rename --nosync to --no-sync; leave --nosync as an alias.
* Wed Aug 20 14:03:41 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-204-3/+23
| | | | | | | | * diskfs.h: Doc fix. * io-map.c (diskfs_S_io_map): Cope with error return from diskfs_get_filemap. * rdwr-internal.c (_diskfs_rdwr_internal): Likewise.
* Wed Aug 20 14:03:41 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-08-204-32/+10
| | | | | | * disk-pager.c (service_paging_requests): New args for ports_manage_port_operations_multithread. * init-first.c (master_thread_function): Likewise.
* .Miles Bader1997-08-191-0/+4
|
* No long usedMiles Bader1997-08-112-227/+0
|
* Thu Jul 24 12:57:26 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-07-292-2/+6
| | | | * name-cache.c (find_cache): Grammar doc fix.
* .Miles Bader1997-07-141-0/+5
|
* (parse_opt):Miles Bader1997-07-141-2/+5
| | | | Turn off synchronous mode when setting a sync interval.
* Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-07-093-2/+7
| | | | | | | | | | | | | | | * file-exec.c: Include <fcntl.h> instead of <fcntlbits.h>. Suggested by Marcus G. Daniels (marcus@cathcart.sysc.pdx.edu). Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * diskfs.h (diskfs_hard_readonly): New variable. (diskfs_readonly): Doc change. * readonly.c (diskfs_readonly): Provide initialized declaration. (diskfs_check_readonly): If we cannot write the media and so we switch to readonly, set diskfs_hard_readonly too. (diskfs_set_readonly): If diskfs_hard_readonly is set, then inhibit any attempt to clear readonly status.
* Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-303-5/+23
| | | | | | | | | | * diskfs.h (diskfs_hard_readonly): New variable. (diskfs_readonly): Doc change. * readonly.c (diskfs_readonly): Provide initialized declaration. (diskfs_check_readonly): If we cannot write the media and so we switch to readonly, set diskfs_hard_readonly too. (diskfs_set_readonly): If diskfs_hard_readonly is set, then inhibit any attempt to clear readonly status.
* .Miles Bader1997-06-251-0/+5
|
* (diskfs_make_peropen):Miles Bader1997-06-251-0/+6
| | | | Initialize the ROOT_PARENT, SHADOW_ROOT, and SHADOW_ROOT_PARENT fields.
* .Miles Bader1997-06-201-0/+5
|
* (diskfs_S_io_stat):Miles Bader1997-06-201-7/+2
| | | | Use fshelp_translated rather than fshelp_fetch_control.
* Fri Jun 6 11:42:14 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-102-1/+5
| | | | * Makefile (LCLHDRS): Add fhandle.h.
* Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-06-052-2/+6
| | | | * file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too.
* Mon Feb 24 14:40:02 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell1997-04-162-12/+20
| | | | | * dir-rmdir.c (diskfs_S_dir_rmdir): Check EBUSY-when-translated error before ENOTDIR-when-not-dir.
* .Miles Bader1997-03-021-0/+6
|