HomeSort by relevance Sort by last modified time
    Searched defs:pid (Results 201 - 225 of 1842) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/ltp/testcases/kernel/containers/share/
ns_create.c 19 * daemonized and is running in the background. PID of the daemonized child
77 * ./ns_create <ipc,mnt,net,pid,user,uts>
81 int pid, flags; local
102 pid = ltp_clone_quick(flags | SIGCHLD, child_fn, NULL);
103 if (pid == -1) {
108 printf("%d", pid);
  /external/ltp/testcases/kernel/containers/userns/
userns_helper.h 30 int pid, status; local
35 pid = do_clone_unshare_test(T_CLONE, CLONE_NEWUSER, dummy_child, NULL);
36 if (pid == -1)
  /external/ltp/testcases/kernel/controllers/cgroup_fj/
cgroup_fj_proc.c 45 pid_t pid; local
67 pid = fork();
68 if (pid == -1)
70 else if (pid == 0) {
  /external/ltp/testcases/kernel/mem/shmt/
shmt07.c 63 int shmid, pid, status; local
96 pid = fork();
97 switch (pid) {
  /external/ltp/testcases/kernel/syscalls/execle/
execle01.c 53 pid_t pid; local
65 switch (pid = FORK_OR_VFORK()) {
73 tst_record_childstatus(NULL, pid);
  /external/ltp/testcases/kernel/syscalls/execv/
execv01.c 53 pid_t pid; local
65 switch (pid = FORK_OR_VFORK()) {
73 tst_record_childstatus(NULL, pid);
  /external/ltp/testcases/kernel/syscalls/execve/
execve01.c 53 pid_t pid; local
66 switch (pid = FORK_OR_VFORK()) {
74 tst_record_childstatus(NULL, pid);
  /external/ltp/testcases/kernel/syscalls/futex/
futex_wait02.c 54 int pid; local
56 pid = tst_fork();
58 switch (pid) {
  /external/ltp/testcases/kernel/syscalls/getpid/
getpid02.c 28 * getpid() should return pid of the process on success.
86 pid_t pid; /* process id of the child process */ local
102 if ((pid = FORK_OR_VFORK()) == -1)
104 else if (pid == 0) {
115 "invalid pid %d", proc_id);
  /external/ltp/testcases/kernel/syscalls/getppid/
getppid02.c 60 pid_t pid, ppid; local
70 pid = FORK_OR_VFORK();
71 if (pid == -1)
74 if (pid == 0) {
81 printf("return value and parent's pid "
  /external/ltp/testcases/kernel/syscalls/pipe/
pipe02.c 52 pid_t pid; local
66 pid = SAFE_FORK();
67 if (pid == 0) {
  /external/ltp/testcases/kernel/syscalls/ptrace/
spawn_ptrace_child.h 15 * - access the child pid via the "pid" variable
28 static pid_t pid; variable
43 #define vptrace(request, pid, addr, data) \
50 __ret = ptrace(request, pid, __addr, __data); \
52 perror("ptrace(" #request ", " #pid ", " #addr ", " #data ")"); \
70 pid = vfork();
71 if (pid == -1) {
74 } else if (pid) {
77 if (wait(&status) != pid) {
    [all...]
  /external/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/
rt_sigqueueinfo01.c 74 pid_t pid; local
75 pid = getpid();
80 TEST(pid = fork());
  /external/ltp/testcases/kernel/syscalls/setpgrp/
setpgrp01.c 85 int pid, status; local
95 if ((pid = FORK_OR_VFORK()) == -1) {
100 if (pid != 0) { /* parent - sits and waits */
  /external/ltp/testcases/kernel/syscalls/vhangup/
vhangup01.c 43 pid_t pid; local
53 if ((pid = FORK_OR_VFORK()) < 0) {
55 } else if (pid > 0) {
56 tst_record_childstatus(NULL, pid);
vhangup02.c 62 pid_t pid, pid1; local
75 if ((pid = FORK_OR_VFORK()) < 0) {
77 } else if (pid > 0) { /* parent */
78 waitpid(pid, &status, 0);
  /external/ltp/testcases/kernel/syscalls/wait4/
wait401.c 43 pid_t pid; local
54 pid = FORK_OR_VFORK();
56 switch (pid) {
65 TEST(wait4(pid, &status, 0, &rusage));
80 } else if (TEST_RETURN != pid) {
83 TCID, pid, TEST_RETURN);
87 "Received child pid as expected.");
  /external/ltp/testcases/kernel/syscalls/waitpid/
waitpid10.c 35 pid_t pid; local
39 pid = SAFE_FORK();
40 if (pid == 0) {
54 fork_kid_pid[i] = pid;
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_nanosleep/
1-3.c 38 int pid; local
46 if ((pid = fork()) == 0) {
68 if (kill(pid, SIGABRT) != 0) {
1-5.c 29 int pid, slepts; local
37 if ((pid = fork()) == 0) {
57 if (kill(pid, SIGSTOP) != 0) {
62 if (kill(pid, SIGCONT) != 0) {
10-1.c 34 int pid; local
37 if ((pid = fork()) == 0) {
64 if (kill(pid, SIGABRT) != 0) {
2-3.c 25 int pid, sleepuntilsec; local
34 if ((pid = fork()) == 0) {
49 if (kill(pid, SIGABRT) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/kill/
1-2.c 9 * specified by pid when the process specified by pid is not the calling
13 * pid of the child.
44 int pid; local
59 pid = fork();
60 if (pid == 0) {
80 } else if (pid > 0) {
85 if (kill(pid, SIGTOTEST) != 0) {
  /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/nanosleep/
1-2.c 22 int pid; local
29 if ((pid = fork()) == 0) {
40 if (kill(pid, SIGABRT) != 0) {
1-3.c 28 int pid; local
36 if ((pid = fork()) == 0) {
58 if (kill(pid, SIGABRT) != 0) {

Completed in 4006 milliseconds

1 2 3 4 5 6 7 891011>>