Home
last modified time | relevance | path

Searched refs:proc_ident (Results 1 – 12 of 12) sorted by relevance

/xnu-12377.1.9/bsd/sys/
H A Dkernel_types.h71 struct proc_ident;
72 typedef struct proc_ident * proc_ident_t;
73 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct proc_ident, proc_ident);
146 typedef struct proc_ident * proc_ident_t;
147 __CCT_DECLARE_CONSTRAINED_PTR_TYPES(struct proc_ident, proc_ident);
H A Dproc.h100 struct proc_ident;
H A Dproc_internal.h763 struct proc_ident { struct
1065 extern struct proc_ident proc_ident_with_policy(proc_t p, proc_ident_validation_policy_t policy);
/xnu-12377.1.9/security/
H A Dmac_mach.c90 struct proc_ident pident = proc_ident_with_policy(p, IDENT_VALIDATION_PROC_EXACT); in mac_task_check_expose_task()
105 struct proc_ident *pidentp = NULL; in mac_task_check_task_id_token_get_task()
106 struct proc_ident pident; in mac_task_check_task_id_token_get_task()
171 struct proc_ident *pidentp = NULL; in mac_task_check_get_task_special_port()
172 struct proc_ident pident; in mac_task_check_get_task_special_port()
212 struct proc_ident pident = proc_ident_with_policy(targetp, IDENT_VALIDATION_PROC_EXACT); in mac_task_check_set_task_special_port()
241 struct proc_ident pident = proc_ident_with_policy(targetp, IDENT_VALIDATION_PROC_EXACT); in mac_task_check_set_task_exception_ports()
277 struct proc_ident pident = proc_ident_with_policy(targetp, IDENT_VALIDATION_PROC_EXACT); in mac_task_check_set_thread_exception_ports()
H A Dmac_policy.h2262 struct proc_ident *pident
2315 struct proc_ident *pident,
2330 struct proc_ident *pident,
2346 struct proc_ident *pident,
2362 struct proc_ident *pident,
3711 struct proc_ident *pident,
3732 struct proc_ident *pident,
3752 struct proc_ident *pident, /* Nullable */
/xnu-12377.1.9/osfmk/kern/
H A Dtask_ident.h70 struct proc_ident { struct
77 struct proc_ident ident; argument
H A Dtask_ident.c44 extern void* proc_find_ident(struct proc_ident const *i);
47 extern struct proc_ident proc_ident_with_policy(void* p, uint8_t policy);
/xnu-12377.1.9/bsd/kern/
H A Dmach_process.c121 struct proc_ident tident; /* target ident */ in ptrace()
184 struct proc_ident p_ident = proc_ident_with_policy(p, IDENT_VALIDATION_PROC_EXACT); in ptrace()
185 struct proc_ident pproc_ident = proc_ident_with_policy(pproc, IDENT_VALIDATION_PROC_EXACT); in ptrace()
574 struct proc_ident cur_ident = proc_ident_with_policy(cur_procp, IDENT_VALIDATION_PROC_EXACT); in cantrace()
575 struct proc_ident traced_ident = proc_ident_with_policy(traced_procp, IDENT_VALIDATION_PROC_EXACT); in cantrace()
H A Dkern_proc.c424 struct proc_ident
427 struct proc_ident ident = { in proc_ident_with_policy()
5709 struct proc_ident pident = {0}; in task_for_pid()
5897 struct proc_ident pident = proc_ident_with_policy(p, IDENT_VALIDATION_PROC_EXACT); in task_name_for_pid()
5966 struct proc_ident pident = {0}; in task_inspect_for_pid()
6088 struct proc_ident pident = {0}; in task_read_for_pid()
6295 struct proc_ident pident = {0}; in debug_control_port_for_pid()
H A Dproc_info.c3568 struct proc_ident i_ident; in psignal_by_audit_token()
3569 struct proc_ident t_ident; in psignal_by_audit_token()
H A Dkern_sig.c372 …struct proc_ident dst_ident = proc_ident_with_policy(dst, IDENT_VALIDATION_PROC_MAY_EXEC | IDENT_V… in cansignal()
/xnu-12377.1.9/bsd/dev/dtrace/
H A Dfasttrap.c595 struct proc_ident pident = proc_ident_with_policy(p, IDENT_VALIDATION_PROC_EXACT); in fasttrap_setdebug()
2431 struct proc_ident cur_ident = proc_ident_with_policy(current_proc(), IDENT_VALIDATION_PROC_EXACT); in fasttrap_check_cred_priv()
2432 struct proc_ident p_ident = proc_ident_with_policy(p, IDENT_VALIDATION_PROC_EXACT); in fasttrap_check_cred_priv()