Searched refs:cap_value_t (Results 1 – 16 of 16) sorted by relevance
/external/libcap/libcap/include/sys/ |
D | capability.h | 47 typedef int cap_value_t; typedef 76 extern int cap_get_flag(cap_t, cap_value_t, cap_flag_t, cap_flag_value_t *); 77 extern int cap_set_flag(cap_t, cap_flag_t, int, const cap_value_t *, 93 extern int cap_get_bound(cap_value_t); 94 extern int cap_drop_bound(cap_value_t); 106 extern int cap_from_name(const char *, cap_value_t *); 107 extern char * cap_to_name(cap_value_t);
|
/external/libcap/libcap/ |
D | cap_proc.c | 110 int cap_get_bound(cap_value_t cap) in cap_get_bound() 120 int cap_drop_bound(cap_value_t cap) in cap_drop_bound()
|
D | cap_flag.c | 16 int cap_get_flag(cap_t cap_d, cap_value_t value, cap_flag_t set, in cap_get_flag() 40 int no_values, const cap_value_t *array_values, in cap_set_flag()
|
D | cap_text.c | 270 int cap_from_name(const char *name, cap_value_t *value_p) in cap_from_name() 283 char *cap_to_name(cap_value_t cap) in cap_to_name()
|
/external/libcap/progs/ |
D | setcap.c | 65 cap_value_t capflag; in main() 176 cap_value_t cap; in main()
|
D | capsh.c | 29 static const cap_value_t raise_setpcap[1] = { CAP_SETPCAP }; 30 static const cap_value_t raise_chroot[1] = { CAP_SYS_CHROOT }; 99 cap_value_t cap; in main() 472 cap_value_t cap; in main()
|
/external/ltp/testcases/kernel/security/cap_bound/ |
D | exec_without_inh.c | 47 cap_value_t v[1]; in main()
|
D | cap_bset_inh_bounds.c | 47 cap_value_t v[1]; in main()
|
/external/iputils/ |
D | ping_common.c | 70 static cap_value_t cap_raw = CAP_NET_RAW; 71 static cap_value_t cap_admin = CAP_NET_ADMIN; 139 int modify_capability(cap_value_t cap, cap_flag_value_t on) in modify_capability()
|
D | ping_common.h | 264 extern int modify_capability(cap_value_t, cap_flag_value_t);
|
D | arping.c | 152 static const cap_value_t caps[] = { CAP_NET_RAW, };
|
/external/iputils/ninfod/ |
D | ninfod.c | 499 static const cap_value_t cap_net_raw = CAP_NET_RAW; 500 static const cap_value_t cap_setuid = CAP_SETUID;
|
/external/libchrome/sandbox/linux/services/ |
D | credentials_unittest.cc | 234 const cap_value_t allowed_cap = CAP_SYS_CHROOT; in SANDBOX_TEST()
|
/external/ltp/testcases/kernel/security/filecaps/ |
D | verify_caps_exec.c | 214 cap_value_t capvalue[1]; in caps_actually_set_test()
|
/external/minijail/ |
D | libminijail.c | 1458 cap_value_t flag[1]; in drop_caps()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 4866 const cap_value_t cap_val = CAP_SYS_ADMIN; in is_admin() 4889 const cap_value_t cap_val = CAP_SYS_ADMIN; in set_admin()
|