| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Linux audit session id support. Still TODO:
* determine if session id should be hidden
* export to bus
* add to event log
* figure out how to add it to non-generated sessions
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mapping between device path and (major, minor).
"/dev/vt" -- (15,*)
"/dev/pts" -- (24,*)
"/dev/console" -- (0,0)
"NO_TTY_VALUE" - (-1,-1)
Also, solaris VT device is named like this.
/dev/console --- VT #1
/dev/vt/2 --- VT #2
/dev/vt/3 --- VT #3
/dev/vt/N --- VT #4
|
|
|
|
|
|
| |
This patch fixes ConsoleKit
so it sets x11-display-device to "/dev/console" when not using
VT.
|
|
|
|
|
|
|
|
|
| |
This fixes the Active device so it is set to "/dev/console" when not
using VT. Without this patch, the syslog reports messages like:
Active device: /dev/vt/3508388860
Which is obviously wrong if not using VT at all.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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 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.
|
| |
|
|
|
|
| |
Based on patch from Joe Marcus Clarke
|
| |
|
| |
|
| |
|
|
|
|
| |
based on patch from Brian Cameron.
|
|
|