Home
last modified time | relevance | path

Searched refs:current_cached_proc_cred (Results 1 – 18 of 18) sorted by relevance

/xnu-10063.101.15/security/ !
H A Dmac_process.c395 MAC_CHECK(proc_check_remote_thread_create, current_cached_proc_cred(curp), in mac_proc_check_remote_thread_create()
406 current_cached_proc_cred(PROC_NULL), sp_info); in mac_proc_notify_service_port_derive()
424 MAC_CHECK(proc_check_fork, current_cached_proc_cred(curp), curp); in mac_proc_check_fork()
511 MAC_CHECK(proc_check_memorystatus_control, current_cached_proc_cred(proc), in mac_proc_check_memorystatus_control()
533 MAC_CHECK(proc_check_mprotect, current_cached_proc_cred(proc), in mac_proc_check_mprotect()
577 MAC_CHECK(proc_check_sched, current_cached_proc_cred(curp), proc); in mac_proc_check_sched()
597 MAC_CHECK(proc_check_signal, current_cached_proc_cred(curp), proc, signum); in mac_proc_check_signal()
637 MAC_CHECK(proc_check_wait, current_cached_proc_cred(curp), proc); in mac_proc_check_wait()
664 MAC_CHECK(proc_check_suspend_resume, current_cached_proc_cred(curp), in mac_proc_check_suspend_resume()
685 MAC_CHECK(proc_check_ledger, current_cached_proc_cred(curp), in mac_proc_check_ledger()
[all …]
H A Dmac_mach.c123 current_cached_proc_cred(PROC_NULL), pidentp, flavor); in mac_task_check_task_id_token_get_task()
134 current_cached_proc_cred(PROC_NULL)); in mac_task_check_get_movable_control_port()
147 current_cached_proc_cred(PROC_NULL), id, port); in mac_task_check_set_host_special_port()
160 current_cached_proc_cred(PROC_NULL), exception); in mac_task_check_set_host_exception_port()
189 current_cached_proc_cred(PROC_NULL), pidentp, which); in mac_task_check_get_task_special_port()
217 current_cached_proc_cred(PROC_NULL), &pident, which, port); in mac_task_check_set_task_special_port()
228 current_cached_proc_cred(PROC_NULL)); in mac_task_check_dyld_process_info_notify_register()
239 kauth_cred_t cred = current_cached_proc_cred(PROC_NULL); in mac_task_check_set_host_exception_ports()
H A Dmac_necp.c51 MAC_CHECK(necp_check_open, current_cached_proc_cred(proc), flags); in mac_necp_check_open()
71 MAC_CHECK(necp_check_client_action, current_cached_proc_cred(proc), fg, action); in mac_necp_check_client_action()
H A Dmac_audit.c128 MAC_CHECK(proc_check_getauid, current_cached_proc_cred(curp)); in mac_proc_check_getauid()
148 MAC_CHECK(proc_check_setauid, current_cached_proc_cred(curp), auid); in mac_proc_check_setauid()
168 MAC_CHECK(proc_check_getaudit, current_cached_proc_cred(curp)); in mac_proc_check_getaudit()
188 MAC_CHECK(proc_check_setaudit, current_cached_proc_cred(curp), ai); in mac_proc_check_setaudit()
/xnu-10063.101.15/bsd/kern/ !
H A Dkern_xxx.c148 error = mac_system_check_reboot(current_cached_proc_cred(p), uap->opt); in reboot()
H A Dkern_guarded.c449 p_cred = current_cached_proc_cred(p); in guarded_close_np()
766 kauth_cred_t p_cred = current_cached_proc_cred(p); in falloc_guarded()
H A Dkern_credential.c3468 current_cached_proc_cred(proc_t p) in current_cached_proc_cred() function
3482 return mac_label_get(current_cached_proc_cred(PROC_NULL)->cr_label, slot); in current_cached_proc_label_get()
3491 kauth_cred_t cred = current_cached_proc_cred(p); in current_cached_proc_cred_ref()
H A Dkern_descrip.c2392 p_cred = current_cached_proc_cred(p); in sys_dup()
2425 kauth_cred_t p_cred = current_cached_proc_cred(p); in sys_dup2()
2814 p_cred = current_cached_proc_cred(p); in sys_fcntl_nocancel()
5318 kauth_cred_t p_cred = current_cached_proc_cred(p); in sys_close()
5327 kauth_cred_t p_cred = current_cached_proc_cred(p); in sys_close_nocancel()
H A Dposix_sem.c800 p_cred = current_cached_proc_cred(p); in sem_close()
H A Dkern_mman.c436 error = mac_proc_check_map_anon(p, current_cached_proc_cred(p), in mmap()
H A Dkern_event.c3039 error = falloc_withinit(p, current_cached_proc_cred(p), in kqueue_internal()
/xnu-10063.101.15/bsd/security/audit/ !
H A Daudit_syscalls.c1005 id = current_cached_proc_cred(p)->cr_audit.as_aia_p->ai_auid; in getauid()
1037 scred = current_cached_proc_cred(p); in setauid()
1091 scred = current_cached_proc_cred(p); in getaudit_addr()
1126 error = suser(current_cached_proc_cred(p), &p->p_acflag); in setaudit_addr()
/xnu-10063.101.15/bsd/netinet6/ !
H A Dnd6_send.c104 error = mac_system_check_info(current_cached_proc_cred(req->p),
/xnu-10063.101.15/bsd/sys/ !
H A Dfiledesc.h444 falloc_withinit(__p, current_cached_proc_cred(__p), \
H A Dkauth.h244 extern kauth_cred_t current_cached_proc_cred(proc_t) __pure2;
/xnu-10063.101.15/bsd/net/ !
H A Drtsock.c614 cred = current_cached_proc_cred(PROC_NULL); in route_output()
1630 cred = current_cached_proc_cred(PROC_NULL); in sysctl_dumpentry()
1715 cred = current_cached_proc_cred(PROC_NULL); in sysctl_dumpentry_ext()
1781 cred = current_cached_proc_cred(PROC_NULL); in sysctl_iflist()
1952 cred = current_cached_proc_cred(PROC_NULL); in sysctl_iflist2()
H A Dkpi_interface.c2300 cred = current_cached_proc_cred(PROC_NULL); in ifnet_guarded_lladdr_copy_bytes()
/xnu-10063.101.15/bsd/vfs/ !
H A Dvfs_syscalls.c4522 kauth_cred_t p_cred = current_cached_proc_cred(PROC_NULL); in open1()