Home
last modified time | relevance | path

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

/tools/testing/selftests/bpf/prog_tests/
Dtest_ima.c18 static int _run_measured_process(const char *measured_dir, u32 *monitored_pid, in _run_measured_process() argument
25 *monitored_pid = getpid(); in _run_measured_process()
38 static int run_measured_process(const char *measured_dir, u32 *monitored_pid) in run_measured_process() argument
40 return _run_measured_process(measured_dir, monitored_pid, "run"); in run_measured_process()
104 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima()
119 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima()
144 err = _run_measured_process(measured_dir, &skel->bss->monitored_pid, in test_test_ima()
150 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima()
177 err = run_measured_process(measured_dir, &skel->bss->monitored_pid); in test_test_ima()
194 err = _run_measured_process(measured_dir, &skel->bss->monitored_pid, in test_test_ima()
[all …]
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()
Dlookup_key.c66 skel->bss->monitored_pid = getpid(); in test_lookup_key()
110 skel->bss->monitored_pid = 0; in test_lookup_key()
Dtest_local_storage.c38 skel->bss->monitored_pid = getpid(); in run_self_unlink()
142 skel->bss->monitored_pid = getpid(); in test_test_local_storage()
Dverify_pkcs7_sig.c306 skel->bss->monitored_pid = getpid(); in test_verify_pkcs7_sig()
400 skel->bss->monitored_pid = 0; in test_verify_pkcs7_sig()
/tools/testing/selftests/bpf/progs/
Dima.c12 u32 monitored_pid = 0; variable
34 if (pid == monitored_pid) { in ima_test_common()
60 if (pid == monitored_pid && test_deny) in ima_test_deny()
Dlocal_storage.c16 int monitored_pid = 0; variable
70 if (pid != monitored_pid) in BPF_PROG()
145 if (pid != monitored_pid || !sk) in BPF_PROG()
191 if (pid != monitored_pid || !sk) in BPF_PROG()
213 if (pid != monitored_pid) in BPF_PROG()
Dtest_lookup_key.c16 __u32 monitored_pid; variable
32 if (pid != monitored_pid) in BPF_PROG()
Dtest_verify_pkcs7_sig.c24 __u32 monitored_pid; variable
55 if (pid != monitored_pid) in BPF_PROG()
Dlsm.c84 int monitored_pid = 0; variable
101 if (is_stack && monitored_pid == pid) { in BPF_PROG()
118 if (monitored_pid == pid) in BPF_PROG()