diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-09-06 02:00:05 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-09-06 02:00:05 +0200 |
commit | 25b31f2fbdc4866433e675ff5dd3073f4d56cf08 (patch) | |
tree | 0ad2c41fd1b319dc5795144842bb32b1e844bd45 /src/locale/localed.c | |
parent | 9efce95846eb0b55343d13446445de3e679a7f03 (diff) | |
parent | 88ced61bf9673407f4b15bf51b1b408fd78c149d (diff) |
Merge pull request #1159 from AnchorCat/polkit-details/v2
Provide unit name and operation in manage-units polkit checks (v2)
Diffstat (limited to 'src/locale/localed.c')
-rw-r--r-- | src/locale/localed.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c index 4fa84df8c0..e304588c58 100644 --- a/src/locale/localed.c +++ b/src/locale/localed.c @@ -960,6 +960,7 @@ static int method_set_locale(sd_bus_message *m, void *userdata, sd_bus_error *er m, CAP_SYS_ADMIN, "org.freedesktop.locale1.set-locale", + NULL, interactive, UID_INVALID, &c->polkit_registry, @@ -1049,6 +1050,7 @@ static int method_set_vc_keyboard(sd_bus_message *m, void *userdata, sd_bus_erro m, CAP_SYS_ADMIN, "org.freedesktop.locale1.set-keyboard", + NULL, interactive, UID_INVALID, &c->polkit_registry, @@ -1180,6 +1182,7 @@ static int method_set_x11_keyboard(sd_bus_message *m, void *userdata, sd_bus_err m, CAP_SYS_ADMIN, "org.freedesktop.locale1.set-keyboard", + NULL, interactive, UID_INVALID, &c->polkit_registry, |