/external/avahi/avahi-daemon/ |
D | caps.c | 48 cap_set_flag(caps, CAP_EFFECTIVE, 3, cap_values, CAP_SET); in avahi_caps_reduce() 49 cap_set_flag(caps, CAP_PERMITTED, 3, cap_values, CAP_SET); in avahi_caps_reduce() 86 cap_set_flag(caps, CAP_EFFECTIVE, 1, cap_values, CAP_SET); in avahi_caps_reduce2() 87 cap_set_flag(caps, CAP_PERMITTED, 1, cap_values, CAP_SET); in avahi_caps_reduce2()
|
/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/progs/ |
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()
|
D | setcap.c | 159 if (cap_set_flag(mycaps, CAP_EFFECTIVE, 1, &capflag, CAP_SET) 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 | 77 extern int cap_set_flag(cap_t, cap_flag_t, int, const cap_value_t *,
|
/external/libcap/libcap/ |
D | cap_flag.c | 39 int cap_set_flag(cap_t cap_d, cap_flag_t set, in cap_set_flag() function
|
/external/minijail/ |
D | libminijail.c | 1223 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, flag, CAP_SET)) in drop_caps() 1225 if (cap_set_flag(caps, CAP_PERMITTED, 1, flag, CAP_SET)) in drop_caps() 1227 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_SET)) in drop_caps() 1249 if (cap_set_flag(caps, CAP_EFFECTIVE, 1, flag, CAP_CLEAR)) in drop_caps() 1251 if (cap_set_flag(caps, CAP_PERMITTED, 1, flag, CAP_CLEAR)) in drop_caps() 1253 if (cap_set_flag(caps, CAP_INHERITABLE, 1, flag, CAP_CLEAR)) in drop_caps()
|
/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/libchrome/sandbox/linux/services/ |
D | credentials_unittest.cc | 236 PCHECK(cap_set_flag(expected_cap.get(), flag, 1, &allowed_cap, CAP_SET) == in SANDBOX_TEST()
|