summaryrefslogtreecommitdiff
path: root/libdiskfs
AgeCommit message (Collapse)Author
1998-07-25.Roland McGrath
1998-07-251998-07-25 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* 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.
1998-07-20.Roland McGrath
1998-07-201998-07-20 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* dir-lookup.c (diskfs_S_dir_lookup: short_circuited_callback1): Fix type of arg `argz_len' to use size_t *.
1998-07-14Tue Jul 14 16:27:00 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* 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.)
1998-06-29typoThomas Bushnell
1998-06-29Mon Jun 29 18:54:23 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* lookup.c (diskfs_lookup): If NAME is empty, return an error.
1998-05-12Tue May 12 12:08:35 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell
* 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).
1998-04-13Tue Sep 23 15:28:57 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* file-reparent.c (diskfs_S_file_reparent): Use diskfs_nrele instead of protocol-violating up-tree lock. * peropen-rele.c (diskfs_release_peropen): Likewise.
1997-09-19.Miles Bader
1997-09-19(parse_startup_opt):Miles Bader
Prepend "_diskfs" to uses of NOSUID & NOEXEC.
1997-09-19Prepend "_diskfs" to uses of NOSUID & NOEXEC.Miles Bader
1997-09-19(diskfs_S_file_exec):Miles Bader
Prepend "_diskfs" to uses of NOSUID & NOEXEC.
1997-09-19(OPT_EXEC_OK, OPT_SUID_OK):Miles Bader
Rename definitions from ..._OPT. (set_opts): Prepend "_diskfs" to uses of NOSUID & NOEXEC.
1997-09-19.Miles Bader
1997-09-19(fs_control_port):Miles Bader
Declaration removed. (_diskfs_nosuid, _diskfs_noexec): Renamed from nosuid & noexec.
1997-09-16.Miles Bader
1997-09-16(diskfs_append_std_options):Miles Bader
Add --no-suid and --no-exec options. Don't deallocate ARGZ when we get an error.
1997-09-16Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* opts-append-std.c (diskfs_append_std_options): Add --no-suid and --no-exec when appropriate.
1997-09-16Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1997-08-20Wed Aug 20 14:03:41 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1997-08-20Wed Aug 20 14:03:41 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* disk-pager.c (service_paging_requests): New args for ports_manage_port_operations_multithread. * init-first.c (master_thread_function): Likewise.
1997-08-19.Miles Bader
1997-08-11No long usedMiles Bader
1997-07-29Thu Jul 24 12:57:26 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* name-cache.c (find_cache): Grammar doc fix.
1997-07-14.Miles Bader
1997-07-14(parse_opt):Miles Bader
Turn off synchronous mode when setting a sync interval.
1997-07-09Mon Jul 7 16:25:49 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1997-06-30Mon Jun 30 17:26:38 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* 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.
1997-06-25.Miles Bader
1997-06-25(diskfs_make_peropen):Miles Bader
Initialize the ROOT_PARENT, SHADOW_ROOT, and SHADOW_ROOT_PARENT fields.
1997-06-20.Miles Bader
1997-06-20(diskfs_S_io_stat):Miles Bader
Use fshelp_translated rather than fshelp_fetch_control.
1997-06-10Fri Jun 6 11:42:14 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* Makefile (LCLHDRS): Add fhandle.h.
1997-06-05Tue May 27 11:55:56 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too.
1997-04-16Mon Feb 24 14:40:02 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu>Thomas Bushnell
* dir-rmdir.c (diskfs_S_dir_rmdir): Check EBUSY-when-translated error before ENOTDIR-when-not-dir.
1997-03-02.Miles Bader
1997-03-02(diskfs_S_io_identity):Miles Bader
Pass CRED's shadow root inode number to fshelp_get_identity when creating a shadow root fsid, not INUM.
1997-03-01.Miles Bader
1997-02-24.Miles Bader
1997-02-24(diskfs_S_io_stat):Miles Bader
Mark shadow roots with S_IROOT.
1997-02-24(diskfs_S_io_identity):Miles Bader
Return different fsys ids for different shadow roots.
1997-02-22.Miles Bader
1997-02-22(diskfs_init_dir):Miles Bader
Use CRED->po as LOOKUPCRED's po, so that root detection works (and doesn't crash).
1997-02-22(diskfs_release_peropen):Miles Bader
Don't deadlock if PO's shadow_root is also it's node.
1997-02-22(diskfs_S_file_reparent):Miles Bader
Don't release a reference to any old shadow_root if it was == NODE. Don't aquire a new reference for NODE.
1997-02-21(diskfs_S_io_read):Miles Bader
Support reading from sylinks.
1997-02-21(diskfs_S_dir_lookup):Miles Bader
Allow symlinks to be opened for O_READ.
1997-02-21.Miles Bader
1997-02-14.Miles Bader