Home
last modified time | relevance | path

Searched refs:cap_enable_effective (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/
Ddeny_namespace.c54 cap_enable_effective(cap_mask, &old_caps); in test_userns_create_bpf()
63 cap_enable_effective(cap_mask, NULL); in test_userns_create_bpf()
76 cap_enable_effective(cap_mask, NULL); in test_unpriv_userns_create_no_bpf()
Dbind_perm.c88 ASSERT_OK(cap_enable_effective(net_bind_svc_cap, NULL), in test_bind_perm()
Dkfunc_call.c305 cap_enable_effective(save_caps, NULL); in test_destructive()
Dunpriv_bpf_disabled.c303 cap_enable_effective(save_caps, NULL); in test_unpriv_bpf_disabled()
/Linux-v6.1/tools/testing/selftests/bpf/
Dcap_helpers.h16 int cap_enable_effective(__u64 caps, __u64 *old_caps);
Dcap_helpers.c10 int cap_enable_effective(__u64 caps, __u64 *old_caps) in cap_enable_effective() function
Dtest_verifier.c1139 err = cap_enable_effective(ADMIN_CAPS, NULL); in set_admin()