Home
last modified time | relevance | path

Searched refs:monitored_pid (Results 1 – 23 of 23) sorted by relevance

/dports/sysutils/coreutils/coreutils-8.32/src/
H A Dtimeout.c82 static pid_t monitored_pid; variable
187 if (monitored_pid) in cleanup()
210 send_sig (monitored_pid, sig); in cleanup()
219 send_sig (monitored_pid, SIGCONT); in cleanup()
503 monitored_pid = fork (); in main()
504 if (monitored_pid == -1) in main()
509 else if (monitored_pid == 0) in main()
538 while ((wait_result = waitpid (monitored_pid, &status, WNOHANG)) == 0) in main()
/dports/misc/gnuls/coreutils-8.30/src/
H A Dtimeout.c82 static pid_t monitored_pid; variable
187 if (monitored_pid) in cleanup()
210 send_sig (monitored_pid, sig); in cleanup()
219 send_sig (monitored_pid, SIGCONT); in cleanup()
503 monitored_pid = fork (); in main()
504 if (monitored_pid == -1) in main()
509 else if (monitored_pid == 0) in main()
538 while ((wait_result = waitpid (monitored_pid, &status, WNOHANG)) == 0) in main()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dtest_lsm.c37 int exec_cmd(int *monitored_pid) in exec_cmd() argument
43 *monitored_pid = getpid(); in exec_cmd()
69 err = exec_cmd(&skel->bss->monitored_pid); in test_lsm()
75 skel->bss->monitored_pid = getpid(); in test_lsm()
H A Dtest_ima.c16 static int run_measured_process(const char *measured_dir, u32 *monitored_pid) in run_measured_process() argument
22 *monitored_pid = getpid(); in run_measured_process()
75 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima()
H A Dtest_local_storage.c40 static int run_self_unlink(int *monitored_pid, const char *rm_path) in run_self_unlink() argument
52 *monitored_pid = getpid(); in run_self_unlink()
163 err = run_self_unlink(&skel->bss->monitored_pid, tmp_exec_path); in test_test_local_storage()
168 skel->bss->monitored_pid = getpid(); in test_test_local_storage()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dtest_lsm.c37 int exec_cmd(int *monitored_pid) in exec_cmd() argument
43 *monitored_pid = getpid(); in exec_cmd()
69 err = exec_cmd(&skel->bss->monitored_pid); in test_lsm()
75 skel->bss->monitored_pid = getpid(); in test_lsm()
H A Dtest_ima.c16 static int run_measured_process(const char *measured_dir, u32 *monitored_pid) in run_measured_process() argument
22 *monitored_pid = getpid(); in run_measured_process()
75 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima()
H A Dtest_local_storage.c40 static int run_self_unlink(int *monitored_pid, const char *rm_path) in run_self_unlink() argument
52 *monitored_pid = getpid(); in run_self_unlink()
163 err = run_self_unlink(&skel->bss->monitored_pid, tmp_exec_path); in test_test_local_storage()
168 skel->bss->monitored_pid = getpid(); in test_test_local_storage()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/prog_tests/
H A Dtest_lsm.c37 int exec_cmd(int *monitored_pid) in exec_cmd() argument
43 *monitored_pid = getpid(); in exec_cmd()
69 err = exec_cmd(&skel->bss->monitored_pid); in test_lsm()
75 skel->bss->monitored_pid = getpid(); in test_lsm()
H A Dtest_ima.c16 static int run_measured_process(const char *measured_dir, u32 *monitored_pid) in run_measured_process() argument
22 *monitored_pid = getpid(); in run_measured_process()
75 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima()
H A Dtest_local_storage.c40 static int run_self_unlink(int *monitored_pid, const char *rm_path) in run_self_unlink() argument
52 *monitored_pid = getpid(); in run_self_unlink()
163 err = run_self_unlink(&skel->bss->monitored_pid, tmp_exec_path); in test_test_local_storage()
168 skel->bss->monitored_pid = getpid(); in test_test_local_storage()
/dports/security/klee/klee-2.2/tools/klee-replay/
H A Dklee-replay.c50 static unsigned monitored_pid = 0; variable
111 if (monitored_pid) { in int_handler()
112 stop_monitored(monitored_pid); in int_handler()
116 kill(-monitored_pid, SIGKILL); in int_handler()
125 if (monitored_pid) { in timeout_handler()
126 stop_monitored(monitored_pid); in timeout_handler()
130 kill(-monitored_pid, SIGKILL); in timeout_handler()
232 monitored_pid = pid; in run_monitored()
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dlocal_storage.c16 int monitored_pid = 0; variable
54 if (pid != monitored_pid) in BPF_PROG()
112 if (pid != monitored_pid) in BPF_PROG()
139 if (pid != monitored_pid) in BPF_PROG()
163 if (pid != monitored_pid) in BPF_PROG()
H A Dima.c12 u32 monitored_pid = 0; variable
30 if (pid == monitored_pid) { in BPF_PROG()
H A Dlsm.c82 int monitored_pid = 0; variable
99 if (is_stack && monitored_pid == pid) { in BPF_PROG()
116 if (monitored_pid == pid) in BPF_PROG()
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dlocal_storage.c16 int monitored_pid = 0; variable
54 if (pid != monitored_pid) in BPF_PROG()
112 if (pid != monitored_pid) in BPF_PROG()
139 if (pid != monitored_pid) in BPF_PROG()
163 if (pid != monitored_pid) in BPF_PROG()
H A Dima.c12 u32 monitored_pid = 0; variable
30 if (pid == monitored_pid) { in BPF_PROG()
H A Dlsm.c82 int monitored_pid = 0; variable
99 if (is_stack && monitored_pid == pid) { in BPF_PROG()
116 if (monitored_pid == pid) in BPF_PROG()
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/bpf/progs/
H A Dlocal_storage.c16 int monitored_pid = 0; variable
54 if (pid != monitored_pid) in BPF_PROG()
112 if (pid != monitored_pid) in BPF_PROG()
139 if (pid != monitored_pid) in BPF_PROG()
163 if (pid != monitored_pid) in BPF_PROG()
H A Dima.c12 u32 monitored_pid = 0; variable
30 if (pid == monitored_pid) { in BPF_PROG()
H A Dlsm.c82 int monitored_pid = 0; variable
99 if (is_stack && monitored_pid == pid) { in BPF_PROG()
116 if (monitored_pid == pid) in BPF_PROG()
/dports/sysutils/coreutils/coreutils-8.32/
H A DChangeLog4334 (monitored_pid): Change to the more accurate pid_t.
/dports/misc/gnuls/coreutils-8.30/
H A DChangeLog2553 (monitored_pid): Change to the more accurate pid_t.