Searched refs:cap_get_flag (Results 1 – 14 of 14) sorted by relevance
/external/libcap/progs/ |
D | setcap.c | 180 cap_get_flag(cap_d, cap, CAP_PERMITTED, &per_state) != -1; in main() 184 cap_get_flag(cap_d, cap, CAP_INHERITABLE, &inh_state); in main() 185 cap_get_flag(cap_d, cap, CAP_EFFECTIVE, &eff_state); in main()
|
/external/ltp/testcases/kernel/containers/userns/ |
D | userns06_capcheck.c | 57 cap_get_flag(caps, i, CAP_EFFECTIVE, &flag_val); in main() 60 cap_get_flag(caps, i, CAP_PERMITTED, &flag_val); in main()
|
D | userns01.c | 75 cap_get_flag(caps, i, CAP_EFFECTIVE, &flag_val); in child_fn1() 78 cap_get_flag(caps, i, CAP_PERMITTED, &flag_val); in child_fn1()
|
/external/ltp/testcases/kernel/security/cap_bound/ |
D | cap_bset_inh_bounds.c | 75 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main() 92 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
|
D | check_pe.c | 60 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_EFFECTIVE, &f); in main()
|
D | exec_with_inh.c | 66 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
|
D | exec_without_inh.c | 52 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
|
/external/libcap/doc/ |
D | Makefile | 10 cap_clear.3 cap_clear_flag.3 cap_get_flag.3 cap_set_flag.3 \
|
/external/libcap/libcap/include/sys/ |
D | capability.h | 76 extern int cap_get_flag(cap_t, cap_value_t, cap_flag_t, cap_flag_value_t *);
|
/external/ltp/testcases/kernel/security/securebits/ |
D | check_keepcaps.c | 40 ret = cap_get_flag(c, i, CAP_PERMITTED, &v); in eff_caps_empty()
|
/external/libcap/libcap/ |
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() function
|
/external/iputils/ |
D | ping_common.c | 94 cap_get_flag(cap_cur_p, CAP_NET_ADMIN, CAP_PERMITTED, &cap_ok); in limit_capabilities() 100 cap_get_flag(cap_cur_p, CAP_NET_RAW, CAP_PERMITTED, &cap_ok); in limit_capabilities() 151 cap_get_flag(cap_p, cap, CAP_PERMITTED, &cap_ok); in modify_capability()
|
D | arping.c | 167 cap_get_flag(cap_p, CAP_NET_RAW, CAP_PERMITTED, &cap_raw); in limit_capabilities()
|
/external/iputils/ninfod/ |
D | ninfod.c | 524 cap_get_flag(cap_cur_p, CAP_NET_RAW, CAP_PERMITTED, &cap_ok); in limit_capabilities() 530 cap_get_flag(cap_cur_p, CAP_SETUID, CAP_PERMITTED, &cap_ok); in limit_capabilities()
|