user.h (41931) | user.h (42379) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)user.h 8.2 (Berkeley) 9/23/93 | 1/* 2 * Copyright (c) 1982, 1986, 1989, 1991, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)user.h 8.2 (Berkeley) 9/23/93 |
34 * $Id: user.h,v 1.16 1998/07/15 20:18:00 dfr Exp $ | 34 * $Id: user.h,v 1.17 1998/12/19 02:55:34 julian Exp $ |
35 */ 36 37#ifndef _SYS_USER_H_ 38#define _SYS_USER_H_ 39 40#include <machine/pcb.h> 41#ifndef KERNEL 42/* stuff that *used* to be included by user.h, or is now needed */ --- 53 unchanged lines hidden (view full) --- 96 * Per process structure containing data that isn't needed in core 97 * when the process isn't running (esp. when swapped out). 98 * This structure may or may not be at the same kernel address 99 * in all processes. 100 */ 101 102struct user { 103 struct pcb u_pcb; | 35 */ 36 37#ifndef _SYS_USER_H_ 38#define _SYS_USER_H_ 39 40#include <machine/pcb.h> 41#ifndef KERNEL 42/* stuff that *used* to be included by user.h, or is now needed */ --- 53 unchanged lines hidden (view full) --- 96 * Per process structure containing data that isn't needed in core 97 * when the process isn't running (esp. when swapped out). 98 * This structure may or may not be at the same kernel address 99 * in all processes. 100 */ 101 102struct user { 103 struct pcb u_pcb; |
104 105#ifndef COMPAT_LINUX_THREADS | |
106 struct sigacts u_sigacts; /* p_sigacts points here (use it!) */ | 104 struct sigacts u_sigacts; /* p_sigacts points here (use it!) */ |
107#endif /* COMPAT_LINUX_THREADS */ | |
108 struct pstats u_stats; /* p_stats points here (use it!) */ | 105 struct pstats u_stats; /* p_stats points here (use it!) */ |
109 | |
110 /* 111 * Remaining fields only for core dump and/or ptrace-- 112 * not valid at other times! 113 */ 114 struct kinfo_proc u_kproc; /* proc + eproc */ 115 struct md_coredump u_md; /* machine dependent glop */ 116}; 117 --- 32 unchanged lines hidden --- | 106 /* 107 * Remaining fields only for core dump and/or ptrace-- 108 * not valid at other times! 109 */ 110 struct kinfo_proc u_kproc; /* proc + eproc */ 111 struct md_coredump u_md; /* machine dependent glop */ 112}; 113 --- 32 unchanged lines hidden --- |