HomeSort by relevance Sort by last modified time
    Searched defs:child_pid (Results 1 - 25 of 92) sorted by null

1 2 3 4

  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
5-1.c 27 int result = -1, child_pid; local
31 child_pid = fork();
32 if (child_pid == -1) {
35 } else if (child_pid == 0) {
46 result = sched_getscheduler(child_pid);
  /external/compiler-rt/test/asan/TestCases/Posix/
coverage-fork-direct.cc 23 pid_t child_pid = fork(); local
24 if (child_pid == 0) {
coverage-fork.cc 22 pid_t child_pid = fork(); local
23 if (child_pid == 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
4-1.c 28 int result = -1, child_pid; local
32 child_pid = fork();
33 if (child_pid == -1) {
36 } else if (child_pid == 0) {
47 result = sched_getparam(child_pid, &param);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/
23-7.c 25 int child_pid, stat_loc, old_priority; local
34 child_pid = fork();
35 if (child_pid == -1) {
38 } else if (child_pid == 0) {
50 sched_setparam(child_pid, &param);
27-1.c 28 int result, child_pid, stat_loc; local
36 child_pid = fork();
37 if (child_pid == -1) {
40 } else if (child_pid == 0) {
51 result = sched_setparam(child_pid, &param);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
21-1.c 27 int result, child_pid, stat_loc; local
33 child_pid = fork();
34 if (child_pid == -1) {
37 } else if (child_pid == 0) {
48 result = sched_setscheduler(child_pid, SCHED_FIFO, &param);
17-7.c 34 int child_pid, stat_loc; local
58 child_pid = fork();
59 if (child_pid == -1) {
62 } else if (child_pid == 0) {
73 sched_setscheduler(child_pid, policy, &param);
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/killpg/
1-2.c 38 int child_pid, child_pgid; local
40 if ((child_pid = fork()) == 0) {
70 if ((child_pgid = getpgid(child_pid)) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
3-1.c 29 int result = -2, child_pid, stat_loc; local
40 child_pid = fork();
41 if (child_pid == -1) {
44 } else if (child_pid == 0) {
55 result = sched_rr_get_interval(child_pid, &interval);
  /external/openssh/
sandbox-pledge.c 41 pid_t child_pid; member in struct:ssh_sandbox
51 box->child_pid = 0;
71 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
73 box->child_pid = child_pid;
sandbox-capsicum.c 47 pid_t child_pid; member in struct:ssh_sandbox
62 box->child_pid = 0;
117 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
119 box->child_pid = child_pid;
sandbox-darwin.c 40 pid_t child_pid; member in struct:ssh_sandbox
54 box->child_pid = 0;
94 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
96 box->child_pid = child_pid;
sandbox-rlimit.c 40 pid_t child_pid; member in struct:ssh_sandbox
54 box->child_pid = 0;
91 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid)
93 box->child_pid = child_pid;
  /external/ltp/testcases/kernel/syscalls/clone/
clone01.c 46 int status, child_pid; local
62 child_pid = SAFE_WAIT(cleanup, &status);
64 if (TEST_RETURN == child_pid)
68 TEST_RETURN, child_pid);
clone03.c 62 int child_pid, status; local
100 child_pid = atoi(buff);
102 if (TEST_RETURN == child_pid)
  /external/ltp/testcases/kernel/syscalls/fcntl/
fcntl22.c 42 int child_pid; variable
63 child_pid = FORK_OR_VFORK();
64 switch (child_pid) {
90 tst_record_childstatus(cleanup, child_pid);
  /external/ltp/testcases/kernel/syscalls/sched_getparam/
sched_getparam02.c 92 pid_t child_pid; local
102 switch (child_pid = FORK_OR_VFORK()) {
140 if ((waitpid(child_pid, &status, 0)) < 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
11-1.c 67 pid_t child_pid; local
88 child_pid = fork();
89 if (child_pid == -1) {
94 if (child_pid == 0)
97 if (waitpid(child_pid, &child_stat, 0) == -1) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
5-1.c 74 int fd, child_pid; local
77 child_pid = fork();
78 if (child_pid == -1) {
81 } else if (child_pid == 0) {
  /external/libbrillo/brillo/
asynchronous_signal_handler_unittest.cc 122 pid_t child_pid = fork(); local
123 if (child_pid == 0) {
133 EXPECT_EQ(child_pid, infos_[0].ssi_pid);
  /external/ltp/testcases/kernel/syscalls/ptrace/
ptrace01.c 116 pid_t child_pid; local
148 switch (child_pid = FORK_OR_VFORK()) {
168 if ((waitpid(child_pid, &status, 0)) < 0) {
186 if ((ptrace(PTRACE_KILL, child_pid,
195 if ((waitpid(child_pid, &status, 0)) < 0) {
ptrace02.c 116 pid_t child_pid; local
148 switch (child_pid = FORK_OR_VFORK()) {
168 if ((waitpid(child_pid, &status, 0)) < 0) {
186 if ((ptrace(PTRACE_CONT, child_pid,
196 if ((waitpid(child_pid, &status, 0)) < 0) {
  /external/ltp/testcases/kernel/syscalls/sched_setparam/
sched_setparam03.c 93 pid_t child_pid; local
103 switch (child_pid = FORK_OR_VFORK()) {
128 if ((waitpid(child_pid, &status, 0)) < 0) {
sched_setparam05.c 96 pid_t child_pid; local
106 switch (child_pid = FORK_OR_VFORK()) {
144 if ((waitpid(child_pid, &status, 0)) < 0) {

Completed in 3130 milliseconds

1 2 3 4