diff options
author | Michael Chapman <mike@very.puzzling.org> | 2015-09-06 00:07:16 +1000 |
---|---|---|
committer | Michael Chapman <mike@very.puzzling.org> | 2015-09-06 00:07:16 +1000 |
commit | 403ed0e5c914f2a0a683403d8ba7eaf96e3ffcdf (patch) | |
tree | 1522b7c2adc228dda7bc9fd3d94c0d1bac9d504c /src/login/logind-seat-dbus.c | |
parent | 17258f5f27dd3dd57c36f2805e0a0c27a1aeabba (diff) |
bus-util: support details in CheckAuthorization calls
Extra details for an action can be supplied when calling polkit's
CheckAuthorization method. Details are a list of key/value string pairs.
Custom policy can use these details when making authorization decisions.
Diffstat (limited to 'src/login/logind-seat-dbus.c')
-rw-r--r-- | src/login/logind-seat-dbus.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/logind-seat-dbus.c b/src/login/logind-seat-dbus.c index ce67ffde37..346e1d2cec 100644 --- a/src/login/logind-seat-dbus.c +++ b/src/login/logind-seat-dbus.c @@ -204,6 +204,7 @@ int bus_seat_method_terminate(sd_bus_message *message, void *userdata, sd_bus_er message, CAP_KILL, "org.freedesktop.login1.manage", + NULL, false, UID_INVALID, &s->manager->polkit_registry, |