Searched refs:stack_mprotect (Results 1 – 5 of 5) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | test_lsm.c | 285 err = stack_mprotect(); 286 if (!ASSERT_EQ(err, -1, "stack_mprotect") || 287 !ASSERT_EQ(errno, EPERM, "stack_mprotect")) 22 int stack_mprotect(void) stack_mprotect() function
|
| H A D | iters.c | 231 err = stack_mprotect(); in subtest_css_task_iters() 232 if (!ASSERT_EQ(err, -1, "stack_mprotect") || in subtest_css_task_iters() 233 !ASSERT_EQ(errno, EPERM, "stack_mprotect")) in subtest_css_task_iters()
|
| H A D | bpf_cookie.c | 601 err = stack_mprotect(); in tp_btf_subtest() 602 if (!ASSERT_EQ(err, -1, "stack_mprotect") || in tp_btf_subtest() 603 !ASSERT_EQ(errno, EPERM, "stack_mprotect")) in tp_btf_subtest()
|
| /linux/tools/testing/selftests/bpf/ |
| H A D | testing_helpers.h | 65 int stack_mprotect(void);
|
| H A D | testing_helpers.c | 590 int stack_mprotect(void) 550 int stack_mprotect(void) stack_mprotect() function
|