Searched refs:sec_token (Results 1 - 9 of 9) sorted by relevance
/darwin-on-arm/xnu/osfmk/mach/ |
H A D | host_security.defs | 84 sec_token : security_token_t; 97 sec_token : security_token_t;
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_prot.c | 1992 security_token_t sec_token; local 2016 sec_token.val[0] = kauth_cred_getuid(my_cred); 2017 sec_token.val[1] = kauth_cred_getgid(my_cred); 2019 sec_token.val[0] = 0; 2020 sec_token.val[1] = 0; 2045 host_priv = (sec_token.val[0]) ? HOST_PRIV_NULL : host_priv_self(); 2054 sec_token,
|
/darwin-on-arm/xnu/osfmk/kern/ |
H A D | task.c | 338 __unused security_token_t sec_token, 510 new_task->sec_token = parent_task->sec_token; 542 new_task->sec_token = KERNEL_SECURITY_TOKEN; 1508 security_token_t sec_token, 1522 task->sec_token = sec_token; 1990 *sec_token_p = task->sec_token; 335 host_security_create_task_token( host_security_t host_security, task_t parent_task, __unused security_token_t sec_token, __unused audit_token_t audit_token, __unused host_priv_t host_priv, __unused ledger_port_array_t ledger_ports, __unused mach_msg_type_number_t num_ledger_ports, __unused boolean_t inherit_memory, __unused task_t *child_task) argument 1505 host_security_set_task_token( host_security_t host_security, task_t task, security_token_t sec_token, audit_token_t audit_token, host_priv_t host_priv) argument
|
H A D | ipc_tt.c | 1481 boolean_t privileged = current_task()->sec_token.val[0] == 0; 1552 boolean_t privileged = current_task()->sec_token.val[0] == 0; 1648 boolean_t privileged = current_task()->sec_token.val[0] == 0; 1744 boolean_t privileged = current_task()->sec_token.val[0] == 0;
|
H A D | ipc_mig.c | 451 max_trailer->msgh_sender = current_thread()->task->sec_token;
|
H A D | task.h | 265 security_token_t sec_token; member in struct:task
|
H A D | task_policy.c | 250 task->sec_token.val[0] != 0) 260 task->sec_token.val[0] != 0)
|
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | mach_msg.c | 216 trailer->msgh_sender = current_thread()->task->sec_token;
|
H A D | ipc_kmsg.c | 1208 trailer->msgh_sender = current_thread()->task->sec_token;
|
Completed in 96 milliseconds