Searched refs:target_proc (Results 1 - 3 of 3) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dprocess_policy.c113 proc_t target_proc = PROC_NULL; local
123 target_proc = proc_find(target_pid);
124 if (target_proc == PROC_NULL) {
131 target_cred = kauth_cred_proc_ref(target_proc);
155 error = mac_proc_check_sched(curp, target_proc);
166 error = handle_background(scope, action, policy, policy_subtype, attrp, target_proc, target_threadid);
169 error = handle_hwaccess(scope, action, policy, policy_subtype, attrp, target_proc, target_threadid);
172 error = handle_lowresrouce(scope, action, policy, policy_subtype, attrp, target_proc, target_threadid);
175 error = handle_resourceuse(scope, action, policy, policy_subtype, attrp, target_proc, target_threadid);
179 error = handle_applifecycle(scope, action, policy, policy_subtype, attrp, target_proc, target_threadi
504 handle_apptype(__unused int scope, int action, __unused int policy, int policy_subtype, __unused user_addr_t attrp, proc_t target_proc, __unused uint64_t target_threadid) argument
[all...]
H A Dvm_pressure.c274 proc_t target_proc = PROC_NULL; local
320 target_proc = p;
338 target_proc = proc_find(target_pid);
339 if (target_proc != PROC_NULL) {
344 microuptime(&target_proc->vm_pressure_last_notify_tstamp);
345 proc_rele(target_proc);
H A Dkern_prot.c1471 proc_t target_proc; local
1499 target_proc = proc_find(uap->pid);
1501 if (target_proc == NULL || target_proc == kernproc) {
1502 if (target_proc!= NULL)
1503 proc_rele(target_proc);
1521 my_target_cred = kauth_cred_proc_ref(target_proc);
1530 proc_rele(target_proc);

Completed in 79 milliseconds