summaryrefslogtreecommitdiffstats
path: root/sys/sys/proc.h
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-25 22:59:35 +0000
committerwollman <wollman@FreeBSD.org>1994-08-25 22:59:35 +0000
commit9598c66dbec4543fc9256e6a705f5218bafb1f74 (patch)
tree3a6410786ea4c31d0d2c498a7100373ca208a1dc /sys/sys/proc.h
parent85d1c633013a5f976ce993b48d76a6be734aef40 (diff)
downloadFreeBSD-src-9598c66dbec4543fc9256e6a705f5218bafb1f74.zip
FreeBSD-src-9598c66dbec4543fc9256e6a705f5218bafb1f74.tar.gz
Methinks p_sysent should be in the copy-on-fork rather than the
zero-on-fork section of the struct proc. (At least, my system won't boot unless it is.)
Diffstat (limited to 'sys/sys/proc.h')
-rw-r--r--sys/sys/proc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h
index 8712b0c..a870f8d 100644
--- a/sys/sys/proc.h
+++ b/sys/sys/proc.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)proc.h 8.8 (Berkeley) 1/21/94
- * $Id: proc.h,v 1.4 1994/08/18 22:35:44 wollman Exp $
+ * $Id: proc.h,v 1.5 1994/08/24 11:51:46 sos Exp $
*/
#ifndef _SYS_PROC_H_
@@ -135,8 +135,6 @@ struct proc {
struct vnode *p_textvp; /* Vnode of executable. */
- struct sysentvec *p_sysent; /* syscall entry table pointer */
-
long p_spare[4]; /* pad to 256, avoid shifting eproc. */
@@ -157,6 +155,8 @@ struct proc {
struct pgrp *p_pgrp; /* Pointer to process group. */
+ struct sysentvec *p_sysent; /* system call dispatch information */
+
/* End area that is copied on creation. */
#define p_endcopy p_thread
int p_thread; /* Id for this "thread"; Mach glue. XXX */
OpenPOWER on IntegriCloud