Searched refs:pid (Results 1 – 11 of 11) sorted by relevance
/security/apparmor/ |
D | audit.c | 135 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/ |
D | request_key_auth.c | 63 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()
|
D | internal.h | 191 pid_t pid; member
|
D | keyctl.c | 1512 if (parent->pid <= 1 || !parent->mm) in keyctl_session_to_parent()
|
/security/tomoyo/ |
D | memory.c | 20 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()
|
D | realpath.c | 157 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()
|
D | common.c | 946 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 …]
|
D | common.h | 1122 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/ |
D | yama_lsm.c | 226 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/ |
D | ima_audit.c | 42 current->pid, in integrity_audit_msg()
|
/security/ |
D | lsm_audit.c | 296 if (tsk && tsk->pid) { in dump_common_audit_data()
|