summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsmpatel <smpatel@FreeBSD.org>1996-08-20 07:23:35 +0000
committersmpatel <smpatel@FreeBSD.org>1996-08-20 07:23:35 +0000
commitd7c31a0d8b92c6e68e1a8b5c69c53f807232620d (patch)
treef32eb7cf32214ec06fc4ef05b2c0976bce740d78
parent48c1d38f5da43a9612e3c9a8ef392007f1cc6553 (diff)
downloadFreeBSD-src-d7c31a0d8b92c6e68e1a8b5c69c53f807232620d.zip
FreeBSD-src-d7c31a0d8b92c6e68e1a8b5c69c53f807232620d.tar.gz
Sync rfork() flags up with OpenBSD.
Suggested by: Theo de Raadt <deraadt@theos.com>
-rw-r--r--sys/sys/unistd.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h
index d7a986b..450d841 100644
--- a/sys/sys/unistd.h
+++ b/sys/sys/unistd.h
@@ -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_ */
OpenPOWER on IntegriCloud