aboutsummaryrefslogtreecommitdiff
path: root/init
Commit message (Collapse)AuthorAgeFilesLines
* .Roland McGrath2002-05-081-0/+6
|
* 2002-05-07 Roland McGrath <roland@frob.com>Roland McGrath2002-05-081-5/+6
| | | | | | * init.c (reboot_system): u_int -> size_t (reboot_system): Likewise. (S_msg_report_wait): int -> mach_msg_id_t
* *** empty log message ***Neal H. Walfield2002-03-261-0/+8
|
* 2002-03-23 James A. Morrison <ja2morri@uwaterloo.ca>Neal H. Walfield2002-03-261-18/+20
| | | | | | | | * init.c (reboot_mach): Use ERR, not errno. (run): Likewise. (lauch_core_servers): Likewise. (run_for_real): Use MACH_PORT_NULL explicitly. (start_child): Likewise.
* .Roland McGrath2002-01-021-0/+5
|
* 2002-01-02 Roland McGrath <roland@frob.com>Roland McGrath2002-01-021-4/+17
| | | | | * init.c [KERN_INVALID_LEDGER]: Pass extra arguments to task_create for OSF variant.
* .Roland McGrath2001-08-241-0/+4
|
* 2001-08-23 Roland McGrath <roland@frob.com>Roland McGrath2001-08-241-2/+4
| | | | * init.c (main): Pass ARGP_NO_ERRS|ARGP_IN_ORDER to argp_parse.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-203-343/+9
| | | | | | | | | | | * init.c [! SPLIT_INIT]: All this code removed. [SPLIT_INIT]: This code no longer conditional. (_PATH_RUNCOM, mapped_time, do_fastboot): Removed. * Makefile (split-init): Variable removed. (SRCS): Add stubs.c here unconditionally. [$(split-init) = no]: Conditional defns removed. (LCLHDRS): Variable removed. * ttys.c, ttys.h: Files removed.
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-202-523/+22
| | | | | | | | | | | * init.c [! SPLIT_INIT]: All this code removed. [SPLIT_INIT]: This code no longer conditional. (_PATH_RUNCOM, mapped_time, do_fastboot): Removed. * Makefile (split-init): Variable removed. (SRCS): Add stubs.c here unconditionally. [$(split-init) = no]: Conditional defns removed. (LCLHDRS): Variable removed. * ttys.c, ttys.h: Files removed.
* .Roland McGrath2001-08-201-0/+9
|
* 2001-08-20 Roland McGrath <roland@frob.com>Roland McGrath2001-08-201-28/+31
| | | | | | | | | * init.c (kernel_command_line): Variable removed. (options, parse_opt): Remove -K option. (frob_kernel_process): Collect arguments from &global_argv[1] instead of slicing up kernel_command_line. (start_child): Take a second arg, if non-null more arguments for PROG. (launch_something): Change caller. On first try, pass &global_argv[1].
* .Roland McGrath2001-07-021-1/+6
|
* 2001-07-02 Roland McGrath <roland@frob.com>Roland McGrath2001-07-021-4/+6
| | | | | * init.c (reboot_system): Don't pass null pointer to RPC out param. Thanks to Moritz Schulte <moritz@chaosdorf.de> for finding this.
* daemons/Marcus Brinkmann2001-01-302-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * console-run.c (open_console): Conform to new fshelp_start_translator semantics. init/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * init.c (open_console): Conform to new fshelp_start_translator semantics. libfshelp/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * fshelp.h: Add two new parameters to fshelp_open_fn_t: a port to the new task and a cookie. Add a new parameter, cookie, to fshelp_start_translator and fshelp_start_translator_long that will be passed to fshelp_open_fn_t. * fetch-root.c (fshelp_fetch_root): Conform to new fshelp_start_translator_long semantics. * start-translator-long.c (service_fsys_startup): Likewise. (fshelp_start_translator_long): Likewise. * start-translator.c (fshelp_start_translator): Likewise. libtreefs/ Conform to new fshelp_start_translator semantics. trans/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * pump.c (start_pfinet): Conform to new fshelp_start_translator semantics. utils/ 2001-01-17 Neal H Walfield <neal@cs.uml.edu> * mount.c (do_mount): Conform to new fshelp_start_translator semantics. * settrans.c (main): Conform to new fshelp_start_translator semantics therby allowing us to print the pid of the an active translator.
* 2000-12-21 Marcus Brinkmann <marcus@gnu.org>Marcus Brinkmann2001-01-072-0/+7
| | | | | * init.c (process_rc_script): If malloc fails, return ENOMEM. Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
* 2000-03-17 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell2000-03-172-2/+10
| | | | * init.c (launch_core_servers): Don't use MOVE_SEND in Hurd RPCs.
* .Roland McGrath2000-03-141-0/+4
|
* 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-141-6/+14
| | | | | * stubs.c (send_signal): Don't use mach_msg_destroy, since it wants the local/remote ports reversed. Destroy the rights by hand instead.
* .Roland McGrath2000-03-131-0/+8
|
* 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-132-61/+88
| | | | | | | | * stubs.c (send_signal): Make MESSAGE auto instead of static. Take new argument TIMEOUT, passed to mach_msg instead of zero. (send_signal): For MACH_SEND_TIMED_OUT failure, destroy the pseudo-received message to avoid leaking send rights. * init.c (process_signal): Pass new argument, timeout of 500 ms.
* 1999-09-28 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-10-022-3/+9
| | | | | | | * init.c (frob_kernel_process): Allocate the kernel's page in the actual kernel task, not in our own. I wonder how this ever worked. Also if we fail in that allocation, free the page we allocated in our own space.
* .Roland McGrath1999-09-051-0/+4
|
* 1999-08-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-09-051-1/+1
| | | | * init.c (notify_shutdown): Add const to argument type.
* .Roland McGrath1999-07-241-0/+4
|
* 1999-07-24 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-241-1/+5
| | | | * Makefile (split-init): Set to `yes' by default.
* 1999-07-09 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-112-3/+10
| | | | * init.c (frob_kernel_process): Use mmap instead of vm_allocate.
* .Roland McGrath1999-07-111-0/+4
|
* 1999-07-10 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-07-111-2/+1
| | | | * init.c: Add #include <sys/mman.h> for munmap decl.
* 1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>Thomas Bushnell1999-07-032-5/+9
| | | | | | * init.c (reboot_system): Use munmap instead of vm_deallocate. (frob_kernel_process): Likewise. (kill_everyone): Likewise.
* .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
|