Searched refs:net_priv (Results 1 – 1 of 1) sorted by relevance
1221 cap_flag_value_t net_priv = CAP_CLEAR; in is_admin() local1241 if (cap_get_flag(caps, CAP_NET_ADMIN, CAP_EFFECTIVE, &net_priv)) in is_admin()1245 return bpf_priv && perfmon_priv && net_priv == CAP_SET; in is_admin()