Searched refs:cap_disable_effective (Results 1 – 5 of 5) sorted by relevance
17 int cap_disable_effective(__u64 caps, __u64 *old_caps);
40 int cap_disable_effective(__u64 caps, __u64 *old_caps) in cap_disable_effective() function
1037 err = cap_disable_effective(ADMIN_CAPS, NULL); in set_admin()1326 if (cap_disable_effective(1ULL << CAP_SYS_ADMIN, &caps)) { in is_admin()
78 ASSERT_OK(cap_disable_effective(net_bind_svc_cap, &old_caps), in test_bind_perm()
289 if (!ASSERT_OK(cap_disable_effective(ALL_CAPS, &save_caps), "disable caps")) in test_unpriv_bpf_disabled()