aboutsummaryrefslogtreecommitdiff
path: root/init
Commit message (Collapse)AuthorAgeFilesLines
...
* .Roland McGrath1999-06-191-0/+6
|
* 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-191-1/+2
| | | | * Makefile (HURDLIBS): Add ports and fshelp only if $(split-init)!=yes.
* 1999-06-19 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-191-1/+2
| | | | * init.c (open_console): Put this function inside [! SPLIT_INIT].
* disable split-init by defaultRoland McGrath1999-06-181-1/+1
|
* .Roland McGrath1999-06-181-0/+17
|
* 1999-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-183-2/+319
| | | | | | | | | | | | | | | | | * init.c [SPLIT_INIT] (child_pid, child_task): New variables. (process_signal, start_child, launch_something, launch_system): New functions. [! SPLIT_INIT] (system_state, shell_pid, rc_pid, launch_single_user, process_rc_script, launch_multi_user, launch_system, kill_everyone, kill_multi_user, process_signal): Variables and functions put inside #ifndef SPLIT_INIT. * stubs.c: New file, modified from ../proc/stubs.c. * Makefile (SRCS): Remove ttys.c here. [$(split-init) = yes] (SRCS): Add stubs.c [$(split-init) = yes] (init-CPPFLAGS): New variable, -DSPLIT_INIT. [$(split-init) = no] (SRCS): Add ttys.c only here. [$(split-init) = no] (LDLIBS): Put defn (-lutil) under this test. (split-init): New variable to turn on split-init, commented out.
* .Roland McGrath1999-06-151-0/+19
|
* 1999-06-15 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-151-29/+48
| | | | | | | | | | | | | | | | | * init.c (booted): New variable. (open_console): Use that instead of system_state. (S_startup_essential_task): Likewise. (do_mach_notify_dead_name): Likewise. (launch_system): New function. (S_startup_essential_task): Call it. * init.c (global_argv): Make static. * init.c (startup_envz, startup_envz_len): New variables. (run, run_for_real): Use those for child environment. (main): Set them up from our ENVP argument. 1999-06-14 Roland McGrath <roland@baalperazim.frob.com> * init.c (main): Barf if run in a normal Hurd environment (not boot). * init.c (record_essential_task): Add missing return.
* .Roland McGrath1999-06-151-0/+4
|
* 1999-06-14 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-151-0/+2
| | | | * ttys.c: Include "ttys.h".
* .Roland McGrath1999-06-141-0/+8
|
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-141-24/+39
| | | | | | | | | * init.c (kill_multi_user): Suggest `ps -AlM' in error message. * init.c (record_essential_task): New function, broken out of S_startup_essential_task. (S_startup_essential_task): Call it. (frob_kernel_process): Call it for kernel task port. (kill_everyone): Remove special case for PID 2 (kernel task).
* .Roland McGrath1999-06-131-0/+3
|
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-131-9/+3
| | | | | * init.c (run): Add const to SERVER arg, PROG local. Don't trim directory name from PROG for argument.
* .Roland McGrath1999-06-131-0/+18
|
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-131-0/+319
| | | | | | | | | | | | | | | | | * ttys.c (struct terminal): Use `pid_t' for `pid' member. (ttys, nttys, ttyslen): Make variables static. (setup_terminal, add_terminal, find_line, startup_terminal, shutdown_terminal): Make all these functions static. Move all the /etc/ttys handling stuff into a separate source file. * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, nttys, ttyslen, setup_terminal, add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to * ttys.c: ... here, new file. * ttys.h: New file, declare external functions in ttys.c. * Makefile (SRCS): Add ttys.c. (OBJS): Derive from $(SRCS). (LCLHDRS): New variable, add ttys.h.
* 1999-06-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-133-294/+31
| | | | | | | | | | | | | Move all the /etc/ttys handling stuff into a separate source file. * init.c (_PATH_LOGIN, WINDOW_DELAY, struct terminal, nttys, ttyslen, setup_terminal, add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, restart_terminal, shutdown_terminal, reread_ttys): Move to * ttys.c: ... here, new file. * ttys.h: New file, declare external functions in ttys.c. * Makefile (SRCS): Add ttys.c. (OBJS): Derive from $(SRCS). (LCLHDRS): New variable, add ttys.h.
* .Roland McGrath1999-06-051-0/+16
|
* 1999-06-05 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-051-13/+58
| | | | | | | | | | | | | | | * init.c (request_dead_name): New function. (S_startup_request_notification, S_startup_essential_task): Use it. (run): Request dead-name notification for new task. (main): Request dead-name notification for FSTASK. (do_mach_notify_dead_name): If system_state is INITIAL, recognize FSTASK, AUTHTASK, PROCTASK specifically and crash with appropriate msg. 1999-06-04 Roland McGrath <roland@baalperazim.frob.com> * init.c (launch_core_servers): Use proc_child on the proc server task to register it with itself as our child. Snarf its proc port and use proc_mark_exec do remove that unsightly `f', as we do for the other bootstrap processes.
* .Roland McGrath1999-06-021-0/+5
|
* 1999-06-02 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-021-4/+5
| | | | | * init.c (frob_kernel_process): If no --kernel-command-line option, try `getenv ("MULTIBOOT_CMDLINE")' before defaulting to "(kernel)".
* .Roland McGrath1999-06-021-0/+6
|
* 1999-06-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-021-7/+7
| | | | | | | | * init.c (CRASH_FLAGS): Macro removed. (crash_flags): New variable replaces it. (crash_mach, crash_system): Use crash_flags instead of CRASH_FLAGS. (options, parse_opt): Add --crash-debug/-H, to set crash_flags to RB_DEBUGGER.
* .Roland McGrath1999-06-011-0/+8
|
* 1999-06-01 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-011-1/+145
| | | | | | | | * init.c (kernel_command_line): New variable. (frob_kernel_process): New function. (S_startup_essential_task): Call it after init_stdarrays. (options): Add --kernel-command-line/-K option. (parse_opt): Grok -K, set kernel_command_line.
* Sat Mar 6 17:13:48 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-03-062-0/+10
| | | | | * init.c (do_mach_notify_dead_name): Deallocate the extra reference to NAME that the notification carries.
* Tue Feb 16 18:54:33 1999 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-02-182-2/+7
| | | | | * init.c (shutdown_terminal): Revoke access to the terminal from existing programs.
* .Roland McGrath1998-10-241-11/+15
|
* 1998-10-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1998-10-241-59/+54
| | | | | * init.c (main): Don't bogusly clear bootstrap_args. Reported by OKUJI Yoshinori <okuji@kuicr.kyoto-u.ac.jp>.
* Tue May 12 12:03:38 1998 Thomas Bushnell, n/BSG <tb@mit.edu>Thomas Bushnell1998-05-122-1/+9
| | | | | | * init.c (setup_terminal): Free LINE after done using it. (process_rc_script): Likewise free RCARGS. Both reported by Katusya Tanaka (wyvern@pb3.so-net.ne.jp).
* .Miles Bader1997-07-031-0/+8
|
* (parse_opt):Miles Bader1997-07-031-26/+50
| | | | | | | | | | | New function. (bootstrap_args): Initialize to 0. (main): Parse args using argp. Include <argp.h>. (options, doc): New variables.
* *** empty log message ***Thomas Bushnell1996-09-172-3/+9
|
* *** empty log message ***Thomas Bushnell1996-09-052-4/+9
|
* .Miles Bader1996-08-141-0/+6
|
* (LDLIBS): New variable.Miles Bader1996-08-141-2/+3
| | | | | (init): Dependcy on -lutil removed. (libutil-libsubst): Variable removed.
* *** empty log message ***Thomas Bushnell1996-08-122-26/+80
|
* Initial revisionRoland McGrath1996-07-171-0/+491
|
* (process_signal): Set WUNTRACED in call to waitpid.Michael I. Bushnell1996-07-161-1/+1
|
* (init_stdarrays): Don't use unsafe MOVE_SEND in call to interruptibleMichael I. Bushnell1996-07-081-2/+6
| | | | | proc_setexecdata. (open_console): Likewise, for file_set_translator.
* (init): Add libports (because libfshelp.so requires it, lose loseMichael I. Bushnell1996-07-031-1/+1
| | | | lose).
* (process_signal) [case SIGCHLD]: Correctly place `break' *outside* ofMichael I. Bushnell1996-07-031-2/+1
| | | | for loop.
* (process_signal): On SIGCHLD, keep reaping children until we get anMichael I. Bushnell1996-07-011-54/+56
| | | | error; tolerate all errors silently.
* (kill_multi_user): Kill user tasks before doing notify_shutdown.Michael I. Bushnell1996-06-241-3/+3
|
* (open_console):Miles Bader1996-06-211-6/+7
| | | | | Print an error messages for /dev/console not being a terminal. Reduce the scope of some variables.
* (open_console): Print an error message for /dev/console failing.Miles Bader1996-06-211-5/+5
|
* (open_console):Miles Bader1996-06-211-6/+8
| | | | | Pass correct length of argument vector when setting active translators. <maptime.h>: New include.
* *** empty log message ***Michael I. Bushnell1996-06-211-0/+8
|
* (_PATH_RUNCOM): Move to /libexec/rc.Michael I. Bushnell1996-06-201-1/+1
|
* (init_ttys, reread_ttys): Test return value of setttyent correctly.Michael I. Bushnell1996-06-191-2/+2
|