Searched defs:child_pid (Results 1 - 25 of 104) sorted by relevance

12345

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
H A D5-1.c27 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/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getparam/
H A D4-1.c28 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/
H A D23-7.c25 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);
H A D27-1.c28 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/
H A D21-1.c27 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);
H A D17-7.c34 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/compiler-rt/test/asan/TestCases/Posix/
H A Dcoverage-fork-direct.cc23 pid_t child_pid = fork(); local
24 if (child_pid == 0) {
H A Dcoverage-fork.cc22 pid_t child_pid = fork(); local
23 if (child_pid == 0) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_rr_get_interval/
H A D3-1.c29 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/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/
H A Dtask_event_pinned_vs_ebb_test.c22 static int setup_child_event(struct event *event, pid_t child_pid) argument
32 FAIL_IF(event_open_with_pid(event, child_pid));
H A Dtask_event_vs_ebb_test.c22 static int setup_child_event(struct event *event, pid_t child_pid) argument
30 FAIL_IF(event_open_with_pid(event, child_pid));
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
H A D11-1.c67 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/killpg/
H A D1-2.c39 int child_pid, child_pgid; local
41 if ((child_pid = fork()) == 0) {
71 if ((child_pgid = getpgid(child_pid)) == -1) {
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
H A D5-1.c79 int fd, child_pid; local
82 child_pid = fork();
83 if (child_pid == -1) {
86 } else if (child_pid == 0) {
/external/openssh/
H A Dsandbox-capsicum.c47 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) argument
119 box->child_pid = child_pid;
H A Dsandbox-darwin.c40 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) argument
96 box->child_pid = child_pid;
H A Dsandbox-null.c67 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
H A Dsandbox-pledge.c41 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) argument
73 box->child_pid = child_pid;
H A Dsandbox-rlimit.c40 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) argument
93 box->child_pid = child_pid;
H A Dsandbox-solaris.c103 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
/external/libbrillo/brillo/
H A Dasynchronous_signal_handler_unittest.cc122 pid_t child_pid = fork(); local
123 if (child_pid == 0) {
133 EXPECT_EQ(child_pid, infos_[0].ssi_pid);
/external/libchrome/sandbox/linux/services/
H A Dinit_process_reaper.cc33 pid_t child_pid = fork(); local
34 if (child_pid == -1) {
42 if (child_pid) {
71 if (reaped_child_info.si_pid == child_pid) {
/external/ltp/testcases/kernel/syscalls/clone/
H A Dclone01.c45 int status, child_pid; local
61 child_pid = wait(&status);
62 if (child_pid == -1)
66 if (TEST_RETURN == child_pid)
70 TEST_RETURN, child_pid);
H A Dclone03.c62 int child_pid, status; local
100 child_pid = atoi(buff);
102 if (TEST_RETURN == child_pid)
/external/ltp/testcases/kernel/syscalls/fcntl/
H A Dfcntl22.c42 int child_pid; variable
63 child_pid = FORK_OR_VFORK();
64 switch (child_pid) {
90 tst_record_childstatus(cleanup, child_pid);

Completed in 656 milliseconds

12345