Home
last modified time | relevance | path

Searched refs:challenge (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/shared/
Dbus-polkit.c90 int authorized = false, challenge = false; in bus_test_polkit() local
138 r = sd_bus_message_read(reply, "bb", &authorized, &challenge); in bus_test_polkit()
146 *_challenge = challenge; in bus_test_polkit()
275 int authorized, challenge; in bus_verify_polkit_async() local
304 r = sd_bus_message_read(q->reply, "bb", &authorized, &challenge); in bus_verify_polkit_async()
311 if (challenge) in bus_verify_polkit_async()
/systemd-251/src/login/
Dlogind-dbus.c245 bool challenge; in return_test_polkit() local
248 r = bus_test_polkit(message, capability, action, details, good_user, &challenge, e); in return_test_polkit()
254 else if (challenge) in return_test_polkit()
2374 bool multiple_sessions, challenge, blocked; in method_can_shutdown_or_sleep() local
2426 …t(message, CAP_SYS_BOOT, a->polkit_action_multiple_sessions, NULL, UID_INVALID, &challenge, error); in method_can_shutdown_or_sleep()
2432 else if (challenge) in method_can_shutdown_or_sleep()
2439 …lkit(message, CAP_SYS_BOOT, a->polkit_action_ignore_inhibit, NULL, UID_INVALID, &challenge, error); in method_can_shutdown_or_sleep()
2446 } else if (challenge) { in method_can_shutdown_or_sleep()
2457 …r = bus_test_polkit(message, CAP_SYS_BOOT, a->polkit_action, NULL, UID_INVALID, &challenge, error); in method_can_shutdown_or_sleep()
2463 else if (challenge) in method_can_shutdown_or_sleep()