Home
last modified time | relevance | path

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

/security/apparmor/
Daudit.c135 pid_t pid; in audit_pre() local
137 pid = rcu_dereference(tsk->real_parent)->pid; in audit_pre()
139 audit_log_format(ab, " parent=%d", pid); in audit_pre()
154 audit_log_format(ab, " pid=%d comm=", tsk->pid); in audit_pre()
/security/keys/
Drequest_key_auth.c63 seq_printf(m, " pid:%d ci:%zu", rka->pid, rka->callout_len); in request_key_auth_describe()
170 rka->pid = irka->pid; in request_key_auth_new()
177 rka->pid = current->pid; in request_key_auth_new()
Dinternal.h191 pid_t pid; member
Dkeyctl.c1512 if (parent->pid <= 1 || !parent->mm) in keyctl_session_to_parent()
/security/tomoyo/
Dmemory.c20 const pid_t pid = current->pid; in tomoyo_warn_oom() local
21 if (tomoyo_last_pid != pid) { in tomoyo_warn_oom()
24 tomoyo_last_pid = pid; in tomoyo_warn_oom()
Drealpath.c157 const pid_t pid = (pid_t) simple_strtoul(pos + 1, &ep, 10); in tomoyo_get_local_path() local
158 if (*ep == '/' && pid && pid == in tomoyo_get_local_path()
Dcommon.c946 const pid_t pid = current->pid; in tomoyo_manager() local
947 if (last_pid != pid) { in tomoyo_manager()
950 last_pid = pid; in tomoyo_manager()
973 unsigned int pid; in tomoyo_select_domain() local
979 if (sscanf(data, "pid=%u", &pid) == 1 || in tomoyo_select_domain()
980 (global_pid = true, sscanf(data, "global-pid=%u", &pid) == 1)) { in tomoyo_select_domain()
984 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_select_domain()
986 p = find_task_by_vpid(pid); in tomoyo_select_domain()
993 } else if (sscanf(data, "Q=%u", &pid) == 1) { in tomoyo_select_domain()
994 domain = tomoyo_find_domain_by_qid(pid); in tomoyo_select_domain()
[all …]
Dcommon.h1122 pid_t pid; in tomoyo_sys_getppid() local
1124 pid = task_tgid_vnr(rcu_dereference(current->real_parent)); in tomoyo_sys_getppid()
1126 return pid; in tomoyo_sys_getppid()
/security/yama/
Dyama_lsm.c226 while (walker->pid > 0) { in task_is_descendant()
324 child->pid, current->comm, current->pid); in yama_ptrace_access_check()
361 current->pid, parent->comm, parent->pid); in yama_ptrace_traceme()
/security/integrity/ima/
Dima_audit.c42 current->pid, in integrity_audit_msg()
/security/
Dlsm_audit.c296 if (tsk && tsk->pid) { in dump_common_audit_data()