Searched defs:keep (Results 1 - 1 of 1) sorted by relevance

/systemd/src/basic/
H A Dcapability-util.c152 int capability_bounding_set_drop(uint64_t keep, bool right_now) { argument
193 if (!(keep & (UINT64_C(1) << i))) {
232 static int drop_from_file(const char *fn, uint64_t keep) { argument
252 after = current & keep;
269 int capability_bounding_set_drop_usermode(uint64_t keep) { argument
272 r = drop_from_file("/proc/sys/kernel/usermodehelper/inheritable", keep);
276 r = drop_from_file("/proc/sys/kernel/usermodehelper/bset", keep);
289 * here, since we want to run as user but want to keep some
301 /* Ensure we keep the permitted caps across the setresuid() */
303 return log_error_errno(errno, "Failed to enable keep capabilitie
[all...]

Completed in 10 milliseconds