Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 1998-12-27 Roland McGrath <roland@baalperazim.frob.com> | Roland McGrath | 1998-12-30 | 1 | -4/+8 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Prepend "_diskfs" to uses of NOSUID & NOEXEC. | Miles Bader | 1997-09-19 | 1 | -1/+1 |
| | |||||
* | Tue Sep 16 14:37:51 1997 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> | Thomas Bushnell | 1997-09-16 | 1 | -1/+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. | ||||
* | (diskfs_fsys_identity): New variable. | Michael I. Bushnell | 1996-05-10 | 1 | -0/+6 |
| | | | | (diskfs_init_diskfs): Initialize diskfs_fsys_identity. | ||||
* | (diskfs_shutdown_notification_class): New variable. | Michael I. Bushnell | 1996-04-30 | 1 | -0/+3 |
| | | | | (diskfs_init_diskfs): Initialize diskfs_shutdown_notification_class. | ||||
* | (diskfs_init_diskfs): Use maptime_map. | Miles Bader | 1996-02-20 | 1 | -19/+20 |
| | |||||
* | (diskfs_init_diskfs): Always use get_privileged_ports. Now return error_t. | Miles Bader | 1995-10-07 | 1 | -22/+14 |
| | |||||
* | (_diskfs_control_clean): Mark parm unused. | Michael I. Bushnell | 1995-06-09 | 1 | -1/+1 |
| | |||||
* | (diskfs_init_diskfs): Pass null second argument in calls to | Michael I. Bushnell | 1995-06-09 | 1 | -4/+4 |
| | | | | ports_create_class. | ||||
* | (diskfs_transboot_class): Delete var. | Michael I. Bushnell | 1995-06-09 | 1 | -2/+0 |
| | | | | (diskfs_init_diskfs): Don't initialize it. | ||||
* | (diskfs_protid_class, diskfs_transboot_class, diskfs_control_class, | Michael I. Bushnell | 1995-06-09 | 1 | -3/+16 |
| | | | | | | | diskfs_initboot_class, diskfs_execboot_class, diskfs_port_bucket): New vars. (diskfs_init_diskfs) Initialize all those new vars. Don't call _libports_initialize. | ||||
* | entered into RCS | Michael I. Bushnell | 1994-09-15 | 1 | -1/+1 |
| | |||||
* | Formerly init-init.c.~18~ | Roland McGrath | 1994-09-11 | 1 | -28/+2 |
| | |||||
* | Formerly init-init.c.~17~ | Michael I. Bushnell | 1994-09-09 | 1 | -1/+6 |
| | |||||
* | Formerly init-init.c.~16~ | Roland McGrath | 1994-08-31 | 1 | -1/+2 |
| | |||||
* | Formerly init-init.c.~15~ | Michael I. Bushnell | 1994-08-30 | 1 | -2/+3 |
| | |||||
* | Formerly init-init.c.~14~ | Michael I. Bushnell | 1994-07-19 | 1 | -4/+3 |
| | |||||
* | Formerly init-init.c.~13~ | Michael I. Bushnell | 1994-07-18 | 1 | -4/+4 |
| | |||||
* | Formerly init-init.c.~12~ | Michael I. Bushnell | 1994-07-15 | 1 | -0/+1 |
| | |||||
* | Formerly init-init.c.~11~ | Michael I. Bushnell | 1994-07-13 | 1 | -6/+34 |
| | |||||
* | Formerly init-init.c.~10~ | Michael I. Bushnell | 1994-02-17 | 1 | -1/+1 |
| | |||||
* | Formerly init-init.c.~9~ | Michael I. Bushnell | 1994-02-16 | 1 | -4/+1 |
| | |||||
* | Formerly init-init.c.~8~ | Michael I. Bushnell | 1994-02-16 | 1 | -1/+1 |
| | |||||
* | Formerly init-init.c.~7~ | Michael I. Bushnell | 1994-02-15 | 1 | -0/+3 |
| | |||||
* | Formerly init-init.c.~6~ | Michael I. Bushnell | 1994-02-14 | 1 | -4/+3 |
| | |||||
* | Formerly init-init.c.~5~ | Michael I. Bushnell | 1994-02-12 | 1 | -3/+3 |
| | |||||
* | Formerly init-init.c.~4~ | Michael I. Bushnell | 1994-02-10 | 1 | -1/+1 |
| | |||||
* | Formerly init-init.c.~3~ | Michael I. Bushnell | 1994-02-10 | 1 | -0/+10 |
| | |||||
* | Formerly init-init.c.~2~ | Michael I. Bushnell | 1994-02-08 | 1 | -4/+7 |
| | |||||
* | Initial revision | Michael I. Bushnell | 1994-02-08 | 1 | -0/+64 |