diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-01-12 15:16:24 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-01-12 15:16:24 +0100 |
commit | 1f52a79d4eb0216bf1f2d96539609f02d8bb9e71 (patch) | |
tree | d175e992048df607a2e851d51ca738e4f0e53d38 /src/core/unit.c | |
parent | 4a6a24be180337f405591c7fa4fa112a765c53bb (diff) | |
parent | ece87975a97509b48a01b1e3da2e99c1c7dfd77a (diff) |
Merge pull request #2265 from ipuustin/ambient
capabilities: added support for ambient capabilities.
Diffstat (limited to 'src/core/unit.c')
-rw-r--r-- | src/core/unit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/unit.c b/src/core/unit.c index b977ac7f0c..e1bc6c75cb 100644 --- a/src/core/unit.c +++ b/src/core/unit.c @@ -3231,7 +3231,7 @@ int unit_patch_contexts(Unit *u) { ec->no_new_privileges = true; if (ec->private_devices) - ec->capability_bounding_set_drop |= (uint64_t) 1ULL << (uint64_t) CAP_MKNOD; + ec->capability_bounding_set &= ~(UINT64_C(1) << CAP_MKNOD); } cc = unit_get_cgroup_context(u); |