Searched refs:CAP_NET_ADMIN (Results 1 – 16 of 16) sorted by relevance
40 #if defined(CAP_NET_ADMIN) || (defined(HAVE_DECL_CAP_NET_ADMIN) && HAVE_DECL_CAP_NET_ADMIN)41 { 1<<CAP_NET_ADMIN, "CAP_NET_ADMIN" },
13 1<<CAP_NET_ADMIN
267 static inline int enable_capability_admin(void) { return modify_capability(CAP_NET_ADMIN, CAP_SET)… in enable_capability_admin()268 static inline int disable_capability_admin(void) { return modify_capability(CAP_NET_ADMIN, CAP_CLEA… in disable_capability_admin()
71 static cap_value_t cap_admin = CAP_NET_ADMIN;94 cap_get_flag(cap_cur_p, CAP_NET_ADMIN, CAP_PERMITTED, &cap_ok); in limit_capabilities()
35 _S(CAP_NET_ADMIN, "net_admin" )
82 CAP_NET_ADMIN = _capng.CAP_NET_ADMIN variable
188 #define CAP_NET_ADMIN 12 macro
84 #define CAP_NET_ADMIN 12 macro
129 to listen and send RARP and ARP packets. It also needs <constant/CAP_NET_ADMIN/
197 and send ICMP messages and capability <constant/CAP_NET_ADMIN/
223 cap.effective = cap.permitted = (1 << CAP_NET_ADMIN); in drop_root()
319 (1 << CAP_NET_ADMIN) | (1 << CAP_NET_RAW); in os_program_init()
137 1 << CAP_NET_ADMIN | in config_permissions()
396 (1 << CAP_NET_ADMIN) | (1 << CAP_NET_RAW) | (1 << CAP_SETUID); in main()442 (1 << CAP_NET_ADMIN) | (1 << CAP_NET_RAW); in main()
1789 (1 << CAP_NET_ADMIN) | (1 << CAP_NET_RAW) | in switchUser()
963 minimum set of capabilities needed for the operations is CAP_NET_ADMIN