summaryrefslogtreecommitdiffstats
path: root/src/ck-sysdeps-solaris.c
Commit message (Collapse)AuthorAgeFilesLines
* improve supporting Solaris VT switchingSimon Zheng2008-02-191-1/+1
| | | | | | | | | | | | | | | Here's a patch for ConsoleKit to improve supporting Solaris VT. Two changes are made. - Solaris supports synchronous event notification in STREAMS. Using this, we can avoid creating many threads for idle VTs. By setting the S_MSG flag in an I_SETSIG STREAMS ioctl, applications can get a synchronous notification of VT switching. In other words, these processes are able to receive a SIGPOLL signal when a VT switching succeeds. - Change a little command line of getting maximum vt console numbers.
* fixes for solarisBrian Cameron2008-01-281-1/+1
| | | | | | | | | | Fixes two bugs I found in the code. The first is that we need some NULL protection around the g_strdup_printf where we build CK_SESSION_X11_DISPLAY to avoid a crash. Second, I noticed a bug in the ck_unix_pid_get_hash function where we weren't parsing the data right and causing the hash to not get set properly.
* don't use VT_GETSTATE when VT is unavailableBrian Cameron2007-09-191-0/+10
|
* fix some compiler warnings, untabifyWilliam Jon McCann2007-08-281-4/+4
| | | | Based on patch from Joe Marcus Clarke
* move some of the freebsd specific stuff into sysdepsWilliam Jon McCann2007-08-271-0/+48
|
* more build fixes for solarisBrian Cameron2007-08-221-2/+7
|
* abstract out the tty device basename stuffWilliam Jon McCann2007-08-211-0/+35
|
* more solaris supportWilliam Jon McCann2007-08-211-26/+83
| | | | based on patch from Brian Cameron.
* move all proc stuff into ck-sysdepsWilliam Jon McCann2007-08-161-0/+324