/external/ltp/testcases/kernel/security/filecaps/ |
D | verify_caps_exec.c | 251 cap_set_flag(fcap, CAP_PERMITTED, 1, capvalue, CAP_SET); in caps_actually_set_test() 272 cap_set_flag(fcap, CAP_PERMITTED, 1, capvalue, CAP_SET); in caps_actually_set_test() 273 cap_set_flag(fcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test() 294 cap_set_flag(cap_fullpi, CAP_INHERITABLE, 1, capvalue, CAP_SET); in caps_actually_set_test() 326 cap_set_flag(pcap, CAP_PERMITTED, 1, capvalue, CAP_SET); in caps_actually_set_test() 330 cap_set_flag(fcap, CAP_INHERITABLE, 1, capvalue, CAP_SET); in caps_actually_set_test() 353 cap_set_flag(fcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test() 354 cap_set_flag(pcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test() 363 cap_set_flag(cmpcap, CAP_PERMITTED, 1, capvalue, CAP_SET); in caps_actually_set_test() 364 cap_set_flag(cmpcap, CAP_EFFECTIVE, 1, capvalue, CAP_SET); in caps_actually_set_test()
|
/external/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl07.c | 125 cap_set_flag(caps, CAP_EFFECTIVE, numcaps, caplist, CAP_SET); in verify_prctl() 126 cap_set_flag(caps, CAP_INHERITABLE, numcaps, caplist, CAP_SET); in verify_prctl() 127 cap_set_flag(caps, CAP_PERMITTED, numcaps, caplist, CAP_SET); in verify_prctl() 136 cap_set_flag(caps, CAP_INHERITABLE, numcaps, caplist, CAP_SET); in verify_prctl() 141 cap_set_flag(caps, CAP_PERMITTED, numcaps, caplist, CAP_SET); in verify_prctl()
|
/external/crosvm/devices/src/virtio/fs/ |
D | caps.rs | 25 fn cap_set_flag( in cap_set_flag() function 130 cap_set_flag( in update()
|
/external/iputils/ninfod/ |
D | ninfod.c | 526 cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_net_raw, CAP_SET); in limit_capabilities() 527 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &cap_net_raw, CAP_SET); in limit_capabilities() 532 cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_setuid, CAP_SET); in limit_capabilities() 565 cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_setuid, CAP_SET); in drop_capabilities() 566 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &cap_setuid, CAP_SET); in drop_capabilities()
|
/external/libcap/libcap/ |
D | cap_proc.c | 426 int ret = cap_set_flag(working, CAP_EFFECTIVE, in _cap_set_mode() 551 (void) cap_set_flag(working, CAP_EFFECTIVE, in _cap_setuid() 606 (void) cap_set_flag(working, CAP_EFFECTIVE, in _cap_setgroups() 703 ret = cap_set_flag(working, CAP_EFFECTIVE, in _cap_iab_set_proc() 826 (void) cap_set_flag(working, CAP_EFFECTIVE, in _cap_chroot()
|
D | cap_flag.c | 41 int cap_set_flag(cap_t cap_d, cap_flag_t set, in cap_set_flag() function
|
/external/ltp/testcases/kernel/security/cap_bound/ |
D | exec_without_inh.c | 56 ret = cap_set_flag(cur, CAP_INHERITABLE, 1, v, CAP_CLEAR); in main()
|
D | cap_bset_inh_bounds.c | 103 ret = cap_set_flag(tmpcap, CAP_INHERITABLE, 1, v, CAP_CLEAR); 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/syscalls/pivot_root/ |
D | pivot_root01.c | 85 if (cap_set_flag(cap, CAP_EFFECTIVE, 1, cap_value, CAP_CLEAR)) in drop_cap_sys_admin()
|
/external/libcap/progs/ |
D | capsh.c | 181 if (cap_set_flag(*raised_for_setpcap_p, CAP_EFFECTIVE, 1, in push_pcap() 433 && (cap_set_flag(raised_for_setpcap, CAP_EFFECTIVE, 1, in main() 495 && (cap_set_flag(raised_for_setpcap, CAP_EFFECTIVE, 1, in main() 599 if (cap_set_flag(raised_for_chroot, CAP_EFFECTIVE, 1, raise_chroot, in main()
|
D | setcap.c | 200 if (cap_set_flag(mycaps, CAP_EFFECTIVE, 1, &capflag, CAP_SET) in main()
|
/external/libwebsockets/lib/plat/unix/ |
D | unix-caps.c | 44 cap_set_flag(caps, mode, count, cv, CAP_SET); in _lws_plat_apply_caps()
|
/external/libcap/libcap/include/sys/ |
D | capability.h | 114 extern int cap_set_flag(cap_t, cap_flag_t, int, const cap_value_t *,
|
/external/iputils/ |
D | ping_common.c | 97 cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_admin, CAP_SET); in limit_capabilities() 103 cap_set_flag(cap_p, CAP_PERMITTED, 1, &cap_raw, CAP_SET); in limit_capabilities() 157 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, &cap, on); in modify_capability()
|
D | arping.c | 175 cap_set_flag(cap_p, CAP_PERMITTED, 1, caps, CAP_SET); in limit_capabilities() 219 cap_set_flag(cap_p, CAP_EFFECTIVE, 1, caps, on ? CAP_SET : CAP_CLEAR); in modify_capability_raw()
|
/external/linux-kselftest/tools/testing/selftests/safesetid/ |
D | safesetid-test.c | 277 cap_set_flag(caps, CAP_EFFECTIVE, 2, cap_values, CAP_SET); in drop_caps()
|
/external/minijail/ |
D | libminijail.c | 2038 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, flag, CAP_SET)) in drop_caps() 2040 if (cap_set_flag(caps, CAP_PERMITTED, 1, flag, CAP_SET)) in drop_caps() 2042 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_SET)) in drop_caps() 2075 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, flag, CAP_CLEAR)) in drop_caps() 2077 if (cap_set_flag(caps, CAP_PERMITTED, 1, flag, CAP_CLEAR)) in drop_caps() 2079 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_CLEAR)) in drop_caps()
|
/external/linux-kselftest/tools/testing/selftests/bpf/ |
D | test_verifier.c | 822 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, &cap_val, in set_admin()
|
/external/libwebsockets/ |
D | CMakeLists.txt | 938 CHECK_LIBRARY_EXISTS(cap cap_set_flag "" LWS_HAVE_LIBCAP)
|