Home
last modified time | relevance | path

Searched refs:cap_value_t (Results 1 – 16 of 16) sorted by relevance

/external/libcap/libcap/include/sys/
Dcapability.h47 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/
Dcap_proc.c110 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()
Dcap_flag.c16 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()
Dcap_text.c270 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/
Dsetcap.c65 cap_value_t capflag; in main()
176 cap_value_t cap; in main()
Dcapsh.c29 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/
Dexec_without_inh.c47 cap_value_t v[1]; in main()
Dcap_bset_inh_bounds.c47 cap_value_t v[1]; in main()
/external/iputils/
Dping_common.c70 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()
Dping_common.h264 extern int modify_capability(cap_value_t, cap_flag_value_t);
Darping.c152 static const cap_value_t caps[] = { CAP_NET_RAW, };
/external/iputils/ninfod/
Dninfod.c499 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/
Dcredentials_unittest.cc234 const cap_value_t allowed_cap = CAP_SYS_CHROOT; in SANDBOX_TEST()
/external/ltp/testcases/kernel/security/filecaps/
Dverify_caps_exec.c214 cap_value_t capvalue[1]; in caps_actually_set_test()
/external/minijail/
Dlibminijail.c1458 cap_value_t flag[1]; in drop_caps()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c4866 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()