Sync rfork() flags up with OpenBSD.

Suggested by:	Theo de Raadt <deraadt@theos.com>
This commit is contained in:
Sujal Patel 1996-08-20 07:23:35 +00:00
parent c2bbab53f4
commit 4c6acd9e47
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17704

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE. * SUCH DAMAGE.
* *
* @(#)unistd.h 8.2 (Berkeley) 1/7/94 * @(#)unistd.h 8.2 (Berkeley) 1/7/94
* $Id: unistd.h,v 1.2 1996/04/02 05:23:09 kashmir Exp $ * $Id: unistd.h,v 1.6 1996/04/17 17:05:08 smpatel Exp $
*/ */
#ifndef _SYS_UNISTD_H_ #ifndef _SYS_UNISTD_H_
@ -124,11 +124,17 @@
* *
* XXX currently, operations without RFPROC set are not supported. * XXX currently, operations without RFPROC set are not supported.
*/ */
#define RFFDG (1<<0) /* copy fd table */ #define RFNAMEG (1<<0) /* UNIMPL new plan9 `name space' */
#define RFPROC (1<<1) /* change child (else changes curproc) */ #define RFENVG (1<<1) /* UNIMPL copy plan9 `env space' */
#define RFMEM (1<<2) /* share `address space' */ #define RFFDG (1<<2) /* copy fd table */
#define RFNOWAIT (1<<3) /* parent need not wait() on child */ #define RFNOTEG (1<<3) /* UNIMPL create new plan9 `note group' */
#define RFCFDG (1<<4) /* zero fd table */ #define RFPROC (1<<4) /* change child (else changes curproc) */
#define RFPPWAIT (1<<5) /* parent sleeps until child exits (vfork) */ #define RFMEM (1<<5) /* share `address space' */
#define RFNOWAIT (1<<6) /* parent need not wait() on child */
#define RFCNAMEG (1<<10) /* UNIMPL zero plan9 `name space' */
#define RFCENVG (1<<11) /* UNIMPL zero plan9 `env space' */
#define RFCFDG (1<<12) /* zero fd table */
#define RFPPWAIT (1<<31) /* parent sleeps until child exits (vfork) */
#endif /* !_SYS_UNISTD_H_ */ #endif /* !_SYS_UNISTD_H_ */