Age | Commit message (Collapse) | Author |
|
|
|
* io-revoke.c (diskfs_S_io_revoke): Protect the actual revocation
by blocking all other rpcs.
|
|
* io-revoke.c (diskfs_S_io_revoke): Release NP->lock before
beginning iteration.
|
|
|
|
* io-revoke.c: New file.
* Makefile (IOSRCS): Add io-revoke.c.
|
|
* 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.
|
|
* 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.
|
|
* file-utimes.c (diskfs_S_file_utimes): Implement new semantics
for setting to exactly present time.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* file-chflags.c (diskfs_S_file_chflags): Only set
NP->dn_set_ctime if we actually set the flags.
|
|
|
|
|
|
|
|
* file-chflags.c (diskfs_S_file_chflags): Set NP->dn_set_ctime.
|
|
* file-utimes.c (diskfs_S_file_utimes): Add file notifications.
|
|
* 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.
|
|
|
|
|
|
* 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.)
|
|
* lookup.c (diskfs_lookup): If NAME is empty, return an error.
|
|
* 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).
|
|
* file-reparent.c (diskfs_S_file_reparent): Use diskfs_nrele
instead of protocol-violating up-tree lock.
* peropen-rele.c (diskfs_release_peropen): Likewise.
|
|
|
|
|
|
|
|
* opts-append-std.c (diskfs_append_std_options): Add --no-suid and
--no-exec when appropriate.
|
|
* 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.
|
|
* 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.
|
|
* disk-pager.c (service_paging_requests): New args for
ports_manage_port_operations_multithread.
* init-first.c (master_thread_function): Likewise.
|
|
|
|
* name-cache.c (find_cache): Grammar doc fix.
|
|
|
|
* 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.
|
|
* 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.
|
|
|
|
|
|
* Makefile (LCLHDRS): Add fhandle.h.
|
|
* file-chmod.c (diskfs_S_file_chmod): Turn off S_ITRANS bits too.
|
|
* dir-rmdir.c (diskfs_S_dir_rmdir): Check EBUSY-when-translated
error before ENOTDIR-when-not-dir.
|
|
|
|
|
|
|