chiark / gitweb /
capability: change capability_bounding_set_drop() to be work without privileges when...
authorLennart Poettering <lennart@poettering.net>
Wed, 9 Aug 2017 13:05:36 +0000 (15:05 +0200)
committerSven Eden <yamakuzure@gmx.net>
Mon, 25 Sep 2017 12:31:16 +0000 (14:31 +0200)
commit1f130b1ec38f8c1d8c4f47c9b5a36b7017526fbe
treef5681f3fda9192c579dff909d861eab5d9d5a4e8
parentd1c1c992b810520323ddbceca865ba8995f1dd95
capability: change capability_bounding_set_drop() to be work without privileges when executing a NOP

This way daemons which already dropped all caps may use the call to
drop priviliges again, which becomes a non-failing NOP.
src/basic/capability-util.c