Searched refs:PID_MAX (Results 1 - 6 of 6) sorted by relevance

/xnu-2782.1.97/bsd/security/audit/
H A Daudit_private.h52 #include <sys/proc_internal.h> /* for PID_MAX */
455 * Kernel assigned audit session IDs start at PID_MAX + 1 and ends at
458 #define ASSIGNED_ASID_MIN (PID_MAX + 1)
H A Daudit_syscalls.c93 #define IS_NOT_VALID_PID(p) ((p) < 1 || (p) > PID_MAX)
112 * Macro to warn about using ASID's outside the range [1 to PID_MAX] to
116 if (((asid) < 1 || (asid) > PID_MAX) && \
124 (scall), pn, (uint32_t)(asid), PID_MAX, pn); \
H A Daudit_session.c763 KASSERT(old_val <= PID_MAX,
764 ("audit_inc_procount: proc count > PID_MAX"));
1049 KASSERT((ASSIGNED_ASID_MAX - ASSIGNED_ASID_MIN) > PID_MAX,
/xnu-2782.1.97/bsd/sys/
H A Dproc_internal.h635 * We use process IDs <= PID_MAX; PID_MAX + 1 must also fit in a pid_t,
643 #define PID_MAX 99999 macro
/xnu-2782.1.97/bsd/kern/
H A Dkern_fork.c1176 if (nextpid >= PID_MAX) {
H A Dkern_event.c490 assert(PID_MAX < NOTE_PDATAMASK);

Completed in 45 milliseconds