10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
27 /* All Rights Reserved */
28
29 /*
30 * Copyright (c) 2013, Joyent, Inc. All rights reserved.
31 */
32
33 #ifndef _SYS_PROC_PRDATA_H
34 #define _SYS_PROC_PRDATA_H
35
36 #include <sys/isa_defs.h>
37 #include <sys/proc.h>
38 #include <sys/vnode.h>
39 #include <sys/prsystm.h>
40 #include <sys/model.h>
41 #include <sys/poll.h>
42 #include <sys/list.h>
43
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47
48 /*
49 * Test for thread being stopped, not on an event of interest,
50 * but with a directed stop in effect.
119 PR_XMAP, /* /proc/<pid>/xmap */
120 PR_CRED, /* /proc/<pid>/cred */
121 PR_SIGACT, /* /proc/<pid>/sigact */
122 PR_AUXV, /* /proc/<pid>/auxv */
123 #if defined(__i386) || defined(__amd64)
124 PR_LDT, /* /proc/<pid>/ldt */
125 #endif
126 PR_USAGE, /* /proc/<pid>/usage */
127 PR_LUSAGE, /* /proc/<pid>/lusage */
128 PR_PAGEDATA, /* /proc/<pid>/pagedata */
129 PR_WATCH, /* /proc/<pid>/watch */
130 PR_CURDIR, /* /proc/<pid>/cwd */
131 PR_ROOTDIR, /* /proc/<pid>/root */
132 PR_FDDIR, /* /proc/<pid>/fd */
133 PR_FD, /* /proc/<pid>/fd/nn */
134 PR_OBJECTDIR, /* /proc/<pid>/object */
135 PR_OBJECT, /* /proc/<pid>/object/xxx */
136 PR_LWPDIR, /* /proc/<pid>/lwp */
137 PR_LWPIDDIR, /* /proc/<pid>/lwp/<lwpid> */
138 PR_LWPCTL, /* /proc/<pid>/lwp/<lwpid>/lwpctl */
139 PR_LWPSTATUS, /* /proc/<pid>/lwp/<lwpid>/lwpstatus */
140 PR_LWPSINFO, /* /proc/<pid>/lwp/<lwpid>/lwpsinfo */
141 PR_LWPUSAGE, /* /proc/<pid>/lwp/<lwpid>/lwpusage */
142 PR_XREGS, /* /proc/<pid>/lwp/<lwpid>/xregs */
143 PR_TMPLDIR, /* /proc/<pid>/lwp/<lwpid>/templates */
144 PR_TMPL, /* /proc/<pid>/lwp/<lwpid>/templates/<id> */
145 PR_SPYMASTER, /* /proc/<pid>/lwp/<lwpid>/spymaster */
146 #if defined(__sparc)
147 PR_GWINDOWS, /* /proc/<pid>/lwp/<lwpid>/gwindows */
148 PR_ASRS, /* /proc/<pid>/lwp/<lwpid>/asrs */
149 #endif
150 PR_PRIV, /* /proc/<pid>/priv */
151 PR_PATHDIR, /* /proc/<pid>/path */
152 PR_PATH, /* /proc/<pid>/path/xxx */
153 PR_CTDIR, /* /proc/<pid>/contracts */
154 PR_CT, /* /proc/<pid>/contracts/<ctid> */
155 PR_SECFLAGS, /* /proc/<pid>/secflags */
156 PR_PIDFILE, /* old process file */
157 PR_LWPIDFILE, /* old lwp file */
158 PR_OPAGEDATA, /* old page data file */
|
10 * See the License for the specific language governing permissions
11 * and limitations under the License.
12 *
13 * When distributing Covered Code, include this CDDL HEADER in each
14 * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 * If applicable, add the following below this CDDL HEADER, with the
16 * fields enclosed by brackets "[]" replaced with your own identifying
17 * information: Portions Copyright [yyyy] [name of copyright owner]
18 *
19 * CDDL HEADER END
20 */
21 /*
22 * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
23 * Use is subject to license terms.
24 */
25
26 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */
27 /* All Rights Reserved */
28
29 /*
30 * Copyright 2018 Joyent, Inc.
31 */
32
33 #ifndef _SYS_PROC_PRDATA_H
34 #define _SYS_PROC_PRDATA_H
35
36 #include <sys/isa_defs.h>
37 #include <sys/proc.h>
38 #include <sys/vnode.h>
39 #include <sys/prsystm.h>
40 #include <sys/model.h>
41 #include <sys/poll.h>
42 #include <sys/list.h>
43
44 #ifdef __cplusplus
45 extern "C" {
46 #endif
47
48 /*
49 * Test for thread being stopped, not on an event of interest,
50 * but with a directed stop in effect.
119 PR_XMAP, /* /proc/<pid>/xmap */
120 PR_CRED, /* /proc/<pid>/cred */
121 PR_SIGACT, /* /proc/<pid>/sigact */
122 PR_AUXV, /* /proc/<pid>/auxv */
123 #if defined(__i386) || defined(__amd64)
124 PR_LDT, /* /proc/<pid>/ldt */
125 #endif
126 PR_USAGE, /* /proc/<pid>/usage */
127 PR_LUSAGE, /* /proc/<pid>/lusage */
128 PR_PAGEDATA, /* /proc/<pid>/pagedata */
129 PR_WATCH, /* /proc/<pid>/watch */
130 PR_CURDIR, /* /proc/<pid>/cwd */
131 PR_ROOTDIR, /* /proc/<pid>/root */
132 PR_FDDIR, /* /proc/<pid>/fd */
133 PR_FD, /* /proc/<pid>/fd/nn */
134 PR_OBJECTDIR, /* /proc/<pid>/object */
135 PR_OBJECT, /* /proc/<pid>/object/xxx */
136 PR_LWPDIR, /* /proc/<pid>/lwp */
137 PR_LWPIDDIR, /* /proc/<pid>/lwp/<lwpid> */
138 PR_LWPCTL, /* /proc/<pid>/lwp/<lwpid>/lwpctl */
139 PR_LWPNAME, /* /proc/<pid>/lwp/<lwpid>/lwpname */
140 PR_LWPSTATUS, /* /proc/<pid>/lwp/<lwpid>/lwpstatus */
141 PR_LWPSINFO, /* /proc/<pid>/lwp/<lwpid>/lwpsinfo */
142 PR_LWPUSAGE, /* /proc/<pid>/lwp/<lwpid>/lwpusage */
143 PR_XREGS, /* /proc/<pid>/lwp/<lwpid>/xregs */
144 PR_TMPLDIR, /* /proc/<pid>/lwp/<lwpid>/templates */
145 PR_TMPL, /* /proc/<pid>/lwp/<lwpid>/templates/<id> */
146 PR_SPYMASTER, /* /proc/<pid>/lwp/<lwpid>/spymaster */
147 #if defined(__sparc)
148 PR_GWINDOWS, /* /proc/<pid>/lwp/<lwpid>/gwindows */
149 PR_ASRS, /* /proc/<pid>/lwp/<lwpid>/asrs */
150 #endif
151 PR_PRIV, /* /proc/<pid>/priv */
152 PR_PATHDIR, /* /proc/<pid>/path */
153 PR_PATH, /* /proc/<pid>/path/xxx */
154 PR_CTDIR, /* /proc/<pid>/contracts */
155 PR_CT, /* /proc/<pid>/contracts/<ctid> */
156 PR_SECFLAGS, /* /proc/<pid>/secflags */
157 PR_PIDFILE, /* old process file */
158 PR_LWPIDFILE, /* old lwp file */
159 PR_OPAGEDATA, /* old page data file */
|