summaryrefslogtreecommitdiff
path: root/init/init.c
AgeCommit message (Collapse)Author
1996-06-17Include "mung_msg_S.h" instead of "msg_S.h".Michael I. Bushnell
(S_msg_sig_post, S_msg_sig_post_untraced): Include SIGCODE parm.
1996-06-17Include <paths.h>, <error.h>, <sys/wait.h>, and <hurd/msg_reply.h>.Michael I. Bushnell
(run_for_real, open_console, process_signal, reboot_mach, run_for_real, run, reboot_system): Use error instead of fprintf. (notify_shutdown): Always emit terminating newline. (S_startup_essential_task): When all core servers have showed up, call launch_single_user only if RB_SINGLE; otherwise call process_rc_script. Call init_stdarrays here. (open_console): New function; massaged guts taken from launch_single_user. Be more verbose if we do something unusual. (launch_single_user): Call open_console. Don't call init_stdarrays here. (system_state, default_ints): New variables. (main): Initialize SYSTEM_STATE and DEFAULT_INTS. (run_for_real): Pass default_ints. (run): Likewise. (S_startup_essential_task): Delete var INITDONE; use SYSTEM_STATE instead. (launch_single_user): Set SYSTEM_STATE to SINGLE. (process_rc_script): New function. (launch_multi_user): New function. (kill_everyone): New function. (kill_multi_user): New function. (do_fastboot, rc_pid, session_pid): New variables. (process_signal): New function; guts from S_msg_sig_post_untraced. Handle state transitions here when programs exit. Process SIGTERM, and SIGHUP appropriately. (_PATH_RUNCOM, _PATH_LOGIN): New macros. (S_msg_sig_post_untraced): Only validate signal here; use process_signal to do the work, but reply first. (S_msg_sig_post): Likewise. (notify_shutdown): New function. (reboot_system): Use notify_shutdown.
1996-06-12(S_startup_request_notification): Fill NT->name correctly.Michael I. Bushnell
1996-06-12(S_startup_request_notification): Doc fix.Michael I. Bushnell
1996-05-27(launch_single_user): Open TERM RDWR. Use openport to get FD from TERM.Miles Bader
1996-05-27(launch_single_user): Print errno on assertion failure.Miles Bader
1996-05-24(reboot_mach): Insert a brief pause before actually rebooting theMichael I. Bushnell
kernel so that the user has a chance to see any messages that may be displayed.
1996-05-14(S_msg_describe_ports): typo.Michael I. Bushnell
1996-05-14(S_msg_get_exec_flags, S_msg_set_all_exec_flags,Michael I. Bushnell
S_msg_set_some_exec_flags, S_msg_clear_some_exec_flags): Delete functions. (S_msg_describe_ports): New function.
1996-05-14(reboot_system): Print prettier messages for shutdown notifications.Michael I. Bushnell
1996-05-10<hurd/startup_notify.h> -> "startup_notify_U.h".Michael I. Bushnell
1996-05-09Include <hurd/startup_notify.h>.Michael I. Bushnell
(struct ntfy_task): New member `name'. (S_startup_request_notification): Expect and record name. (S_msg_startup_dosync): Delete function. (reboot_system): Use new startup_dosync interface. (init_stdarrays): Use new authentication interface.
1996-05-06(init_version): Upgrade to 0.0.Michael I. Bushnell
1996-04-29(reboot_system): Not *yet*.Michael I. Bushnell
1996-04-28(reboot_system): Make that 1 minute.Roland McGrath
1996-04-28(reboot_system): Use 1 second timeout on reply to msg_startup_dosync.Roland McGrath
1996-04-17(launch_single_user): Set an active, not passive, translator on /tmp/console,Miles Bader
so it works with / read-only.
1996-03-25Include <wire.h>.Michael I. Bushnell
(main): Delete declarations of _etext _edata, and __data_start. (main): Use new wire_task_self function instead of doing it ourselves.
1995-12-19(launch_core_servers, run_for_real): Call proc_mark_exec on child procRoland McGrath
ports.
1995-12-05(launch_single_user): Fix typo. Deleted variables foobiebletchcount,Michael I. Bushnell
foobiebletch, and termtask.
1995-12-05(launch_single_user): Change initialization of TERMINAL to match newMichael I. Bushnell
term driver arg syntax. Start terminal as ordinary passive translator instead of special weird kludge.
1995-11-06(reboot_system):Miles Bader
Add flags, noise, & noise_len params to proc_getprocinfo. Deallocate NOISE if necessary. (S_msg_report_wait): New function.
1995-10-24Undo last change of 9Oct95.Roland McGrath
1995-10-09Pass dealloc args in file_exec calls.Roland McGrath
1995-07-07(S_msg_sig_post, S_msg_sig_post_untraced): Reverse order of theseMichael I. Bushnell
definitions.
1995-07-07Include <hurd/msg_server.h>.Michael I. Bushnell
(reboot_mach): Insert extra parens around assignment inside while test. (launch_core_servers): Remove assignment from inside if test.
1995-02-09(S_msg_sig_post_untraced): Omit obnoxious "random child died"Michael I. Bushnell
messages.
1995-01-28Include "msg_S.h". Prepend `msg_' to msg.defs server functions.Roland McGrath
Add stubs for new msg.defs functions.
1995-01-19Prepend `msg_' to names of msg.defs RPCs.Roland McGrath
1994-11-28(run_for_real): Print error msg if file_exec fails.Roland McGrath
1994-11-11(fakeboot): New variable.Michael I. Bushnell
(STANDALONE): Deleted macro. (main): Set FAKEBOOT if -f was passed. (reboot_mach): Use FAKEBOOT flag instead of STANDALONE macro. (launch_core_servers): Likewise. (reboot_system): Likewise. Also don't exit here; let reboot_mach exit.
1994-11-01entered into RCSRoland McGrath
1994-09-20Formerly init.c.~49~Michael I. Bushnell
1994-09-20Formerly init.c.~48~Michael I. Bushnell
1994-09-06Formerly init.c.~47~Michael I. Bushnell
1994-08-31Formerly init.c.~46~Roland McGrath
1994-08-30Formerly init.c.~45~Michael I. Bushnell
1994-08-22Formerly init.c.~44~Michael I. Bushnell
1994-08-19Formerly init.c.~43~Michael I. Bushnell
1994-08-18Formerly init.c.~42~Michael I. Bushnell
1994-08-17Formerly init.c.~41~Roland McGrath
1994-08-17Formerly init.c.~40~Michael I. Bushnell
1994-08-16Formerly init.c.~39~Roland McGrath
1994-08-16Formerly init.c.~38~Roland McGrath
1994-08-15Formerly init.c.~37~Michael I. Bushnell
1994-08-12Formerly init.c.~36~Michael I. Bushnell
1994-08-11Formerly init.c.~35~Michael I. Bushnell
1994-07-21Formerly init.c.~34~Michael I. Bushnell
1994-07-20Formerly init.c.~33~Roland McGrath
1994-07-05Formerly init.c.~32~Michael I. Bushnell