Lines Matching defs:set
97 int capability_update_inherited_set(cap_t caps, uint64_t set) {
100 /* Add capabilities in the set to the inherited caps. Do not apply
105 if (set & (UINT64_C(1) << i)) {
119 int capability_ambient_set_apply(uint64_t set, bool also_inherit) {
123 /* Add the capabilities to the ambient set. */
131 r = capability_update_inherited_set(caps, set);
141 if (set & (UINT64_C(1) << i)) {
143 /* Add the capability to the ambient set. */
159 * in the effective set (yes, the kernel drops that when
196 /* Drop it from the bounding set */
203 /* Also drop it from the inheritable set, so
312 /* Drop all caps from the bounding set, except the ones we want */