diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1996-02-23 19:44:10 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1996-02-23 19:44:10 +0000 |
| commit | dedb7b623c1b7ec0048771928119c43e6e051643 (patch) | |
| tree | 1bab2c3ccafd3973075a6ecd1a0abba3f4e08a6a | |
| parent | dabee6fecc6720bf2989803edd8a394883055bf9 (diff) | |
Notes
| -rw-r--r-- | sys/kern/init_main.c | 4 | ||||
| -rw-r--r-- | sys/sys/param.h | 20 | ||||
| -rw-r--r-- | sys/sys/unistd.h | 18 |
3 files changed, 21 insertions, 21 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 7e1bb1d972e3a..cfd8918f1fc68 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)init_main.c 8.9 (Berkeley) 1/21/94 - * $Id: init_main.c,v 1.36 1995/12/10 13:45:11 phk Exp $ + * $Id: init_main.c,v 1.37 1996/01/19 03:57:59 dyson Exp $ */ #include <sys/param.h> @@ -98,7 +98,7 @@ static struct vmspace vmspace0; struct proc *curproc = &proc0; struct proc *initproc; -static int cmask = CMASK; +int cmask = CMASK; extern struct user *proc0paddr; struct vnode *rootvp; diff --git a/sys/sys/param.h b/sys/sys/param.h index 6766c2fde1c73..7f63a27d089fe 100644 --- a/sys/sys/param.h +++ b/sys/sys/param.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)param.h 8.2 (Berkeley) 1/21/94 - * $Id: param.h,v 1.11 1996/01/30 23:01:04 mpp Exp $ + * $Id: param.h,v 1.12 1996/02/23 18:49:21 peter Exp $ */ #ifndef _SYS_PARAM_H_ @@ -226,20 +226,4 @@ #define FSHIFT 11 /* bits to right of fixed binary point */ #define FSCALE (1<<FSHIFT) -/* - * rfork() options. - * - * XXX currently, operations without RFPROC set are not supported. - */ -#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) /* UNIMPL 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 */ - -#endif +#endif /* _SYS_PARAM_H_ */ diff --git a/sys/sys/unistd.h b/sys/sys/unistd.h index 1f63f61e89eed..f1c12f31a4957 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 1994/08/02 07:54:04 davidg Exp $ + * $Id: unistd.h,v 1.4 1995/05/11 07:52:49 bde Exp $ */ #ifndef _SYS_UNISTD_H_ @@ -119,4 +119,20 @@ /* configurable system strings */ #define _CS_PATH 1 +/* + * rfork() options. + * + * XXX currently, operations without RFPROC set are not supported. + */ +#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) /* UNIMPL 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 */ + #endif /* !_SYS_UNISTD_H_ */ |
