Home
last modified time | relevance | path

Searched refs:cap_get_flag (Results 1 – 17 of 17) sorted by relevance

/external/libcap/progs/
Dsetcap.c180 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/
Duserns06_capcheck.c57 cap_get_flag(caps, i, CAP_EFFECTIVE, &flag_val); in main()
60 cap_get_flag(caps, i, CAP_PERMITTED, &flag_val); in main()
Duserns01.c74 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/ltp/testcases/kernel/security/cap_bound/
Dcap_bset_inh_bounds.c75 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()
Dcheck_pe.c60 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_EFFECTIVE, &f); in main()
Dexec_without_inh.c52 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
Dexec_with_inh.c66 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_INHERITABLE, &f); in main()
/external/libcap/doc/
DMakefile10 cap_clear.3 cap_clear_flag.3 cap_get_flag.3 cap_set_flag.3 \
/external/libcap/libcap/include/sys/
Dcapability.h76 extern int cap_get_flag(cap_t, cap_value_t, cap_flag_t, cap_flag_value_t *);
/external/ltp/testcases/kernel/security/securebits/
Dcheck_keepcaps.c40 ret = cap_get_flag(c, i, CAP_PERMITTED, &v); in eff_caps_empty()
/external/libcap/libcap/
Dcap_flag.c16 int cap_get_flag(cap_t cap_d, cap_value_t value, cap_flag_t set, in cap_get_flag() function
/external/iputils/
Dping_common.c94 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()
Darping.c167 cap_get_flag(cap_p, CAP_NET_RAW, CAP_PERMITTED, &cap_raw); in limit_capabilities()
/external/iputils/ninfod/
Dninfod.c524 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/
Dminijail0_cli.c216 if (cap_get_flag(caps, CAP_SETGID, CAP_EFFECTIVE, &cap_value)) { in has_cap_setgid()
/external/perf_data_converter/src/quipper/
Dperf_parser_test.cc592 CHECK_EQ(cap_get_flag(capabilities, capability, CAP_EFFECTIVE, &value), 0); in HaveCapability()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_verifier.c9018 if (cap_get_flag(caps, cap_val, CAP_EFFECTIVE, &sysadmin)) in is_admin()