Home
last modified time | relevance | path

Searched refs:pid (Results 1651 - 1675 of 7565) sorted by relevance

1...<<61626364656667686970>>...303

/third_party/ltp/testcases/kernel/containers/userns/
H A Duserns_helper.h30 int pid, status; in check_newuser() local
35 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWUSER, dummy_child, NULL); in check_newuser()
36 if (pid == -1) in check_newuser()
/third_party/ltp/testcases/kernel/syscalls/setpgrp/
H A Dsetpgrp02.c61 int pid, oldpgrp; in main() local
73 if ((pid = FORK_OR_VFORK()) == -1) { in main()
77 if (pid == 0) { /* child */ in main()
H A Dsetpgrp01.c85 int pid, status; in setup() local
95 if ((pid = FORK_OR_VFORK()) == -1) { in setup()
100 if (pid != 0) { /* parent - sits and waits */ in setup()
/third_party/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
H A Dhugeshmat03.c45 pid_t pid; in verify_hugeshmat() local
47 switch (pid = SAFE_FORK()) { in verify_hugeshmat()
64 SAFE_WAITPID(pid, &status, 0); in verify_hugeshmat()
/third_party/ltp/testcases/kernel/syscalls/execve/
H A Dexecve04.c36 pid_t pid; in verify_execve() local
39 pid = SAFE_FORK(); in verify_execve()
40 if (pid == 0) in verify_execve()
/third_party/ltp/testcases/kernel/syscalls/execveat/
H A Dexecveat03.c58 pid_t pid; in verify_execveat() local
60 pid = SAFE_FORK(); in verify_execveat()
61 if (pid == 0) in verify_execveat()
/third_party/ltp/testcases/kernel/syscalls/ipc/shmget/
H A Dshmget06.c28 static int shm_id[2], pid; variable
50 pid = getpid(); in setup()
51 SAFE_FILE_PRINTF(NEXT_ID_PATH, "%d", pid); in setup()
/third_party/ltp/testcases/kernel/syscalls/personality/
H A Dpersonality01.c56 pid_t pid; in run() local
58 pid = SAFE_FORK(); in run()
59 if (!pid) { in run()
/third_party/ltp/testcases/kernel/syscalls/signal/
H A Dsignal03.c37 pid_t pid; in do_test() local
42 pid = getpid(); in do_test()
44 SAFE_KILL(pid, siglist[n]); in do_test()
/third_party/ltp/testcases/kernel/syscalls/sysctl/
H A Dsysctl03.c79 pid_t pid; in do_test() local
82 pid = SAFE_FORK(); in do_test()
83 if (!pid) { in do_test()
/third_party/ltp/testcases/kernel/syscalls/ipc/msgget/
H A Dmsgget05.c27 static int queue_id[2], pid; variable
49 pid = getpid(); in setup()
50 SAFE_FILE_PRINTF(NEXT_ID_PATH, "%d", pid); in setup()
/third_party/ltp/testcases/kernel/syscalls/setuid/
H A Dsetuid04.c28 pid_t pid; in verify_setuid() local
30 pid = SAFE_FORK(); in verify_setuid()
31 if (!pid) in verify_setuid()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
H A D7-1.c32 int pid; in main() local
35 if ((pid = fork()) == 0) { in main()
70 if (kill(pid, SIGABRT) != 0) { in main()
H A D5-2.c31 int pid; in main() local
34 if ((pid = fork()) == 0) { in main()
62 if (kill(pid, SIGABRT) != 0) { in main()
H A D3-1.c35 int pid; in main() local
38 if ((pid = fork()) == 0) { in main()
61 if (kill(pid, SIGABRT) != 0) { in main()
H A D1-2.c22 int pid; in main() local
29 if ((pid = fork()) == 0) { in main()
40 if (kill(pid, SIGABRT) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/
H A D1-1.c9 to the child process specified by pid.
12 * value VALTOTEST for the pid of the child
43 int pid; in main() local
45 if ((pid = fork()) == 0) { in main()
65 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
H A D8-1.c44 int pid, i; in main() local
54 pid = getpid(); in main()
59 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
H A D4-1.c43 int pid, i; in main() local
52 pid = getpid(); in main()
58 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
H A D5-1.c41 int pid, i; in main() local
51 pid = getpid(); in main()
56 if (sigqueue(pid, SIGTOTEST, value) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigwaitinfo/
H A D2-1.c40 int pid, rtsig; in main() local
56 pid = getpid(); in main()
61 if (sigqueue(pid, rtsig, value) != 0) { in main()
/third_party/ltp/testcases/open_posix_testsuite/include/
H A Dproc.h22 int tst_process_state_wait3(pid_t pid, const char state, in tst_process_state_wait3() argument
33 snprintf(proc_path, sizeof(proc_path), "/proc/%i/stat", pid); in tst_process_state_wait3()
61 int tst_process_state_wait3(pid_t pid PTS_ATTRIBUTE_UNUSED, in tst_process_state_wait3()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
H A Dcapset.c30 cap_header.pid = getpid(); in capset_0100()
37 printf("capheader: %x %d\n", cap_header.version, cap_header.pid); in capset_0100()
50 printf("capheader: %x %d\n", cap_header.version, cap_header.pid); in capset_0100()
/third_party/musl/libc-test/src/functionalext/supplement/misc/
H A Dforkpty.c31 pid_t pid = forkpty(&master, NULL, NULL, NULL); in forkpty_0100() local
37 if (pid < 0) { in forkpty_0100()
39 } else if (pid == 0) { in forkpty_0100()
/third_party/musl/libc-test/src/functionalext/supplement/unistd/
H A Dpipe2.c35 pid_t pid = fork(); in pipe2_test() local
36 if (pid == 0) { in pipe2_test()
43 } else if (pid > 0) { in pipe2_test()

Completed in 13 milliseconds

1...<<61626364656667686970>>...303