summaryrefslogtreecommitdiff
path: root/src/ck-sysdeps-gnu.c
AgeCommit message (Collapse)AuthorFilesLines
2014-10-20Add HybridSleep support and change CanSleepEric Koegel1-0/+7
Emulate the logind API to make it more easier for porting to ConsoleKit2 for the CanSuspend/CanHibernate/CanHybridSleep methods. They now return: yes - system can and user explicitly authorized by polkit, rbac, or neither is running no - system can and user explicitly unauthorized by polkit or rbac challenge - system can and user requires elevation via polkit na - system does not support it (hardware or backend support missing). The auth methods have been removed. Currently HybridSleep only works on Linux.
2014-10-13More Suspend DBUS API workEric Koegel1-0/+14
We need a Can/Auth split for suspend/hibernate because the user may be authorized but the system is unable to perform those actions. Additionally start working the inhibit calls. We also need to actually add the suspend/hibernate tools.
2012-03-19Add support for GNU/HurdPino Toscano1-0/+402
Currently consolekit fails to build on GNU/Hurd mainly because there's no sysdeps backend for the GNU OS implemented. The attached patch proposes a sysdeps-gnu backend, which implements the process management using Hurd's libps, the *ttyent API for the part of the console implementation and the rest using similar (valid) approaches of other backends. Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552393 https://bugs.freedesktop.org/show_bug.cgi?id=24738