Home
last modified time | relevance | path

Searched refs:cap_value_t (Results 1 – 17 of 17) 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/ltp/testcases/kernel/syscalls/pivot_root/
Dpivot_root01.c79 cap_value_t cap_value[] = { CAP_SYS_ADMIN }; in drop_cap_sys_admin()
/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/ltp/testcases/kernel/security/filecaps/
Dverify_caps_exec.c214 cap_value_t capvalue[1]; in caps_actually_set_test()
/external/perf_data_converter/src/quipper/
Dperf_parser_test.cc589 bool HaveCapability(cap_value_t capability) { in HaveCapability()
/external/minijail/
Dlibminijail.c1836 cap_value_t flag[1]; in drop_caps()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c14204 const cap_value_t cap_val = CAP_SYS_ADMIN; in set_admin()
14327 const cap_value_t cap_val = CAP_SYS_ADMIN; in is_admin()