]> git.ipfire.org Git - thirdparty/systemd.git/commit
execute: Call capability_ambient_set_apply even if ambient set is 0 14133/head
authorKevin Kuehler <keur@xcf.berkeley.edu>
Tue, 26 Nov 2019 19:20:14 +0000 (11:20 -0800)
committerKevin Kuehler <keur@xcf.berkeley.edu>
Wed, 27 Nov 2019 18:57:23 +0000 (10:57 -0800)
commit943800f4e7728feb2416dd57b8c296614497b94f
treeedca6b21ea5f93c49a284bfb2a3f0c865a536945
parent155a6234ea2c0ddab69d539ac9d8e57b49909e17
execute: Call capability_ambient_set_apply even if ambient set is 0

The function capability_ambient_set_apply() now drops capabilities not
in the capability_ambient_set(), so it is necessary to call it when
the ambient set is empty.

Fixes #13163
src/core/execute.c