Searched refs:cap_enable_effective (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | deny_namespace.c | 54 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()
|
D | bind_perm.c | 88 ASSERT_OK(cap_enable_effective(net_bind_svc_cap, NULL), in test_bind_perm()
|
D | kfunc_call.c | 305 cap_enable_effective(save_caps, NULL); in test_destructive()
|
D | unpriv_bpf_disabled.c | 303 cap_enable_effective(save_caps, NULL); in test_unpriv_bpf_disabled()
|
/Linux-v6.1/tools/testing/selftests/bpf/ |
D | cap_helpers.h | 16 int cap_enable_effective(__u64 caps, __u64 *old_caps);
|
D | cap_helpers.c | 10 int cap_enable_effective(__u64 caps, __u64 *old_caps) in cap_enable_effective() function
|
D | test_verifier.c | 1139 err = cap_enable_effective(ADMIN_CAPS, NULL); in set_admin()
|