Searched refs:P_SUGID (Results 1 - 5 of 5) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_prot.c673 * we use P_SUGID because we consider changing the owners as
680 *retval = (p->p_flag & P_SUGID) ? 1 : 0;
789 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag);
874 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag);
973 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag);
981 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag);
992 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag);
1016 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag); /* XXX redundant? */
1116 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag);
1202 OSBitOrAtomic(P_SUGID, (UInt3
[all...]
H A Dmach_process.c423 ISSET(traced_procp->p_flag, P_SUGID)) &&
H A Dkern_exec.c2517 * Initially clear the P_SUGID in the process flags; if an SUGID process is
2522 * mach task port to revoke it, set the P_SUGID bit,
2537 * <process flags> P_SUGID bit potentially modified
2568 OSBitAndAtomic(~((uint32_t)P_SUGID), (UInt32 *)&p->p_flag);
2635 * set the P_SUGID bit. This protects
2667 * So we don't set the P_SUGID on the basis of simply
2671 OSBitOrAtomic(P_SUGID, (UInt32 *)&p->p_flag);
2743 * code, or we can indicate we want to default the P_SUGID
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dproc.h173 #define P_SUGID 0x00000100 /* Has set privileges since last exec */ macro
/macosx-10.5.8/xnu-1228.15.4/bsd/vm/
H A Dvm_unix.c456 if (target->p_flag & P_SUGID) {

Completed in 40 milliseconds