aboutsummaryrefslogtreecommitdiff
path: root/init/stubs.c
Commit message (Collapse)AuthorAgeFilesLines
* startup: rename /hurd/init to /hurd/startupJustus Winter2014-11-211-139/+0
| | | | | | | | | | | | | This patch series splits /hurd/init into two programs. As a first step, this patch renames /hurd/init to /hurd/startup. It is called startup because it speaks the startup protocol. * startup: Rename init to startup. Adjust accordingly. * Makefile (prog-subdirs): Likewise. * doc/hurd.texi (Server Bootstrap): Likewise. * hurd/paths.h (_HURD_STARTUP): Likewise. * libdiskfs/boot-start.c (diskfs_boot_init_program): Likewise. * libdiskfs/opts-std-startup.c (startup_options): Likewise.
* 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.
* 2000-03-13 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath2000-03-131-58/+83
| | | | | | | | * 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-06-18 Roland McGrath <roland@baalperazim.frob.com>Roland McGrath1999-06-181-0/+106
* 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.