summaryrefslogtreecommitdiff
path: root/src/ck-sysdeps-openbsd.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/+12
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.
2014-10-07Size of pointer 'P' used instead of size of its data.Eric Koegel1-3/+3
CppCheck marks this as a warning that P might be used in sizeof instead of P->tty_text so we'll use sizeof (P->tty_text) to make it explicit.
2014-10-06OpenBSD: Fix buildajacoutot1-38/+79
Pulls in fixes from: http://anoncvs.estpak.ee/cgi-bin/cgit/openbsd-ports/tree/sysutils/consolekit/patches/patch-src_ck-sysdeps-openbsd_c
2014-10-04Add OpenBSD supportRobert Nagy1-0/+430
Patches taken from: https://github.com/avsm/openbsd-ports/tree/master/sysutils/consolekit/patches