core: drop ambient capabilities in user manager 45/277745/2
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 12 Jul 2022 11:57:32 +0000 (13:57 +0200)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Wed, 13 Jul 2022 06:50:22 +0000 (08:50 +0200)
commit6cbb18a475e96f74137bb086fc108d0317e55cf6
tree27c789f71fe314d2ad407f3eb09517fe16c048a8
parentd4e29fa661e70b197d1e2e35a19437e6954a0da1
core: drop ambient capabilities in user manager

Ambient capabilities should not be passed implicitly to user
services. Dropping them does not affect other sets which are importat
for the manager itself to operate.

Change-Id: Ib3c4b2d59830537e89b5e85a196a4ca1a65fed77
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Forwarded: https://github.com/systemd/systemd/pull/23988
src/core/main.c