Home
last modified time | relevance | path

Searched refs:polkit_action (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/login/
Dlogind-action.c26 .polkit_action = "org.freedesktop.login1.power-off",
38 .polkit_action = "org.freedesktop.login1.reboot",
50 .polkit_action = "org.freedesktop.login1.halt",
62 .polkit_action = "org.freedesktop.login1.reboot",
74 .polkit_action = "org.freedesktop.login1.suspend",
83 .polkit_action = "org.freedesktop.login1.hibernate",
92 .polkit_action = "org.freedesktop.login1.hibernate",
101 .polkit_action = "org.freedesktop.login1.hibernate",
Dlogind-action.h36 const char *polkit_action; member
Dlogind-dbus.c1833 a->polkit_action, in verify_shutdown_creds()
2259 assert(a->polkit_action); in method_schedule_shutdown()
2328 if (!a->polkit_action) in method_cancel_scheduled_shutdown()
2334 a->polkit_action, in method_cancel_scheduled_shutdown()
2457 …r = bus_test_polkit(message, CAP_SYS_BOOT, a->polkit_action, NULL, UID_INVALID, &challenge, error); in method_can_shutdown_or_sleep()
/systemd-251/src/portable/
Dportabled-image-bus.c994 const char *polkit_action, in bus_image_acquire() argument
1007 assert(polkit_action || mode == BUS_IMAGE_REFUSE_BY_PATH); in bus_image_acquire()
1016 polkit_action, in bus_image_acquire()
1070 polkit_action, in bus_image_acquire()
Dportabled-image-bus.h40 … char *name_or_path, Image *image, ImageAcquireMode mode, const char *polkit_action, Image **ret, …