freebsd-dev/sys/kern
Joerg Wunsch 245f17d43c Implement SA_NOCLDWAIT.
The implementation is done (unlike what i've originally been
contemplating) by reparenting kids of processes that have the
appropriate bit set to PID 1, and let PID 1 handle the zombie.  This
is far less problematical than what would seem to be ``doing it
right'', for a number of reasons.

Of our currently shipping PID-1-intended programs, 50 % fail the above
assumption. ;-)  (Read this: sysinstall doesn't do it right.  This is
no problem as long as no program called by sysinstall actually uses
SA_NOCLDWAIT.)

ToDo:		. clarify the correct SA_* flag inheritance, compared
		  to other systems,
		. decide whether the compat cruft (osigvec(9)) should
		  deal with new system additions or not,
		. merge OpenBSD's SA_SIGINFO implementation. ;)
Reviewed by:	bde
1997-09-13 19:42:29 +00:00
..
imgact_aout.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
imgact_elf.c Fully implement vfork. Vfork is now much much faster than even our 1997-04-13 01:48:35 +00:00
imgact_gzip.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
imgact_shell.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
inflate.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
init_main.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
init_sysent.c Regenerate 1997-08-19 05:57:04 +00:00
init_sysvec.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_acct.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_clock.c Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
kern_conf.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_descrip.c Removed some stale comments. 1997-08-26 00:09:44 +00:00
kern_exec.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_exit.c Implement SA_NOCLDWAIT. 1997-09-13 19:42:29 +00:00
kern_fork.c Fixed some gratuitous ANSIisms. 1997-08-26 00:15:04 +00:00
kern_intr.c Added a half dozen casts to eliminate annoying warnings. 1997-08-21 06:39:41 +00:00
kern_ktrace.c Don't #include <sys/fcntl.h> in <sys/file.h> if KERNEL is defined. 1997-03-23 03:37:54 +00:00
kern_linker.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_lkm.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_lock.c typo in comment. 1997-08-22 07:16:46 +00:00
kern_lockf.c Use OID_AUTO instead of a magic number for Lite2 sysctl debug.lockf_debug. 1997-04-01 10:30:06 +00:00
kern_malloc.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_mib.c Move MACHINE_ARCH definition from <machine/param.h> to <machine/cpu.h>. 1997-08-30 02:52:04 +00:00
kern_module.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_ntptime.c Update our kernel ntp code to the latest from David Mills. The main change 1996-12-30 18:26:28 +00:00
kern_opt.c Added a copyright and restored order. 1997-02-28 10:14:24 +00:00
kern_physio.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_proc.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
kern_prot.c Implement XPG/SYSV-style getpgid()/getsid() syscalls. getpgid() uses the 1997-08-19 06:00:27 +00:00
kern_random.c don't #ifdef out reference to i586_ctr_freq. 1997-05-04 14:28:22 +00:00
kern_resource.c Print more info in the "calcru: negative time" message. 1997-08-26 00:20:11 +00:00
kern_shutdown.c Cosmetic adjustment for the trap/double fault/panic cpu id listing. 1997-09-05 08:54:55 +00:00
kern_sig.c Implement SA_NOCLDWAIT. 1997-09-13 19:42:29 +00:00
kern_subr.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_synch.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_sysctl.c Include <sys/buf.h> instead of <sys/vnode.h>. kern_sysctl.c no 1997-04-09 15:23:09 +00:00
kern_tc.c Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
kern_threads.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_time.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
kern_timeout.c Some staticized variables were still declared to be extern. 1997-09-07 05:27:26 +00:00
kern_xxx.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
link_aout.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
Make.tags.inc Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
Makefile Remove bogus architectures to allow make tags to work. 1996-03-31 18:53:43 +00:00
makesyscalls.sh Don't generate unused nested #include of <sys/aio.h>. 1997-06-29 17:39:57 +00:00
md5c.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
subr_autoconf.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
subr_clist.c Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
subr_disklabel.c Use the correct size for a sector in the search for a label in 1997-07-13 15:53:20 +00:00
subr_diskmbr.c Avoid division by 0 in check_part(). (It occurred when max_nsectors == 0. 1997-04-19 14:14:17 +00:00
subr_diskslice.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
subr_dkbad.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
subr_log.c Don't include <sys/ioctl.h> in the kernel. Stage 4: include 1997-03-24 11:52:29 +00:00
subr_param.c Removed unused #includes. 1997-06-14 11:38:46 +00:00
subr_prf.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
subr_prof.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
subr_rlist.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
subr_smp.c General cleanup of the lock pushdown code. They are grouped and enabled 1997-09-07 22:04:09 +00:00
subr_trap.c Cosmetic adjustment for the trap/double fault/panic cpu id listing. 1997-09-05 08:54:55 +00:00
subr_xxx.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sys_generic.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
sys_pipe.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
sys_process.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
sys_socket.c Fix all areas of the system (or at least all those in LINT) to avoid storing 1997-08-16 19:16:27 +00:00
syscalls.c Regenerate 1997-08-19 05:57:04 +00:00
syscalls.master SVR4/XPG-style getpgid()/getsid() syscalls. 1997-08-19 05:53:48 +00:00
sysv_ipc.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
sysv_msg.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
sysv_sem.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
sysv_shm.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
tty_compat.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
tty_conf.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tty_cons.c Make a function static to quieten gcc 1997-08-08 20:29:47 +00:00
tty_pty.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
tty_snoop.c Don't include <sys/ioctl.h> in the kernel. Stage 3: include 1997-03-24 11:37:53 +00:00
tty_subr.c Don't include <sys/ioctl.h> in the kernel. Stage 1: don't include 1997-03-24 11:25:10 +00:00
tty_tb.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
tty_tty.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
tty.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
uipc_domain.c The long-awaited mega-massive-network-code- cleanup. Part I. 1997-04-27 20:01:29 +00:00
uipc_mbuf.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
uipc_proto.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
uipc_sockbuf.c Removed trailing semicolons from the definitions of the sysctl 1997-09-07 16:53:52 +00:00
uipc_socket2.c Removed trailing semicolons from the definitions of the sysctl 1997-09-07 16:53:52 +00:00
uipc_socket.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
uipc_syscalls.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
uipc_usrreq.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
vfs_aio.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
vfs_bio.c The patch is needed in order to not throw away unmodified 1997-09-10 20:09:22 +00:00
vfs_cache.c Revert to the previous hashing, double the hashtable size instead. 1997-09-04 08:24:44 +00:00
vfs_cluster.c Removed unused #includes. 1997-08-02 14:33:27 +00:00
vfs_conf.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vfs_export.c print correct function name in a panic (vop_nolock -> vop_sharedlock) 1997-09-13 15:02:28 +00:00
vfs_extattr.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
vfs_init.c 3 lines of code and updates to a number of comments. 1997-09-10 20:11:02 +00:00
vfs_lookup.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
vfs_mount.c Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
vfs_subr.c print correct function name in a panic (vop_nolock -> vop_sharedlock) 1997-09-13 15:02:28 +00:00
vfs_syscalls.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
vfs_vnops.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
vnode_if.pl 3 lines of code and updates to a number of comments. 1997-09-10 20:11:02 +00:00
vnode_if.sh 3 lines of code and updates to a number of comments. 1997-09-10 20:11:02 +00:00
vnode_if.src Add a new vnode op (cachedlookup) so that filesystems can plug into 1997-08-25 20:28:49 +00:00