Lines Matching refs:pid
957 const pid_t pid = current->pid; in tomoyo_manager() local
959 if (last_pid != pid) { in tomoyo_manager()
962 last_pid = pid; in tomoyo_manager()
985 unsigned int pid; in tomoyo_select_domain() local
992 if (sscanf(data, "pid=%u", &pid) == 1 || in tomoyo_select_domain()
993 (global_pid = true, sscanf(data, "global-pid=%u", &pid) == 1)) { in tomoyo_select_domain()
998 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_select_domain()
1000 p = find_task_by_vpid(pid); in tomoyo_select_domain()
1007 } else if (sscanf(data, "Q=%u", &pid) == 1) { in tomoyo_select_domain()
1008 domain = tomoyo_find_domain_by_qid(pid); in tomoyo_select_domain()
1692 unsigned int pid; in tomoyo_read_pid() local
1706 if (kstrtouint(buf, 10, &pid)) in tomoyo_read_pid()
1710 p = find_task_by_pid_ns(pid, &init_pid_ns); in tomoyo_read_pid()
1712 p = find_task_by_vpid(pid); in tomoyo_read_pid()
1718 tomoyo_io_printf(head, "%u %u ", pid, domain->profile); in tomoyo_read_pid()