summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/sys/procfs.h
diff options
context:
space:
mode:
authorraf <none@none>2006-12-13 11:41:29 -0800
committerraf <none@none>2006-12-13 11:41:29 -0800
commit657b1f3d64bcf8eaa2385dba72a6047f089433b2 (patch)
treef39954fcde5cecefa713fa403e7e4b55a83f7c0d /usr/src/uts/common/sys/procfs.h
parent7b55fa8ea6046becb3b72f8886a503979c322084 (diff)
downloadillumos-joyent-657b1f3d64bcf8eaa2385dba72a6047f089433b2.tar.gz
PSARC 2006/659 fork extensions
6497356 fork extensions --HG-- rename : usr/src/lib/libc/amd64/sys/forkall.s => usr/src/lib/libc/amd64/sys/forkallx.s rename : usr/src/lib/libc/amd64/sys/fork1.s => usr/src/lib/libc/amd64/sys/forkx.s rename : usr/src/lib/libc/amd64/sys/vfork.s => usr/src/lib/libc/amd64/sys/vforkx.s rename : usr/src/lib/libc/i386/sys/forkall.s => usr/src/lib/libc/i386/sys/forkallx.s rename : usr/src/lib/libc/i386/sys/fork1.s => usr/src/lib/libc/i386/sys/forkx.s rename : usr/src/lib/libc/i386/sys/vfork.s => usr/src/lib/libc/i386/sys/vforkx.s rename : usr/src/lib/libc/sparc/sys/forkall.s => usr/src/lib/libc/sparc/sys/forkallx.s rename : usr/src/lib/libc/sparc/sys/fork1.s => usr/src/lib/libc/sparc/sys/forkx.s rename : usr/src/lib/libc/sparc/sys/vfork.s => usr/src/lib/libc/sparc/sys/vforkx.s
Diffstat (limited to 'usr/src/uts/common/sys/procfs.h')
-rw-r--r--usr/src/uts/common/sys/procfs.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/uts/common/sys/procfs.h b/usr/src/uts/common/sys/procfs.h
index 673c963a42..b320836182 100644
--- a/usr/src/uts/common/sys/procfs.h
+++ b/usr/src/uts/common/sys/procfs.h
@@ -202,10 +202,13 @@ typedef struct pstatus {
#define PR_AGENT 0x00000080 /* this lwp is the /proc agent lwp */
#define PR_DETACH 0x00000100 /* this is a detached lwp */
#define PR_DAEMON 0x00000200 /* this is a daemon lwp */
+#define PR_IDLE 0x00000400 /* lwp is a cpu's idle thread */
/* The following flags apply to the process, not to an individual lwp */
#define PR_ISSYS 0x00001000 /* this is a system process */
#define PR_VFORKP 0x00002000 /* process is the parent of a vfork()d child */
#define PR_ORPHAN 0x00004000 /* process's process group is orphaned */
+#define PR_NOSIGCHLD 0x00008000 /* process will not generate SIGCHLD on exit */
+#define PR_WAITPID 0x00010000 /* only waitid(P_PID, pid) can reap the child */
/* The following process flags are modes settable by PCSET/PCUNSET */
#define PR_FORK 0x00100000 /* inherit-on-fork is in effect */
#define PR_RLC 0x00200000 /* run-on-last-close is in effect */
@@ -215,7 +218,6 @@ typedef struct pstatus {
#define PR_BPTADJ 0x02000000 /* breakpoint trap pc adjustment is in effect */
#define PR_PTRACE 0x04000000 /* ptrace-compatibility mode is in effect */
#define PR_MSFORK 0x08000000 /* micro-state accounting inherited on fork */
-#define PR_IDLE 0x10000000 /* lwp is a cpu's idle thread */
/*
* See <sys/procfs_isa.h> for possible values of pr_dmodel.