proc.h (122514) | proc.h (122524) |
---|---|
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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)proc.h 8.15 (Berkeley) 5/19/95 | 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. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)proc.h 8.15 (Berkeley) 5/19/95 |
39 * $FreeBSD: head/sys/sys/proc.h 122514 2003-11-11 22:07:29Z jhb $ | 39 * $FreeBSD: head/sys/sys/proc.h 122524 2003-11-12 03:14:31Z rwatson $ |
40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <sys/callout.h> /* For struct callout. */ 46#include <sys/event.h> /* For struct klist. */ 47#ifndef _KERNEL 48#include <sys/filedesc.h> 49#endif 50#include <sys/_lock.h> 51#include <sys/_mutex.h> 52#include <sys/queue.h> 53#include <sys/priority.h> 54#include <sys/rtprio.h> /* XXX. */ 55#include <sys/runq.h> 56#include <sys/sigio.h> 57#include <sys/signal.h> | 40 */ 41 42#ifndef _SYS_PROC_H_ 43#define _SYS_PROC_H_ 44 45#include <sys/callout.h> /* For struct callout. */ 46#include <sys/event.h> /* For struct klist. */ 47#ifndef _KERNEL 48#include <sys/filedesc.h> 49#endif 50#include <sys/_lock.h> 51#include <sys/_mutex.h> 52#include <sys/queue.h> 53#include <sys/priority.h> 54#include <sys/rtprio.h> /* XXX. */ 55#include <sys/runq.h> 56#include <sys/sigio.h> 57#include <sys/signal.h> |
58#include <sys/_label.h> | |
59#ifndef _KERNEL 60#include <sys/time.h> /* For structs itimerval, timeval. */ 61#else 62#include <sys/pcpu.h> 63#endif 64#include <sys/ucontext.h> 65#include <sys/ucred.h> 66#include <machine/proc.h> /* Machine-dependent proc substruct. */ --- 544 unchanged lines hidden (view full) --- 611 struct mdproc p_md; /* Any machine-dependent fields. */ 612 struct callout p_itcallout; /* (h + c) Interval timer callout. */ 613 struct user *p_uarea; /* (k) Kernel VA of u-area (CPU). */ 614 u_short p_acflag; /* (c) Accounting flags. */ 615 struct rusage *p_ru; /* (a) Exit information. XXX */ 616 struct proc *p_peers; /* (r) */ 617 struct proc *p_leader; /* (b) */ 618 void *p_emuldata; /* (c) Emulator state data. */ | 58#ifndef _KERNEL 59#include <sys/time.h> /* For structs itimerval, timeval. */ 60#else 61#include <sys/pcpu.h> 62#endif 63#include <sys/ucontext.h> 64#include <sys/ucred.h> 65#include <machine/proc.h> /* Machine-dependent proc substruct. */ --- 544 unchanged lines hidden (view full) --- 610 struct mdproc p_md; /* Any machine-dependent fields. */ 611 struct callout p_itcallout; /* (h + c) Interval timer callout. */ 612 struct user *p_uarea; /* (k) Kernel VA of u-area (CPU). */ 613 u_short p_acflag; /* (c) Accounting flags. */ 614 struct rusage *p_ru; /* (a) Exit information. XXX */ 615 struct proc *p_peers; /* (r) */ 616 struct proc *p_leader; /* (b) */ 617 void *p_emuldata; /* (c) Emulator state data. */ |
619 struct label p_label; /* (*) Process (not subject) MAC label */ | 618 struct label *p_label; /* (*) Proc (not subject) MAC label. */ |
620 struct p_sched *p_sched; /* (*) Scheduler-specific data. */ 621}; 622 623#define p_rlimit p_limit->pl_rlimit 624#define p_session p_pgrp->pg_session 625#define p_pgid p_pgrp->pg_id 626 627#define NOCPU 0xff /* For when we aren't on a CPU. (SMP) */ --- 315 unchanged lines hidden --- | 619 struct p_sched *p_sched; /* (*) Scheduler-specific data. */ 620}; 621 622#define p_rlimit p_limit->pl_rlimit 623#define p_session p_pgrp->pg_session 624#define p_pgid p_pgrp->pg_id 625 626#define NOCPU 0xff /* For when we aren't on a CPU. (SMP) */ --- 315 unchanged lines hidden --- |