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.)
This commit is contained in:
parent
85d1c63301
commit
9598c66dbe
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user