]> git.ipfire.org Git - thirdparty/systemd.git/commit
core: manage SetShowStatus through polkit
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 7 Mar 2022 18:22:26 +0000 (19:22 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 8 Mar 2022 14:13:36 +0000 (23:13 +0900)
commit4db62561c2a7c762f83e38f57ccc0a8ab6a662a8
treeee790d2aab9bf755056703c10fc8f1bbd4c5fbae
parente92a3d8fa3c554f807ddbcd7fc00821868fd8a62
core: manage SetShowStatus through polkit

When writing docs for SD_BUS_VTABLE_CAPABILITY, I noticed that we have one use
of SD_BUS_VTABLE_CAPABILITY(CAP_SYS_ADMIN) in the tree. This is the default, so
it's not very useful to specify it. But if we're touching that, I think it's
better to use mac + polkit for this like for everything else.

We don't have a very good category for this, but I don't think it makes sense
to add a new one. I just reused the same as other similar calls.
man/org.freedesktop.systemd1.xml
src/core/dbus-manager.c