Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/sched_setaffinity/
Dsched_setaffinity01.c53 static pid_t self_pid, privileged_pid, free_pid; variable
68 {&privileged_pid, &mask_size, &mask, EPERM},
87 if (privileged_pid > 0) { in cleanup()
88 kill(privileged_pid, SIGKILL); in cleanup()
89 waitpid(privileged_pid, NULL, 0); in cleanup()
90 privileged_pid = 0; in cleanup()
118 privileged_pid = tst_fork(); in setup()
119 if (privileged_pid == 0) { in setup()
123 } else if (privileged_pid < 0) { in setup()