Lines Matching refs:curp
114 mac_proc_check_getauid(struct proc *curp)
120 !mac_proc_check_enforce(curp, MAC_PROC_ENFORCE))
123 cred = kauth_cred_proc_ref(curp);
131 mac_proc_check_setauid(struct proc *curp, uid_t auid)
137 !mac_proc_check_enforce(curp, MAC_PROC_ENFORCE))
140 cred = kauth_cred_proc_ref(curp);
148 mac_proc_check_getaudit(struct proc *curp)
154 !mac_proc_check_enforce(curp, MAC_PROC_ENFORCE))
157 cred = kauth_cred_proc_ref(curp);
165 mac_proc_check_setaudit(struct proc *curp, struct auditinfo *ai)
171 !mac_proc_check_enforce(curp, MAC_PROC_ENFORCE))
174 cred = kauth_cred_proc_ref(curp);
349 mac_proc_check_getauid(__unused struct proc *curp)
356 mac_proc_check_setauid(__unused struct proc *curp, __unused uid_t auid)
363 mac_proc_check_getaudit(__unused struct proc *curp)
370 mac_proc_check_setaudit(__unused struct proc *curp, struct auditinfo *ai)