chiark / gitweb /
verbs: add a new VERB_MUSTBEROOT flag
authorLennart Poettering <lennart@poettering.net>
Mon, 11 Dec 2017 22:10:11 +0000 (23:10 +0100)
committerSven Eden <yamakuzure@gmx.net>
Mon, 11 Dec 2017 22:10:11 +0000 (23:10 +0100)
commit6aafa2772c1c1b27960edf368a9a9ac85bb64dc8
treed38501c4b29e10aea1f66dacc64735934d794996
parentb3826e3b2bd8b5b8eb5365ff084fdc701932f9da
verbs: add a new VERB_MUSTBEROOT flag

Given that we regularly have verbs that require privileges, let's just
make this a flag of the verb.
src/basic/verbs.c
src/basic/verbs.h