/external/libcap/libcap/ |
D | cap_text.c | 153 _cap_debugcap("e = ", *res, CAP_EFFECTIVE); in cap_from_text() 220 clrbits(res, list, CAP_EFFECTIVE, cap_blks); in cap_from_text() 228 setbits(res, list, CAP_EFFECTIVE, cap_blks); in cap_from_text() 237 clrbits(res, list, CAP_EFFECTIVE, cap_blks); in cap_from_text() 311 if (isset_cap(caps, capno, CAP_EFFECTIVE)) { in getstateflags() 358 _cap_debugcap("e = ", *caps, CAP_EFFECTIVE); in cap_to_text()
|
D | cap_file.c | 83 result->u[i].flat[CAP_EFFECTIVE] in _fcaps_load() 91 = result->u[i].flat[CAP_EFFECTIVE] = 0; in _fcaps_load() 142 eff_not_zero |= cap_d->u[i].flat[CAP_EFFECTIVE]; in _fcaps_save() 145 if ((cap_d->u[i].flat[CAP_EFFECTIVE] in _fcaps_save() 164 && ((~(cap_d->u[i].flat[CAP_EFFECTIVE])) in _fcaps_save()
|
D | cap_flag.c | 103 case CAP_EFFECTIVE: in cap_clear_flag() 142 ((a->u[i].flat[CAP_EFFECTIVE] != b->u[i].flat[CAP_EFFECTIVE]) in cap_compare()
|
D | libcap.h | 148 #define LIBCAP_EFF (1 << CAP_EFFECTIVE)
|
/external/libcap/progs/ |
D | setcap.c | 145 CAP_DIFFERS(cmp, CAP_EFFECTIVE) ? "e" : ""); in main() 159 if (cap_set_flag(mycaps, CAP_EFFECTIVE, 1, &capflag, CAP_SET) in main() 185 cap_get_flag(cap_d, cap, CAP_EFFECTIVE, &eff_state); in main()
|
D | capsh.c | 75 if (cap_set_flag(raised_for_setpcap, CAP_EFFECTIVE, 1, in main() 142 && (cap_set_flag(raised_for_setpcap, CAP_EFFECTIVE, 1, in main() 204 && (cap_set_flag(raised_for_setpcap, CAP_EFFECTIVE, 1, in main() 264 if (cap_set_flag(raised_for_chroot, CAP_EFFECTIVE, 1, raise_chroot, in main()
|
/external/ltp/testcases/kernel/security/filecaps/ |
D | verify_caps_exec.c | 268 cap_set_flag(fcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test() 348 cap_set_flag(fcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test() 349 cap_set_flag(pcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test() 359 cap_set_flag(cmpcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test()
|
/external/ltp/testcases/kernel/containers/userns/ |
D | userns06_capcheck.c | 57 cap_get_flag(caps, i, CAP_EFFECTIVE, &flag_val); in main()
|
D | userns01.c | 74 cap_get_flag(caps, i, CAP_EFFECTIVE, &flag_val); in child_fn1()
|
/external/ltp/testcases/kernel/security/cap_bound/ |
D | check_pe.c | 60 ret = cap_get_flag(cur, CAP_SYS_ADMIN, CAP_EFFECTIVE, &f); in main()
|
/external/libcap/libcap/include/sys/ |
D | capability.h | 53 CAP_EFFECTIVE=0, /* Specifies the effective flag */ enumerator
|
/external/ltp/testcases/kernel/syscalls/pivot_root/ |
D | pivot_root01.c | 84 if (cap_set_flag(cap, CAP_EFFECTIVE, 1, cap_value, CAP_CLEAR)) in drop_cap_sys_admin()
|
/external/iputils/ninfod/ |
D | ninfod.c | 527 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &cap_net_raw, CAP_SET); in limit_capabilities() 566 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &cap_setuid, CAP_SET); in drop_capabilities()
|
/external/minijail/ |
D | minijail0_cli.c | 99 if (cap_get_flag(parsed_caps, i, CAP_EFFECTIVE, in use_caps() 272 if (cap_get_flag(caps, CAP_SETGID, CAP_EFFECTIVE, &cap_value)) { in has_cap_setgid()
|
D | libminijail.c | 1850 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, flag, CAP_SET)) in drop_caps() 1887 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, flag, CAP_CLEAR)) in drop_caps()
|
/external/iputils/ |
D | ping_common.c | 157 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &cap, on); in modify_capability()
|
D | arping.c | 219 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, caps, on ? CAP_SET : CAP_CLEAR); in modify_capability_raw()
|
/external/perf_data_converter/src/quipper/ |
D | perf_parser_test.cc | 592 CHECK_EQ(cap_get_flag(capabilities, capability, CAP_EFFECTIVE, &value), 0); in HaveCapability()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 14212 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, &cap_val, in set_admin() 14340 if (cap_get_flag(caps, cap_val, CAP_EFFECTIVE, &sysadmin)) in is_admin()
|