/external/libcap/libcap/include/sys/ |
D | capability.h | 39 typedef struct _cap_struct *cap_t; typedef 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 *); 85 extern int cap_set_fd(int, cap_t); [all …]
|
/external/libcap/libcap/ |
D | cap_file.c | 40 static cap_t _fcaps_load(struct vfs_cap_data *rawvfscap, cap_t result, in _fcaps_load() 98 static int _fcaps_save(struct vfs_cap_data *rawvfscap, cap_t cap_d, in _fcaps_save() 186 cap_t cap_get_fd(int fildes) in cap_get_fd() 188 cap_t result; in cap_get_fd() 216 cap_t cap_get_file(const char *filename) in cap_get_file() 218 cap_t result; in cap_get_file() 247 int cap_set_fd(int fildes, cap_t cap_d) in cap_set_fd() 279 int cap_set_file(const char *filename, cap_t cap_d) in cap_set_file() 308 cap_t cap_get_fd(int fildes) in cap_get_fd() 314 cap_t cap_get_file(const char *filename) in cap_get_file() [all …]
|
D | cap_proc.c | 11 cap_t cap_get_proc(void) in cap_get_proc() 13 cap_t result; in cap_get_proc() 30 int cap_set_proc(cap_t cap_d) in cap_set_proc() 49 int capgetp(pid_t pid, cap_t cap_d) in capgetp() 69 cap_t cap_get_pid(pid_t pid) in cap_get_pid() 71 cap_t result; in cap_get_pid() 90 int capsetp(pid_t pid, cap_t cap_d) in capsetp()
|
D | cap_alloc.c | 14 cap_t cap_init(void) in cap_init() 17 cap_t result; in cap_init() 28 result = (cap_t) (raw_data + 1); in cap_init() 88 cap_t cap_dup(cap_t cap_d) in cap_dup() 90 cap_t result; in cap_dup()
|
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() 39 int cap_set_flag(cap_t cap_d, cap_flag_t set, in cap_set_flag() 80 int cap_clear(cap_t cap_d) in cap_clear() 100 int cap_clear_flag(cap_t cap_d, cap_flag_t flag) in cap_clear_flag() 129 int cap_compare(cap_t a, cap_t b) in cap_compare()
|
D | cap_extint.c | 32 ssize_t cap_size(cap_t caps) in cap_size() 43 ssize_t cap_copy_ext(void *cap_ext, cap_t cap_d, ssize_t length) in cap_copy_ext() 82 cap_t cap_copy_int(const void *cap_ext) in cap_copy_int() 86 cap_t cap_d; in cap_copy_int()
|
D | cap_text.c | 28 static void setbits(cap_t a, const __u32 *b, cap_flag_t set, unsigned blks) in setbits() 36 static void clrbits(cap_t a, const __u32 *b, cap_flag_t set, unsigned blks) in clrbits() 110 cap_t cap_from_text(const char *str) in cap_from_text() 112 cap_t res; in cap_from_text() 307 static int getstateflags(cap_t caps, int capno) in getstateflags() 326 char *cap_to_text(cap_t caps, ssize_t *length_p) in cap_to_text()
|
D | 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/crosvm/sys_util/src/ |
D | capabilities.rs | 10 type cap_t = *mut c_void; typedef 14 fn cap_init() -> cap_t; in cap_init() 16 fn cap_set_proc(cap: cap_t) -> c_int; in cap_set_proc()
|
/external/ltp/testcases/kernel/security/filecaps/ |
D | verify_caps_exec.c | 68 cap_t cap = cap_get_proc(); in print_my_caps() 87 cap_t cap = cap_from_text("=eip"); in drop_root() 102 cap_t cap; in perms_test() 154 static int fork_drop_and_exec(int keepperms, cap_t expected_caps) in fork_drop_and_exec() 161 cap_t actual_caps; in fork_drop_and_exec() 213 cap_t fcap, pcap, cap_fullpi; in caps_actually_set_test() 315 cap_t cmpcap; in caps_actually_set_test()
|
D | check_simple_capset.c | 31 cap_t caps, caps2; in main()
|
D | print_caps.c | 45 cap_t cap = cap_get_proc(); in main()
|
D | inh_capped.c | 49 cap_t caps = cap_from_text(capstr); in set_caps_from_text()
|
/external/libcap/progs/old/ |
D | sucap.c | 54 cap_t old_caps; in main() 144 cap_t cap = cap_init(); in main() 168 cap_t cap = cap_init(); in main()
|
D | execcap.c | 34 cap_t new_caps; in main()
|
/external/libcap/progs/ |
D | setcap.c | 64 cap_t mycaps; in main() 79 cap_t cap_d; in main() 124 cap_t cap_on_file; in main()
|
D | capsh.c | 56 cap_t orig, raised_for_setpcap; in main() 126 cap_t all, raised_for_setpcap; in main() 195 cap_t all, raised_for_setpcap; in main() 250 cap_t orig, raised_for_chroot; in main() 487 cap_t all; in main()
|
D | getpcaps.c | 36 cap_t cap_d; in main()
|
/external/u-boot/drivers/tpm/ |
D | tpm_tis.h | 73 union cap_t { union 86 union cap_t cap;
|
/external/ltp/testcases/kernel/security/securebits/ |
D | check_keepcaps.c | 34 static int eff_caps_empty(cap_t c) in eff_caps_empty() 62 cap_t cap = cap_get_proc(); in am_privileged()
|
/external/ltp/testcases/kernel/containers/userns/ |
D | userns06_capcheck.c | 43 cap_t caps; in main()
|
/external/libcap/contrib/bug400591/ |
D | bug.c | 13 cap_t caps, caps2; in main()
|
/external/ltp/testcases/kernel/security/cap_bound/ |
D | check_pe.c | 48 cap_t cur; in main()
|
D | exec_without_inh.c | 49 cap_t cur; in main()
|
D | exec_with_inh.c | 48 cap_t cur = 0; in main()
|