From 2853ce5812aa8f03f677516e64d5dcff1e6e01ab Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Mon, 9 Jul 2012 21:33:10 -0400 Subject: worker: add reauthentication support This commit adds reauthentication support for screensavers and user switching to use. 1) It adds a "verification mode" argument to the GdmSession constructor that tweaks the behavior of how the session worker acts to fit login or unlock scenarios better. 2) It adds a way for programs to open a communication channel for user verification to already runnings sessions (so reauthentication happens in the context of the session). --- daemon/gdm-dbus-util.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'daemon/gdm-dbus-util.h') diff --git a/daemon/gdm-dbus-util.h b/daemon/gdm-dbus-util.h index b3210b4d..a9a42acb 100644 --- a/daemon/gdm-dbus-util.h +++ b/daemon/gdm-dbus-util.h @@ -32,4 +32,7 @@ gboolean gdm_dbus_get_pid_for_name (const char *system_bus_name, pid_t *out_pid, GError **error); +gboolean gdm_dbus_get_uid_for_name (const char *system_bus_name, + uid_t *out_uid, + GError **error); #endif -- cgit v1.2.1