]> git.ipfire.org Git - thirdparty/util-linux.git/commit
setpriv: error when a landlock rule has no access
authorSkye Soss <skye@soss.website>
Sat, 18 Jul 2026 18:26:53 +0000 (13:26 -0500)
committerSkye Soss <skye@soss.website>
Sun, 2 Aug 2026 02:16:40 +0000 (21:16 -0500)
commite032d6b4a58ef108e362e5aa6796b56ccda32e27
treefb4d5afb863ddcef2740c4a322107ebced57e631
parent747e21096dde0f71dbb77db72a133cfe951dfd7d
setpriv: error when a landlock rule has no access

The --landlock-rule option is used to allow operations through the
restriction introduced by a --landlock-access option. Specifying
--landlock-rule without specifying the corresponding --landlock-access
is always a user error, so produce an error message when that happens.

Signed-off-by: Skye Soss <skye@soss.website>
sys-utils/setpriv-landlock.c