summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1996-06-19Initial revisionMiles Bader
1996-06-19(do_exec, S_exec_exec): Pass 0 for new LOOKUP arg to hurd_file_name_lookup.Miles Bader
1996-06-19(hurd_file_name_path_lookup): Declaration removed.Miles Bader
(check_hashbang): Pass 0 for new LOOKUP arg to hurd_file_name_lookup.
1996-06-19Initial revisionMiles Bader
1996-06-19(fs_set_readonly, fs_remount):Miles Bader
If fsys_set_options returns EINVAL, return EOPNOTSUPP instead. (fs_set_readonly): Use fsys_set_readonly. (fs_remount): Use fsys_remount. (fs_readonly): Use fsys_get_readonly. (_fs_check_mounted): Use file_name_lookup_carefully.
1996-06-19(_debug): New variable.Miles Bader
(debug, fs_debug): New macros. (fs_start_fsck, fscks_start_fsck, fsck_cleanup, fscks_wait, fsck, main): Add debugging noise. (main): Use FSTAB_PATH instead of _PATH_MNTTAB. (args_doc): Fix.
1996-06-19(init_ttys, reread_ttys): Test return value of setttyent correctly.Michael I. Bushnell
1996-06-19(init_ttys): Return non-zero if we fail.Michael I. Bushnell
(startup_terminal): Return non-zero if we don't actually start anything. (startup_ttys): Return non-zero if we fail. (launch_multi_user): If init_ttys fails, go back to single. If we go multi, actually set system_state accordingly. If startup_ttys fails, go back to single.
1996-06-19Print date before running fsck. Comment out pty permission check.Michael I. Bushnell
1996-06-19(hurd_file_name_path_lookup): Declaration removed.Miles Bader
(main: child_lookup): Pass 0 for new LOOKUP arg to hurd_file_name_path_lookup. (get_utmp_host): Function removed. (add_utmp_entry): Get rid of TTY_FD parameter. Don't search for the tty unless we need it to get the old host, since login does it for us. Also use the `existing host' in the case that a new one isn't specified. (main): Update call to add_utmp_entry.
1996-06-19(S_startup_essential_task): fixupMichael I. Bushnell
1996-06-19(run_for_real): Return zero if we fail.Michael I. Bushnell
(startup_terminal): Deal properly if one of the run_for_real's fails. (launch_single_user): If the shell can't be started, crash the system. (process_rc_script): Return non-zero if run_for_real fails. (process_signal) [SIGCHLD]: If process_rc_script fails, go back to single-user. (S_startup_essential_task): Likewise.
1996-06-19Include <ttyent.h>, <argz.h>, and <utmp.h>.Michael I. Bushnell
(add_terminal, init_ttys, free_ttys, startup_terminal, startup_ttys, find_line, reread_ttys, restart_terminal): New functions. (launch_multi_user): Use new functions to do things right. (session_pid): Delete variable. (kill_multi_user): Call free_ttys. (process_signal) [SIGHUP]: Call reread_ttys. [SIGCHLD/MULTI]: Call restart_terminal. (run_for_real): New arg `setsid'; only do setsid if it's set. All callers changed. Return the pid of the new program, not the task port. All callers changed. Include "mung_msg_S.h" instead of "msg_S.h". (S_msg_sig_post, S_msg_sig_post_untraced): Include SIGCODE parm.
1996-06-19(SRCS): Remove line.c. Add fsysops.cMiles Bader
(LCLHDRS): Remove line.h.
1996-06-19Initial revisionMiles Bader
1996-06-19(options): Rename `--max-parallel' to `--parallel'.Miles Bader
1996-06-19Initial revisionMiles Bader
1996-06-19Understand special more status codes for signals from fsck.Miles Bader
Fix some messages. Factor out date.
1996-06-19(argp_failure): If FMT is 0, don't print `: MSG'.Miles Bader
1996-06-17Initial revisionMichael I. Bushnell
1996-06-17($(target)): And do it correctly, too.Michael I. Bushnell
1996-06-17$(target): Add bletcherous hack to deal with undefined (and unused)Michael I. Bushnell
libc symbol.
1996-06-17(targets): Remove reboot & halt.Miles Bader
(SRCS): Remove reboot.c & halt.c. (login): Depend on -lutil instead of grot.
1996-06-17Drop first line.Michael I. Bushnell
1996-06-17Comment out motd update.Michael I. Bushnell
1996-06-17Fixup getty spec.Michael I. Bushnell
1996-06-17(libutil-libsubst): Define (as -lutil).Michael I. Bushnell
1996-06-17(init): Link against -lutil.Michael I. Bushnell
1996-06-17(SYSCONFFILES): Add ttys.Michael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell
1996-06-17Clean /var/run and make utmp.Michael I. Bushnell
1996-06-17*** empty log message ***Michael I. Bushnell
1996-06-17Updated from RFC 1700.Michael I. Bushnell
1996-06-17update /etc/motd.Michael I. Bushnell
1996-06-17*** empty log message ***Michael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell
1996-06-17(SYSCONFFILES): Add protocols services shells motdMichael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell
1996-06-17(main): Rearrange to use new argument parsing.Miles Bader
(find_device, enumerate_devices): New functions. (pfinet_argp): New declaration. (already_open): New variable. <error.h>, <argp.h>: New includes.
1996-06-17(dir): Now init.Michael I. Bushnell
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-17(mung_msg_S.h): New rule.Michael I. Bushnell
1996-06-17(prog-subdirs): init.trim -> init.Michael I. Bushnell
(other-subdirs): Delete init; add config.
1996-06-17(CPPFLAGS): Add -I$(top_srcdir)/include.Miles Bader
(INSTALLED_LOCAL_HEADERS): Split into two cases based on $(installhdrsubdir). ($(INSTALLED_LOCAL_HEADERS)) [$(installhdrsubdir) == .]: Linked to $(top_srcdir)/include. Prefix ../ to link contents.
1996-06-17(prog-subdirs): Rename fsck to ufs-fsck. Add sutils.Miles Bader
1996-06-17autoboot: Make root readonly before fscking it.Michael I. Bushnell
1996-06-17fixup.Michael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell
1996-06-17Initial revisionMichael I. Bushnell
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.