Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 11 of 11) sorted by relevance

/security/keys/
Drequest_key_auth.c75 seq_printf(m, " pid:%d ci:%zu", rka->pid, rka->callout_len); in request_key_auth_describe()
200 rka->pid = irka->pid; in request_key_auth_new()
207 rka->pid = current->pid; in request_key_auth_new()
Dkeyctl.c1663 if (parent->pid <= 1 || !parent->mm) in keyctl_session_to_parent()
/security/tomoyo/
Dmemory.c21 const pid_t pid = current->pid; in tomoyo_warn_oom() local
23 if (tomoyo_last_pid != pid) { in tomoyo_warn_oom()
25 tomoyo_last_pid = pid; in tomoyo_warn_oom()
Drealpath.c164 const pid_t pid = (pid_t) simple_strtoul(pos + 1, &ep, 10); in tomoyo_get_local_path() local
167 if (*ep == '/' && pid && pid == in tomoyo_get_local_path()
Dcommon.c965 const pid_t pid = current->pid; in tomoyo_manager() local
967 if (last_pid != pid) { in tomoyo_manager()
970 last_pid = pid; in tomoyo_manager()
993 unsigned int pid; in tomoyo_select_domain() local
1000 if (sscanf(data, "pid=%u", &pid) == 1 || in tomoyo_select_domain()
1001 (global_pid = true, sscanf(data, "global-pid=%u", &pid) == 1)) { in tomoyo_select_domain()
1006 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_select_domain()
1008 p = find_task_by_vpid(pid); in tomoyo_select_domain()
1015 } else if (sscanf(data, "Q=%u", &pid) == 1) { in tomoyo_select_domain()
1016 domain = tomoyo_find_domain_by_qid(pid); in tomoyo_select_domain()
[all …]
Dcommon.h1136 pid_t pid; in tomoyo_sys_getppid() local
1139 pid = task_tgid_vnr(rcu_dereference(current->real_parent)); in tomoyo_sys_getppid()
1141 return pid; in tomoyo_sys_getppid()
/security/yama/
Dyama_lsm.c62 info->access, target_cmd, info->target->pid, agent_cmd, in __report_access()
63 info->agent->pid); in __report_access()
88 access, target->comm, target->pid, in report_access()
89 get_task_comm(agent_comm, agent), agent->pid); in report_access()
284 while (walker->pid > 0) { in task_is_descendant()
/security/apparmor/
Dprocattr.c130 , __func__, current->pid, token, count, hat); in aa_setprocattr_changehat()
135 __func__, current->pid, token, count, "<NULL>"); in aa_setprocattr_changehat()
/security/
Dlsm_audit.c311 pid_t pid = task_tgid_nr(tsk); in dump_common_audit_data() local
312 if (pid) { in dump_common_audit_data()
314 audit_log_format(ab, " opid=%d ocomm=", pid); in dump_common_audit_data()
DKconfig.hardening198 the /proc file system. In particular, /proc/<pid>/stack_depth
/security/selinux/
Dselinuxfs.c759 comm, current->pid); in sel_write_checkreqprot()