summaryrefslogtreecommitdiff
path: root/libdiskfs/init-init.c
AgeCommit message (Collapse)Author
2001-08-202001-08-20 Roland McGrath <roland@frob.com>Roland McGrath
* opts-std-startup.c: diskfs_boot_flags -> diskfs_boot_command_line. (OPT_BOOT_CMDLINE): Renamed from OPT_BOOTFLAGS. (startup_options): --bootflags -> --multiboot-command-line (parse_startup_opt): Parse it. * diskfs.h: diskfs_boot_flags -> diskfs_boot_command_line. (diskfs_boot_filesystem): New macro. * init-main.c (diskfs_init_main): Use it. * init-init.c (diskfs_init_diskfs): Likewise. * console.c (diskfs_console_stdio): Likewise. * boot-start.c (_diskfs_boot_privports): Likewise. (diskfs_start_bootstrap): Split boot_command_line into words and pass those arguments to init instead of diskfs_bootflags.
2001-04-012001-03-28 Neal H Walfield <neal@cs.uml.edu>Roland McGrath
* shutdown.c: Move initialization of diskfs_fsys_lock from here ... * init-init.c: ... to here with the rest of the initialization code. * init-init.c: Do not initialize global variables to zero.
1999-09-191999-09-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
* node-times.c (diskfs_set_node_times): If _diskfs_noatime is set and neither NP->dn_set_mtime nor NP->dn_set_ctime is set, clear NP->dn_set_atime. Short-circuit return if none of dn_set_?time set. * opts-common.c (diskfs_common_options): Include "priv.h". Add aliases --ro/--rw for -r/-w. Add alias --nosuid for --no-suid, --noexec for --no-exec. Move --suid-ok, --exec-ok here from ... * opts-std-runtime.c (std_runtime_options): ... here. (struct parse_hook): New member `noatime'. (set_opts): Use H->noatime to set _diskfs_noatime. (parse_opt): Grok -A and OPT_ATIME to set/clear H->noatime. (OPT_ATIME): New macro. (OPT_SUID_OK, OPT_EXEC_OK): Moved to ... * priv.h: ... here. (diskfs_common_options): Add const to decl. * opts-std-startup.c (parse_startup_opt): Grok OPT_SUID_OK, OPT_EXEC_OK, -A, and OPT_ATIME. * init-init.c (_diskfs_noatime): New variable. (_diskfs_nosuid, _diskfs_noexec): Use uninitialized defns. * opts-append-std.c (diskfs_append_std_options): Add --no-atime if _diskfs_noatime is set.
1998-12-301998-12-27 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath
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.
1997-09-19Prepend "_diskfs" to uses of NOSUID & NOEXEC.Miles Bader
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.
1996-05-10(diskfs_fsys_identity): New variable.Michael I. Bushnell
(diskfs_init_diskfs): Initialize diskfs_fsys_identity.
1996-04-30(diskfs_shutdown_notification_class): New variable.Michael I. Bushnell
(diskfs_init_diskfs): Initialize diskfs_shutdown_notification_class.
1996-02-20(diskfs_init_diskfs): Use maptime_map.Miles Bader
1995-10-07(diskfs_init_diskfs): Always use get_privileged_ports. Now return error_t.Miles Bader
1995-06-09(_diskfs_control_clean): Mark parm unused.Michael I. Bushnell
1995-06-09(diskfs_init_diskfs): Pass null second argument in calls toMichael I. Bushnell
ports_create_class.
1995-06-09(diskfs_transboot_class): Delete var.Michael I. Bushnell
(diskfs_init_diskfs): Don't initialize it.
1995-06-09(diskfs_protid_class, diskfs_transboot_class, diskfs_control_class,Michael I. Bushnell
diskfs_initboot_class, diskfs_execboot_class, diskfs_port_bucket): New vars. (diskfs_init_diskfs) Initialize all those new vars. Don't call _libports_initialize.
1994-09-15entered into RCSMichael I. Bushnell
1994-09-11Formerly init-init.c.~18~Roland McGrath
1994-09-09Formerly init-init.c.~17~Michael I. Bushnell
1994-08-31Formerly init-init.c.~16~Roland McGrath
1994-08-30Formerly init-init.c.~15~Michael I. Bushnell
1994-07-19Formerly init-init.c.~14~Michael I. Bushnell
1994-07-18Formerly init-init.c.~13~Michael I. Bushnell
1994-07-15Formerly init-init.c.~12~Michael I. Bushnell
1994-07-13Formerly init-init.c.~11~Michael I. Bushnell
1994-02-17Formerly init-init.c.~10~Michael I. Bushnell
1994-02-16Formerly init-init.c.~9~Michael I. Bushnell
1994-02-16Formerly init-init.c.~8~Michael I. Bushnell
1994-02-15Formerly init-init.c.~7~Michael I. Bushnell
1994-02-14Formerly init-init.c.~6~Michael I. Bushnell
1994-02-12Formerly init-init.c.~5~Michael I. Bushnell
1994-02-10Formerly init-init.c.~4~Michael I. Bushnell
1994-02-10Formerly init-init.c.~3~Michael I. Bushnell
1994-02-08Formerly init-init.c.~2~Michael I. Bushnell
1994-02-08Initial revisionMichael I. Bushnell