Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 1998-04-04 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1998-10-24 | 1 | -1/+4 |
| | | | | | | | | | | | | | | 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. | ||||
* | (fs_control_port): | Miles Bader | 1997-09-19 | 1 | -3/+1 |
| | | | | | | Declaration removed. (_diskfs_nosuid, _diskfs_noexec): Renamed from nosuid & noexec. | ||||
* | Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> | Thomas Bushnell | 1997-09-16 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | * 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. | ||||
* | (struct diskfs_trans_callback_cookie2): | Miles Bader | 1997-02-14 | 1 | -8/+0 |
| | | | | Type removed. | ||||
* | (struct diskfs_trans_callback_cookie2): | Miles Bader | 1997-02-06 | 1 | -1/+9 |
| | | | | New type. | ||||
* | (OPENONLY_STATE_MODES): Add O_EXLOCK & O_SHLOCK. | Miles Bader | 1996-10-12 | 1 | -1/+2 |
| | |||||
* | change name to _diskfs_diskdirty. | Michael I. Bushnell | 1996-06-24 | 1 | -2/+2 |
| | |||||
* | (_diskfs_diskclean): New variable. | Michael I. Bushnell | 1996-06-24 | 1 | -0/+3 |
| | |||||
* | ioserver.h -> iohelp.h. | Michael I. Bushnell | 1996-05-09 | 1 | -1/+1 |
| | |||||
* | (_diskfs_init_completed): New declaration. | Michael I. Bushnell | 1996-04-30 | 1 | -0/+4 |
| | |||||
* | Fix args in _diskfs_rdwr_internal prototype. | Roland McGrath | 1996-01-04 | 1 | -3/+3 |
| | |||||
* | (end_using_protid_port): Don't calls ports_port_deref if CRED is null. | Roland McGrath | 1995-12-28 | 1 | -3/+4 |
| | |||||
* | (_diskfs_translator_callback1, _diskfs_translator_callback2): Declare. | Miles Bader | 1995-11-02 | 1 | -2/+3 |
| | |||||
* | (diskfs_common_options): New declaration. | Miles Bader | 1995-10-19 | 1 | -0/+2 |
| | |||||
* | (_diskfs_translator_callback): Must be extern to force inclusion of | Michael I. Bushnell | 1995-06-22 | 1 | -1/+1 |
| | | | | trans-callback.c. | ||||
* | Really do last change. | Michael I. Bushnell | 1995-06-14 | 1 | -2/+1 |
| | |||||
* | (_diskfs_translator_callback): Declare with typedef. | Michael I. Bushnell | 1995-06-14 | 1 | -1/+1 |
| | |||||
* | (_diskfs_translator_callback): New function. | Michael I. Bushnell | 1995-06-14 | 1 | -0/+4 |
| | |||||
* | (begin_using_protid_port): Use ports_lookup_port. | Michael I. Bushnell | 1995-06-09 | 1 | -13/+2 |
| | | | | | (end_using_protid_port): Use ports_port_deref. (enum porttype): Delete. | ||||
* | (_diskfs_idcheckdirmod): `diskfs_hasuid' -> _diskfs_idhasuid. | Michael I. Bushnell | 1995-03-17 | 1 | -1/+1 |
| | | | | (CHANGE_NODE_FIELD): Remove trailing space on backslashed line. | ||||
* | (CHANGE_NODE_FIELD): If DISKFS_SYNCHRONOUS, then sync node after | Michael I. Bushnell | 1995-03-08 | 1 | -1/+3 |
| | | | | possibly changing it. | ||||
* | entered into RCS | Michael I. Bushnell | 1994-11-02 | 1 | -1/+0 |
| | |||||
* | Formerly priv.h.~13~ | Michael I. Bushnell | 1994-10-07 | 1 | -3/+0 |
| | |||||
* | Formerly priv.h.~12~ | Michael I. Bushnell | 1994-07-13 | 1 | -3/+20 |
| | |||||
* | Formerly priv.h.~11~ | Michael I. Bushnell | 1994-02-10 | 1 | -40/+0 |
| | |||||
* | Formerly priv.h.~10~ | Michael I. Bushnell | 1994-02-08 | 1 | -8/+7 |
| | |||||
* | Formerly priv.h.~9~ | Michael I. Bushnell | 1994-02-05 | 1 | -3/+11 |
| | |||||
* | Formerly priv.h.~8~ | Michael I. Bushnell | 1994-02-03 | 1 | -0/+26 |
| | |||||
* | Formerly priv.h.~7~ | Michael I. Bushnell | 1994-02-03 | 1 | -0/+4 |
| | |||||
* | Formerly priv.h.~6~ | Michael I. Bushnell | 1994-02-03 | 1 | -1/+3 |
| | |||||
* | Formerly priv.h.~5~ | Michael I. Bushnell | 1994-02-02 | 1 | -0/+42 |
| | |||||
* | Formerly priv.h.~4~ | Michael I. Bushnell | 1994-01-31 | 1 | -0/+24 |
| | |||||
* | Formerly priv.h.~3~ | Michael I. Bushnell | 1994-01-27 | 1 | -1/+18 |
| | |||||
* | Formerly priv.h.~2~ | Michael I. Bushnell | 1994-01-27 | 1 | -104/+1 |
| | |||||
* | Initial revision | Michael I. Bushnell | 1994-01-27 | 1 | -0/+122 |