proc.h (1542) | proc.h (1549) |
---|---|
1/*- 2 * Copyright (c) 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 82 unchanged lines hidden (view full) --- 91 struct vmspace *p_vmspace; /* Address space. */ 92 struct sigacts *p_sigacts; /* Signal actions, state (PROC ONLY). */ 93 94#define p_ucred p_cred->pc_ucred 95#define p_rlimit p_limit->pl_rlimit 96 97 int p_flag; /* P_* flags. */ 98 char p_stat; /* S* process status. */ | 1/*- 2 * Copyright (c) 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 82 unchanged lines hidden (view full) --- 91 struct vmspace *p_vmspace; /* Address space. */ 92 struct sigacts *p_sigacts; /* Signal actions, state (PROC ONLY). */ 93 94#define p_ucred p_cred->pc_ucred 95#define p_rlimit p_limit->pl_rlimit 96 97 int p_flag; /* P_* flags. */ 98 char p_stat; /* S* process status. */ |
99 char p_pad1[3]; | 99 char p_lock; /* process lock count */ 100 char p_pad1[2]; |
100 101 pid_t p_pid; /* Process identifier. */ 102 struct proc *p_hash; /* Hashed based on p_pid for kill+exit+... */ 103 struct proc *p_pgrpnxt; /* Pointer to next process in process group. */ 104 struct proc *p_pptr; /* Pointer to process structure of parent. */ 105 struct proc *p_osptr; /* Pointer to older sibling processes. */ 106 107/* The following fields are all zeroed upon creation in fork. */ --- 156 unchanged lines hidden --- | 101 102 pid_t p_pid; /* Process identifier. */ 103 struct proc *p_hash; /* Hashed based on p_pid for kill+exit+... */ 104 struct proc *p_pgrpnxt; /* Pointer to next process in process group. */ 105 struct proc *p_pptr; /* Pointer to process structure of parent. */ 106 struct proc *p_osptr; /* Pointer to older sibling processes. */ 107 108/* The following fields are all zeroed upon creation in fork. */ --- 156 unchanged lines hidden --- |