Home
last modified time | relevance | path

Searched refs:getppid (Results 1 – 25 of 37) sorted by relevance

12

/linux/tools/testing/selftests/cgroup/
A Dtest_kill.c48 int ppid = getppid(); in child_fn()
50 while (getppid() == ppid) in child_fn()
53 return getppid() == ppid; in child_fn()
211 ppid = getppid(); in forkbomb_fn()
213 while (getppid() == ppid) in forkbomb_fn()
216 return getppid() == ppid; in forkbomb_fn()
A Dtest_freezer.c123 int ppid = getppid(); in child_fn()
125 while (getppid() == ppid) in child_fn()
128 return getppid() == ppid; in child_fn()
347 ppid = getppid(); in forkbomb_fn()
349 while (getppid() == ppid) in forkbomb_fn()
352 return getppid() == ppid; in forkbomb_fn()
A Dtest_memcontrol.c199 int ppid = getppid(); in alloc_pagecache_50M_noexit()
204 while (getppid() == ppid) in alloc_pagecache_50M_noexit()
212 int ppid = getppid(); in alloc_anon_noexit()
217 while (getppid() == ppid) in alloc_anon_noexit()
A Dtest_core.c50 int ppid = getppid(); in alloc_and_touch_anon_noexit()
64 while (getppid() == ppid) in alloc_and_touch_anon_noexit()
/linux/tools/testing/selftests/ptrace/
A Dpeeksiginfo.c168 pid_t ppid = getppid(); in main()
170 if (ppid != getppid()) in main()
/linux/tools/testing/selftests/vm/
A Dmemfd_secret.c98 if (process_vm_readv(getppid(), &liov, 1, &riov, 1, 0) < 0) { in try_process_vm_read()
109 pid_t ppid = getppid(); in try_ptrace()
/linux/tools/testing/selftests/seccomp/
A Dseccomp_bpf.c1224 parent = getppid(); in TEST_F()
1250 parent = getppid(); in TEST_F_SIGNAL()
1279 parent = getppid(); in TEST_F_SIGNAL()
1306 parent = getppid(); in TEST_F_SIGNAL()
1331 parent = getppid(); in TEST_F_SIGNAL()
1356 parent = getppid(); in TEST_F()
1378 parent = getppid(); in TEST_F()
1400 parent = getppid(); in TEST_F()
1421 parent = getppid(); in TEST_F()
1443 parent = getppid(); in TEST_F()
[all …]
/linux/tools/perf/bench/
A Dsyscall.c44 getppid(); in bench_syscall_basic()
/linux/tools/testing/selftests/powerpc/security/
A Dflush_utils.c35 getppid(); in syscall_loop()
/linux/tools/perf/tests/
A Dthread-map.c115 asprintf(&str, "%d,%d", getpid(), getppid()) >= 0); in test__thread_map_remove()
A Dmmap-basic.c41 pid_t (*syscalls[])(void) = { (void *)getsid, getppid, (void*)getpgid }; in test__basic_mmap()
/linux/arch/um/os-Linux/
A Dstart_up.c32 int pid = os_getpid(), ppid = getppid(); in ptrace_child()
/linux/tools/testing/selftests/uevent/
A Duevent_filtering.c226 ppid = getppid(); in set_death_signal()
/linux/tools/perf/Documentation/
A Dperf-bench.txt147 This uses a single thread simply doing getppid(2), which is a simple syscall where the result is not
/linux/Documentation/staging/
A Dstatic-keys.rst214 As an example, let's add the following branch to 'getppid()', such that the
217 SYSCALL_DEFINE0(getppid)
/linux/tools/perf/arch/mips/entry/syscalls/
A Dsyscall_n64.tbl118 108 n64 getppid sys_getppid
/linux/arch/ia64/kernel/syscalls/
A Dsyscall.tbl30 18 common getppid sys_getppid
/linux/arch/mips/kernel/syscalls/
A Dsyscall_n64.tbl118 108 n64 getppid sys_getppid
A Dsyscall_n32.tbl118 108 n32 getppid sys_getppid
/linux/arch/xtensa/kernel/syscalls/
A Dsyscall.tbl164 150 common getppid sys_getppid
/linux/arch/x86/entry/syscalls/
A Dsyscall_64.tbl121 110 common getppid sys_getppid
/linux/tools/perf/arch/x86/entry/syscalls/
A Dsyscall_64.tbl121 110 common getppid sys_getppid
/linux/arch/sh/kernel/syscalls/
A Dsyscall.tbl74 64 common getppid sys_getppid
/linux/arch/microblaze/kernel/syscalls/
A Dsyscall.tbl74 64 common getppid sys_getppid
/linux/arch/m68k/kernel/syscalls/
A Dsyscall.tbl74 64 common getppid sys_getppid

Completed in 33 milliseconds

12