mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-28 22:36:24 +01:00
Sync rfork() flags up with OpenBSD.
Suggested by: Theo de Raadt <deraadt@theos.com>
This commit is contained in:
parent
c2bbab53f4
commit
4c6acd9e47
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=17704
@ -31,7 +31,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)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_
|
||||
@ -124,11 +124,17 @@
|
||||
*
|
||||
* XXX currently, operations without RFPROC set are not supported.
|
||||
*/
|
||||
#define RFFDG (1<<0) /* copy fd table */
|
||||
#define RFPROC (1<<1) /* change child (else changes curproc) */
|
||||
#define RFMEM (1<<2) /* share `address space' */
|
||||
#define RFNOWAIT (1<<3) /* parent need not wait() on child */
|
||||
#define RFCFDG (1<<4) /* zero fd table */
|
||||
#define RFPPWAIT (1<<5) /* parent sleeps until child exits (vfork) */
|
||||
#define RFNAMEG (1<<0) /* UNIMPL new plan9 `name space' */
|
||||
#define RFENVG (1<<1) /* UNIMPL copy plan9 `env space' */
|
||||
#define RFFDG (1<<2) /* copy fd table */
|
||||
#define RFNOTEG (1<<3) /* UNIMPL create new plan9 `note group' */
|
||||
#define RFPROC (1<<4) /* change child (else changes curproc) */
|
||||
#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_ */
|
||||
|
Loading…
Reference in New Issue
Block a user