Home
last modified time | relevance | path

Searched refs:cap_value_t (Results 1 – 13 of 13) 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/avahi/avahi-daemon/
Dcaps.c38 static cap_value_t cap_values[] = { CAP_SYS_CHROOT, CAP_SETUID, CAP_SETGID }; in avahi_caps_reduce()
69 static cap_value_t cap_values[] = { CAP_SYS_CHROOT }; in avahi_caps_reduce2()
/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()
175 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/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/minijail/
Dlibminijail.c1207 cap_value_t flag[1]; in drop_caps()