OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:modify_capability
(Results
1 - 2
of
2
) sorted by null
/external/iputils/
ping_common.h
264
extern int
modify_capability
(cap_value_t, cap_flag_value_t);
265
static inline int enable_capability_raw(void) { return
modify_capability
(CAP_NET_RAW, CAP_SET); };
266
static inline int disable_capability_raw(void) { return
modify_capability
(CAP_NET_RAW, CAP_CLEAR); };
267
static inline int enable_capability_admin(void) { return
modify_capability
(CAP_NET_ADMIN, CAP_SET); };
268
static inline int disable_capability_admin(void) { return
modify_capability
(CAP_NET_ADMIN, CAP_CLEAR); };
270
extern int
modify_capability
(int);
271
static inline int enable_capability_raw(void) { return
modify_capability
(1); };
272
static inline int disable_capability_raw(void) { return
modify_capability
(0); };
273
static inline int enable_capability_admin(void) { return
modify_capability
(1); };
274
static inline int disable_capability_admin(void) { return
modify_capability
(0); }
[
all
...]
ping_common.c
139
int
modify_capability
(cap_value_t cap, cap_flag_value_t on)
function
173
int
modify_capability
(int on)
function
Completed in 2856 milliseconds