/external/libcap/libcap/include/sys/ |
capability.h | 39 typedef struct _cap_struct *cap_t; typedef in typeref:struct:_cap_struct 71 extern cap_t cap_dup(cap_t); 73 extern cap_t cap_init(void); 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 *, 79 extern int cap_clear(cap_t); 80 extern int cap_clear_flag(cap_t, cap_flag_t); 83 extern cap_t cap_get_fd(int); 84 extern cap_t cap_get_file(const char *) [all...] |
/external/libcap/libcap/ |
cap_proc.c | 11 cap_t cap_get_proc(void) 13 cap_t result; 30 int cap_set_proc(cap_t cap_d) 49 int capgetp(pid_t pid, cap_t cap_d) 69 cap_t cap_get_pid(pid_t pid) 71 cap_t result; 90 int capsetp(pid_t pid, cap_t cap_d)
|
cap_alloc.c | 14 cap_t cap_init(void) 17 cap_t result; 28 result = (cap_t) (raw_data + 1); 88 cap_t cap_dup(cap_t cap_d) 90 cap_t result;
|
cap_flag.c | 16 int cap_get_flag(cap_t cap_d, cap_value_t value, cap_flag_t set, 39 int cap_set_flag(cap_t cap_d, cap_flag_t set, 80 int cap_clear(cap_t cap_d) 100 int cap_clear_flag(cap_t cap_d, cap_flag_t flag) 129 int cap_compare(cap_t a, cap_t b)
|
cap_file.c | 40 static cap_t _fcaps_load(struct vfs_cap_data *rawvfscap, cap_t result, 98 static int _fcaps_save(struct vfs_cap_data *rawvfscap, cap_t cap_d, 186 cap_t cap_get_fd(int fildes) 188 cap_t result; 216 cap_t cap_get_file(const char *filename) 218 cap_t result; 247 int cap_set_fd(int fildes, cap_t cap_d) 279 int cap_set_file(const char *filename, cap_t cap_d) 308 cap_t cap_get_fd(int fildes [all...] |
cap_extint.c | 32 ssize_t cap_size(cap_t caps) 43 ssize_t cap_copy_ext(void *cap_ext, cap_t cap_d, ssize_t length) 82 cap_t cap_copy_int(const void *cap_ext) 86 cap_t cap_d;
|
cap_text.c | 28 static void setbits(cap_t a, const __u32 *b, cap_flag_t set, unsigned blks) 36 static void clrbits(cap_t a, const __u32 *b, cap_flag_t set, unsigned blks) 110 cap_t cap_from_text(const char *str) 112 cap_t res; 307 static int getstateflags(cap_t caps, int capno) 326 char *cap_to_text(cap_t caps, ssize_t *length_p)
|
libcap.h | 190 extern int capgetp(pid_t pid, cap_t cap_d); 191 extern int capsetp(pid_t pid, cap_t cap_d);
|
/external/ltp/testcases/kernel/security/filecaps/ |
check_simple_capset.c | 31 cap_t caps, caps2;
|
verify_caps_exec.c | 68 cap_t cap = cap_get_proc(); 87 cap_t cap = cap_from_text("=eip"); 102 cap_t cap; 154 static int fork_drop_and_exec(int keepperms, cap_t expected_caps) 161 cap_t actual_caps; 213 cap_t fcap, pcap, cap_fullpi; 310 cap_t cmpcap;
|
print_caps.c | 45 cap_t cap = cap_get_proc();
|
inh_capped.c | 49 cap_t caps = cap_from_text(capstr);
|
/external/libcap/progs/old/ |
execcap.c | 34 cap_t new_caps;
|
sucap.c | 54 cap_t old_caps; 144 cap_t cap = cap_init(); 168 cap_t cap = cap_init();
|
setpcaps.c | 68 cap_t cap_d;
|
/external/u-boot/drivers/tpm/ |
tpm_tis.h | 73 union cap_t { union 86 union cap_t cap;
|
/external/libcap/progs/ |
setcap.c | 64 cap_t mycaps; 79 cap_t cap_d; 124 cap_t cap_on_file;
|
getpcaps.c | 36 cap_t cap_d;
|
/external/libcap/contrib/bug400591/ |
bug.c | 13 cap_t caps, caps2;
|
/external/ltp/testcases/kernel/containers/userns/ |
userns06_capcheck.c | 43 cap_t caps;
|
userns01.c | 55 cap_t caps;
|
/external/ltp/testcases/kernel/security/cap_bound/ |
check_pe.c | 48 cap_t cur;
|
exec_with_inh.c | 47 cap_t cur = 0; 54 "Failed to create cap_sys_admin+i cap_t (errno %d)\n",
|
exec_without_inh.c | 48 cap_t cur;
|
/external/ltp/testcases/kernel/security/securebits/ |
check_keepcaps.c | 34 static int eff_caps_empty(cap_t c) 62 cap_t cap = cap_get_proc();
|