QLock seglock; /* locked whenever seg[] changes */
ulong pid;
ulong noteid; /* Equivalent of note group */
+ ulong parentpid;
Proc *pidhash; /* next proc in pid hash */
Lock exl; /* Lock count and waitq */
Fgrp *closingfgrp; /* used during teardown */
- ulong parentpid;
-
int insyscall;
ulong time[6]; /* User, Sys, Real; child U, S, R */
Proc *pdbg; /* the debugging process */
ulong procmode; /* proc device default file mode */
int privatemem; /* proc does not let anyone read mem */
+ int noswap; /* process is not swappable */
int hang; /* hang at next exec for debug */
int procctl; /* Control for /proc debugging */
uintptr pc; /* DEBUG only */
Proc *palarm; /* Next alarm time */
ulong alarm; /* Time of call */
int newtlb; /* Pager has changed my pte's, I must flush */
- int noswap; /* process is not swappable */
uintptr rendtag; /* Tag for rendezvous */
uintptr rendval; /* Value for rendezvous */
void (*kpfun)(void*);
void *kparg;
- int scallnr; /* sys call number */
Sargs s; /* syscall arguments */
+ int scallnr; /* sys call number */
int nerrlab;
Label errlab[NERR];
char *syserrstr; /* last error from a system call, errbuf0 or 1 */