CK: more paranoia, idle status, and creation-time
William Jon McCann
mccann at jhu.edu
Thu Feb 15 14:12:58 PST 2007
Hi,
Just a quick update.
I've made CloseSession() more paranoid so that the caller must be the
same uid and pid as OpenSession.
Also added a few methods and a signal to the Session interface:
methods:
void GetCreationTime (OUT string iso8601_datetime)
void GetIdle (OUT boolean is_idle)
void GetIdleSince (OUT string iso8601_datetime)
void SetIdle (IN boolean is_idle)
signal:
IdleChanged (boolean is_idle)
So anyone can call the Get methods but the SetIdle is restricted to
the same uid as the session. This should be used by the desktop
specific idle detection mechanism. So, for example in GNOME, this is
set by gnome-screensaver (support in SVN now).
Comments?
Jon
More information about the hal
mailing list