/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 | 74 cap_get_flag(caps, i, CAP_EFFECTIVE, &flag_val); in child_fn1() 77 cap_get_flag(caps, i, CAP_PERMITTED, &flag_val); in child_fn1()
|
/external/libcap/progs/ |
D | setcap.c | 222 cap_get_flag(cap_d, cap, CAP_PERMITTED, &per_state) != -1; in main() 226 cap_get_flag(cap_d, cap, CAP_INHERITABLE, &inh_state); in main() 227 cap_get_flag(cap_d, cap, CAP_EFFECTIVE, &eff_state); in main()
|
D | capsh.c | 852 if (cap_get_flag(orig, cap, CAP_PERMITTED, &enabled) || !enabled) { in main() 868 if (cap_get_flag(orig, cap, CAP_INHERITABLE, &enabled) in main()
|
/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 | 67 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
|
D | exec_without_inh.c | 53 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/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/include/sys/ |
D | capability.h | 113 extern int cap_get_flag(cap_t, cap_value_t, cap_flag_t, cap_flag_value_t *);
|
/external/libcap/pam_cap/ |
D | test_pam_cap.c | 112 if (cap_get_flag(prev, i, CAP_INHERITABLE, &u) != 0) { in load_vectors()
|
/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/libcap/libcap/ |
D | cap_flag.c | 18 int cap_get_flag(cap_t cap_d, cap_value_t value, cap_flag_t set, in cap_get_flag() function
|
/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()
|
/external/minijail/ |
D | minijail0_cli.c | 160 if (cap_get_flag(parsed_caps, i, CAP_EFFECTIVE, in use_caps() 340 if (cap_get_flag(caps, CAP_SETGID, CAP_EFFECTIVE, &cap_value)) { in has_cap_setgid()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 1070 if (cap_get_flag(caps, cap_val, CAP_EFFECTIVE, &sysadmin)) in is_admin()
|