Searched refs:proc_ucred (Results 1 - 9 of 9) sorted by relevance
/darwin-on-arm/xnu/bsd/kern/ |
H A D | mach_process.c | 210 if ( kauth_authorize_process(proc_ucred(p), KAUTH_PROCESS_CANTRACE, 456 if ((kauth_cred_getruid(creds) != kauth_cred_getruid(proc_ucred(traced_procp)) ||
|
H A D | kern_descrip.c | 720 error = mac_file_check_fcntl(proc_ucred(p), fp->f_fglob, uap->cmd, 880 error = mac_file_check_lock(proc_ucred(p), fp->f_fglob, 987 error = mac_file_check_lock(proc_ucred(p), fp->f_fglob, 1802 error = mac_file_check_fcntl(proc_ucred(p), fp2->f_fglob, uap->cmd, 0); 2178 error = mac_file_check_dup(proc_ucred(p), ofp->f_fglob, new); 3990 error = mac_file_check_create(proc_ucred(p)); 4144 || (fp && mac_file_check_inherit(proc_ucred(p), fp->f_fglob)) 4762 error = mac_file_check_lock(proc_ucred(p), fp->f_fglob, F_SETLK, &lf); 5001 myerror = mac_file_check_dup(proc_ucred(p), wfp->f_fglob, dfd);
|
H A D | uipc_socket.c | 2155 if (mac_socket_check_received(proc_ucred(p), so, 3209 error = mac_setsockopt_label(proc_ucred(sopt->sopt_p), 3596 (error = mac_socket_label_get(proc_ucred( 3610 (error = mac_socketpeer_label_get(proc_ucred( 3877 if (mac_socket_check_kqfilter(proc_ucred(p), kn, so) != 0) {
|
H A D | kern_credential.c | 3418 cred = proc_ucred(procp);
|
H A D | kern_proc.c | 781 proc_ucred(proc_t p) function
|
H A D | kern_sig.c | 334 my_cred = proc_ucred(q);
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | proc.h | 275 kauth_cred_t proc_ucred(proc_t p);
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_quota.c | 186 * This use of proc_ucred() is safe because kernproc credential never 190 cred = proc_ucred(kernproc); 331 * This use of proc_ucred() is safe because kernproc credential never 335 cred = proc_ucred(kernproc); 740 /* This use of proc_ucred() is safe because kernproc credential never changes */ 741 cred = proc_ucred(kernproc);
|
H A D | hfs_attrlist.c | 747 cap->ca_mode, mp, proc_ucred(current_proc()), 0);
|
Completed in 54 milliseconds