Subject: CVS commit: syssrc
To: None <>
From: Jason R Thorpe <>
List: source-changes
Date: 07/15/1999 16:18:43
Module Name:	syssrc
Committed By:	thorpej
Date:		Thu Jul 15 23:18:43 UTC 1999

Modified Files:
	syssrc/sys/compat/linux/common: linux_misc.c
	syssrc/sys/kern: kern_exit.c
	syssrc/sys/sys: proc.h

Log Message:
A few things to make the Linux clone(2) emulation work a bit better:
- When the exit signal is specified to be 0, don't just assume they
  meant SIGCHLD.  In the Linux world, this appears to mean "don't deliver
  an exit signal at all".
- Simplify P_EXITSIG(); don't check against initproc here, just change
  the exit signal to SIGCHLD if reparenting to initproc.

A very simple clone(2) test program now works, and the MpegTV package
starts, but doesn't run properly yet (I believe there is a separate
bug which keeps it from working properly).

To generate a diff of this commit:
cvs rdiff -r1.58 -r1.59 syssrc/sys/compat/linux/common/linux_misc.c
cvs rdiff -r1.69 -r1.70 syssrc/sys/kern/kern_exit.c
cvs rdiff -r1.77 -r1.78 syssrc/sys/sys/proc.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.