Searched refs:set_cap (Results 1 – 3 of 3) sorted by relevance
/linux/tools/testing/selftests/landlock/ |
H A D | fs_test.c | 288 set_cap(_metadata, CAP_SYS_ADMIN); in prepare_layout_opt() 313 set_cap(_metadata, CAP_SYS_ADMIN); in cleanup_layout() 357 set_cap(_metadata, CAP_SYS_ADMIN); in create_layout1() 382 set_cap(_metadata, CAP_SYS_ADMIN); in remove_layout1() 1649 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1681 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1702 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1716 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1739 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() 1767 set_cap(_metadata, CAP_SYS_ADMIN); in TEST_F_FORK() [all …]
|
H A D | common.h | 126 static void __maybe_unused set_cap(struct __test_metadata *const _metadata, in set_cap() function
|
H A D | net_test.c | 79 set_cap(_metadata, CAP_SYS_ADMIN); in setup_loopback() 1741 set_cap(_metadata, CAP_NET_BIND_SERVICE); in TEST_F()
|