Searched refs:monitored_pid (Results 1 – 10 of 10) sorted by relevance
/tools/testing/selftests/bpf/prog_tests/ |
D | test_ima.c | 18 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 …]
|
D | test_lsm.c | 37 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()
|
D | lookup_key.c | 66 skel->bss->monitored_pid = getpid(); in test_lookup_key() 110 skel->bss->monitored_pid = 0; in test_lookup_key()
|
D | test_local_storage.c | 38 skel->bss->monitored_pid = getpid(); in run_self_unlink() 142 skel->bss->monitored_pid = getpid(); in test_test_local_storage()
|
D | verify_pkcs7_sig.c | 306 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/ |
D | ima.c | 12 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()
|
D | local_storage.c | 16 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()
|
D | test_lookup_key.c | 16 __u32 monitored_pid; variable 32 if (pid != monitored_pid) in BPF_PROG()
|
D | test_verify_pkcs7_sig.c | 24 __u32 monitored_pid; variable 55 if (pid != monitored_pid) in BPF_PROG()
|
D | lsm.c | 84 int monitored_pid = 0; variable 101 if (is_stack && monitored_pid == pid) { in BPF_PROG() 118 if (monitored_pid == pid) in BPF_PROG()
|