projects
/
systembsd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change polkit action names to match systemd's exactly
[systembsd.git]
/
src
/
interfaces
/
hostnamed
/
hostnamed.c
diff --git
a/src/interfaces/hostnamed/hostnamed.c
b/src/interfaces/hostnamed/hostnamed.c
index 3dae12ce0062c31ce77f37e87a89d6181a1f46e5..3f63e0a027416128ac3f12fb495ff1dc573a27b3 100644
(file)
--- a/
src/interfaces/hostnamed/hostnamed.c
+++ b/
src/interfaces/hostnamed/hostnamed.c
@@
-133,7
+133,7
@@
on_handle_set_hostname(Hostname1 *hn1_passed_interf,
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
SetH
ostname", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
set-h
ostname", policykit_auth);
switch(is_authed) {
switch(is_authed) {
@@
-210,7
+210,7
@@
on_handle_set_static_hostname(Hostname1 *hn1_passed_interf,
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
SetStaticH
ostname", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
set-static-h
ostname", policykit_auth);
switch(is_authed) {
switch(is_authed) {
@@
-289,7
+289,7
@@
on_handle_set_pretty_hostname(Hostname1 *hn1_passed_interf,
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
SetPrettyH
ostname", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
set-pretty-h
ostname", policykit_auth);
switch(is_authed) {
switch(is_authed) {
@@
-389,7
+389,7
@@
on_handle_set_chassis(Hostname1 *hn1_passed_interf,
g_strlcpy(valid_chassis_name_buf, proposed_chassis_name, (gsize)64);
/* verify caller has correct permissions via polkit */
g_strlcpy(valid_chassis_name_buf, proposed_chassis_name, (gsize)64);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
SetC
hassis", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
set-c
hassis", policykit_auth);
switch(is_authed) {
switch(is_authed) {
@@
-473,7
+473,7
@@
on_handle_set_icon_name(Hostname1 *hn1_passed_interf,
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
bus_name = g_dbus_method_invocation_get_sender(invoc);
/* verify caller has correct permissions via polkit */
- is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
SetIconN
ame", policykit_auth);
+ is_authed = polkit_try_auth(bus_name, "org.freedesktop.hostname1.
set-icon-n
ame", policykit_auth);
switch(is_authed) {
switch(is_authed) {