/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
D | cgroup_fj_stress.sh | 100 local ppid="$3" 107 if [ -z "$ppid" ]; then 111 pid="$ppid" 120 attach_task "$new_path" $((cur_depth+1)) "$ppid" 123 if [ -n "$ppid" ]; then
|
/external/strace/tests/ |
D | getxxid.c | 40 pid_t ppid; in main() local 43 ppid = getppid(); in main() 44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); in main() 45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); in main()
|
D | fork-f.c | 83 pid_t ppid = getpid(); in main() local 91 ppid, prefix, in main() 92 ppid, prefix, in main() 95 ppid, prefix); in main()
|
D | vfork-f.c | 95 pid_t ppid = getpid(); in main() local 103 ppid, prefix, in main() 105 ppid, prefix, in main() 107 ppid, prefix); in main()
|
/external/strace/tests-m32/ |
D | getxxid.c | 40 pid_t ppid; in main() local 43 ppid = getppid(); in main() 44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); in main() 45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); in main()
|
D | fork-f.c | 83 pid_t ppid = getpid(); in main() local 91 ppid, prefix, in main() 92 ppid, prefix, in main() 95 ppid, prefix); in main()
|
D | vfork-f.c | 95 pid_t ppid = getpid(); in main() local 103 ppid, prefix, in main() 105 ppid, prefix, in main() 107 ppid, prefix); in main()
|
/external/strace/tests-mx32/ |
D | getxxid.c | 40 pid_t ppid; in main() local 43 ppid = getppid(); in main() 44 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); in main() 45 printf("getxpid() = %ld (ppid %ld)\n", id, (long) ppid); in main()
|
D | fork-f.c | 83 pid_t ppid = getpid(); in main() local 91 ppid, prefix, in main() 92 ppid, prefix, in main() 95 ppid, prefix); in main()
|
D | vfork-f.c | 95 pid_t ppid = getpid(); in main() local 103 ppid, prefix, in main() 105 ppid, prefix, in main() 107 ppid, prefix); in main()
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
D | pscap.c | 67 int pid, ppid, uid = -1, euid = -1; in main() local 101 sscanf(buf, "%d (%15c", &ppid, cmd); in main() 102 sscanf(tmp+2, "%c %d", &state, &ppid); in main() 105 if (pid == 2 || ppid == 2) in main() 166 printf("%-5d %-5d %-10s %-16s ", ppid, pid, in main() 169 printf("%-5d %-5d %-10d %-16s ", ppid, pid, in main()
|
D | netcap.c | 59 int pid, ppid; in collect_process_info() local 89 sscanf(buf, "%d (%15c", &ppid, cmd); in collect_process_info() 90 sscanf(tmp+2, "%c %d", &state, &ppid); in collect_process_info() 93 if (pid == 2 || ppid == 2) in collect_process_info() 194 node.ppid = ppid; in collect_process_info() 237 printf("%-5d %-5d %-10s", n->ppid, n->pid, tacct); in report_finding() 239 printf("%-5d %-5d %-10d", n->ppid, n->pid, last_uid); in report_finding()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/ |
D | 1-1.c | 35 int ret, ppid; in main() local 56 ppid = getpid(); in main() 58 if (pid != ppid) { in main() 59 printf("Test FAILED: Pids are different %i != %i\n", pid, ppid); in main()
|
/external/ltp/testcases/kernel/syscalls/getppid/ |
D | getppid02.c | 59 pid_t pid, ppid; in main() local 68 ppid = getpid(); in main() 76 if (TEST_RETURN != ppid) in main() 78 TEST_RETURN, ppid); in main()
|
/external/ltp/testcases/kernel/containers/pidns/ |
D | pidns01.c | 73 pid_t cpid, ppid; in child_fn1() local 75 ppid = getppid(); in child_fn1() 78 if (cpid == CHILD_PID && ppid == PARENT_PID) { in child_fn1() 83 cpid, ppid); in child_fn1()
|
D | pidns06.c | 63 int cpid, ppid, *par_pid; in kill_pid_in_childfun() local 66 ppid = getppid(); in kill_pid_in_childfun() 70 if (cpid != CINIT_PID || ppid != PARENT_PID) { in kill_pid_in_childfun() 72 "pid=%d ppid=%d\n", cpid, ppid); in kill_pid_in_childfun()
|
D | pidns04.c | 78 pid_t cpid, ppid; in child_fn1() local 80 ppid = getppid(); in child_fn1() 86 if ((cpid == CHILD_PID) && (ppid == PARENT_PID)) { in child_fn1() 97 cpid, ppid); in child_fn1()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_inaddr_any.c | 83 uint32_t ppid; in main() local 164 ppid = rand(); /* Choose an arbitrary value. */ in main() 166 sinfo->sinfo_ppid = ppid; in main() 198 MSG_EOR, stream, ppid); in main() 212 ppid++; in main() 214 sinfo->sinfo_ppid = ppid; in main() 228 MSG_EOR, stream, ppid); in main() 233 MSG_EOR, stream, ppid); in main()
|
D | test_sctp_sendrecvmsg.c | 81 uint32_t ppid; in main() local 166 ppid = rand(); in main() 170 ppid, 0, stream, 0, 0); in main() 220 strlen(message) + 1, MSG_EOR, stream, ppid); in main() 240 ppid++; in main() 244 ppid, 0, stream, 0, 0); in main() 249 ppid, 0, stream, 2000, 0); in main() 256 ppid, 0, stream, 0, 0); in main() 265 ppid, 0, stream, 2000, 0); in main() 291 strlen(nottlmsg) + 1, MSG_EOR, stream, ppid); in main()
|
D | test_timetolive.c | 105 uint32_t ppid; in main() local 206 ppid = rand(); /* Choose an arbitrary value. */ in main() 208 sinfo->sinfo_ppid = ppid; in main() 255 MSG_EOR, stream, ppid); in main() 280 ppid++; in main() 282 sinfo->sinfo_ppid = ppid; in main() 296 sinfo->sinfo_ppid = ppid; in main() 309 sinfo->sinfo_ppid = ppid; in main() 322 sinfo->sinfo_ppid = ppid; in main() 350 MSG_EOR, stream, ppid); in main()
|
D | test_fragments.c | 90 uint32_t ppid; in main() local 156 ppid = rand(); /* Choose an arbitrary value. */ in main() 158 sinfo->sinfo_ppid = ppid; in main() 199 test_check_msg_data(&inmessage, error, msg_len, MSG_EOR, stream, ppid); in main() 261 MSG_EOR, stream, ppid); in main() 267 stream, ppid); in main() 275 MSG_EOR, stream, ppid); in main()
|
D | test_peeloff.c | 76 uint32_t ppid; in main() local 145 ppid = rand(); /* Choose an arbitrary value. */ in main() 147 sinfo->sinfo_ppid = ppid; in main() 192 MSG_EOR, stream, ppid); in main() 233 MSG_EOR, stream, ppid); in main() 254 MSG_EOR, stream, ppid); in main() 273 MSG_EOR, stream, ppid); in main()
|
/external/autotest/client/site_tests/login_LogoutProcessCleanup/ |
D | login_LogoutProcessCleanup.py | 101 ppid = pid 102 while not (ppid == ancestor_pid or ppid == '0'): 107 ppid = self.__get_parent_pid(ppid) 110 return ppid == ancestor_pid
|
/external/selinux/python/audit2allow/ |
D | test.log | 4 …scall=33 success=no exit=-13 a0=92c5288 a1=1 a2=154d50 a3=92c5120 items=1 ppid=13935 pid=13944 aui… 6 …all=102 success=no exit=-13 a0=2 a1=bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 aui… 8 …all=102 success=no exit=-13 a0=2 a1=bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 aui… 10 …ll=12 success=no exit=-13 a0=8493cd8 a1=cc3 a2=3282ec a3=bf992a04 items=0 ppid=24423 pid=24427 aui… 12 …all=102 success=no exit=-13 a0=2 a1=bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 aui… 15 …6 success=no exit=-13 a0=96226a8 a1=bf88b01c a2=31fff4 a3=2008171 items=0 ppid=23762 pid=23768 aui… 17 …all=102 success=no exit=-13 a0=2 a1=bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 aui… 19 …all=102 success=no exit=-13 a0=2 a1=bf96a830 a2=b5b1e8 a3=9e58ac0 items=0 ppid=21133 pid=21134 aui… 22 …6 success=no exit=-13 a0=9624f38 a1=bf88b11c a2=31fff4 a3=2008171 items=0 ppid=23762 pid=23770 aui… 24 …scall=5 success=no exit=-13 a0=bf96f068 a1=18800 a2=0 a3=bf973110 items=0 ppid=23765 pid=12387 aui… [all …]
|
/external/selinux/python/sepolgen/tests/test_data/ |
D | audit.log | 2 …scall=54 success=no exit=-22 a0=2 a1=5401 a2=bfb6479c a3=bfb647dc items=0 ppid=6311 pid=6314 auid=… 5 …ll=33 success=yes exit=0 a0=bfdb2fde a1=4 a2=4db18a64 a3=bfdb2fde items=0 ppid=1 pid=6306 auid=500… 7 …0003 syscall=5 success=yes exit=24 a0=11833c a1=0 a2=1 a3=8aeffb8 items=0 ppid=1 pid=6306 auid=500… 9 … syscall=5 success=yes exit=13 a0=9c0e840 a1=42 a2=1c0 a3=9c0e840 items=0 ppid=1 pid=6336 auid=500… 11 … syscall=221 success=yes exit=0 a0=d a1=7 a2=bf991e3c a3=bf991e3c items=0 ppid=1 pid=6336 auid=500… 16 …yscall=5 success=no exit=-2 a0=bf95cd98 a1=8000 a2=1b6 a3=8e1f9a8 items=0 ppid=6356 pid=6377 auid=… 18 …3 syscall=33 success=yes exit=0 a0=bfa1f935 a1=2 a2=bfa1e1e0 a3=0 items=0 ppid=6377 pid=6378 auid=… 20 …3 syscall=5 success=yes exit=2 a0=bfa1f935 a1=0 a2=1b6 a3=85b5008 items=0 ppid=6377 pid=6378 auid=… 22 …call=197 success=yes exit=0 a0=2 a1=bfa1df2c a2=ce8ff4 a3=85b5008 items=0 ppid=6377 pid=6378 auid=… 27 …03 syscall=5 success=yes exit=4 a0=8e1facb a1=80c2 a2=180 a3=80c2 items=0 ppid=6356 pid=6377 auid=… [all …]
|