Lines Matching +full:protect +full:- +full:exec
77 id_t le_lwpid; /* its lwpid (t->t_tid) */
95 * Elements of the lwp directory, p->p_lwpdir[].
103 * p->p_lwpfree, linked through ld_next. If ld_entry != NULL, the
104 * entry is used and ld_next is the thread-id hash link pointer.
112 * Element of the p_tidhash thread-id (lwpid) hash table.
138 * out. Other per-process data (user.h) is also inside the proc structure.
139 * Lightweight-process data (lwp.h) and the kernel stack may be swapped out.
184 uint_t p_proc_flag; /* /proc-related flags */
211 * Special per-process flag when set will fix misaligned memory
266 * Microstate accounting, resource usage, and real-time profiling
268 hrtime_t p_mstart; /* hi-res process start time */
269 hrtime_t p_mterm; /* hi-res process termination time */
319 model_t p_model; /* data model determined at exec time */
332 rlim64_t p_vmem_ctl; /* currently enforced addr-space size */
333 rlim64_t p_fno_ctl; /* currently enforced file-desc limit */
340 struct ct_equeue **p_ct_equeue; /* process-type event queues */
353 uint_t p_poolflag; /* pool-related flags (see below) */
354 uint_t p_upanicflag; /* upanic-related flags (see below) */
360 void *p_brand_data; /* per-process brand state */
361 psecflags_t p_secflags; /* per-process security flags */
363 /* additional lock to protect p_sessp (but not its contents) */
390 extern proc_t *proc_fsflush; /* filesystem sync-er */
396 * It is tracked on a per-zone basis; that is, if users in different
423 #define p_pgrp p_pgidp->pid_id
424 #define p_pid p_pidp->pid_id
425 #define p_slot p_pidp->pid_prslot
426 #define p_detached p_pgidp->pid_pgorphaned
429 ++(pidp)->pid_ref;
431 (pidp)->pid_ref > 1 ? \
432 --(pidp)->pid_ref : pid_rele(pidp);
436 * macro allow "mutex_enter(&p->p_lock)" to continue working.
441 #define p_lock p_lockp->pl_lock
469 /* p_proc_flag codes -- these flags are mostly private to /proc */
475 #define P_PR_EXEC 0x0020 /* process is in exec() */
498 #define SUGID 0x00002000 /* process was result of set[ug]id exec */
502 #define SVFORK 0x00040000 /* child of vfork that has not yet exec'd */
503 #define SVFWAIT 0x00080000 /* parent of vfork waiting for child to exec */
508 #define SMSACCT 0x02000000 /* process is keeping micro-state accounting */
513 #define SMSFORK 0x40000000 /* child inherits micro-state accounting */
520 * re-binding of processes to new pools.
522 #define PBWAIT 0x0001 /* process should wait outside fork/exec/exit */
534 #define PTOU(p) (&(p)->p_user)
536 #define tracing(p, sig) (sigismember(&(p)->p_sigmask, sig))
545 * 2. uses bit-wise OR of tests, since the usual case is that none of them
554 ((lwp)->lwp_cursig | \
556 (p)->p_stopsig | \
557 (t)->t_dtrace_stop | \
558 (t)->t_dtrace_sig | \
559 ((t)->t_proc_flag & (TP_PRSTOP|TP_HOLDLWP|TP_CHKPT|TP_PAUSE)) | \
560 ((p)->p_flag & (SEXITLWPS|SKILLED|SHOLDFORK1|SHOLDWATCH)))
562 #define ISSTOP(sig) (u.u_signal[sig-1] == SIG_DFL && \
565 #define ISHOLD(p) ((p)->p_flag & SHOLDFORK)
567 #define MUSTRETURN(p, t) (ISHOLD(p) | (t)->t_activefd.a_stale)
572 #define pr_watch_active(p) (avl_numnodes(&(p)->p_warea) != 0)
576 #define FORREAL 0 /* Usual side-effects */
583 /* pseudo-flag to lwp_create() */
584 #define NOCLASS (-1)
587 #define CLASS_UNUSED (-2)