summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-09-17update NEWS for releaseWilliam Jon McCann1-0/+13
2007-08-29remove policy for gdm userWilliam Jon McCann1-15/+0
2007-08-29fix FreeBSD issues translating VT numbers to devicesJoe Marcus Clarke1-8/+14
In FreeBSD the device number is always one less than the VT number (e.g. VT 1 is /dev/ttyv0). Account for this. Also, fix up reading console entries from /etc/ttys, and make sure the full TTY device name is returned for a given process stat.
2007-08-28untabifyWilliam Jon McCann5-22/+22
2007-08-28fix some compiler warnings, untabifyWilliam Jon McCann2-115/+81
Based on patch from Joe Marcus Clarke
2007-08-27move some of the freebsd specific stuff into sysdepsWilliam Jon McCann7-90/+229
2007-08-27Don't create rc.d/init.d directory on FreeBSD.Florent Thoumie1-2/+1
Move the initdir variable inside the if-block so that it's not created on FreeBSD. Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-26Disconnect init.d script on FreeBSD.Florent Thoumie1-0/+5
Don't install ConsoleKit script in init.d/rc.d/ as it is unusable on FreeBSD. Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-26Add support for FreeBSDJoe Marcus Clarke1-0/+4
Allow this test to properly determine the current tty device. Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-26Add ck-sysdeps-freebsd.c to the list of dist sourcesJoe Marcus Clarke1-0/+1
Fix make dist by making sure ck-sysdeps-freebsd.c is available on all platforms. Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-25Restore copyright.Florent Thoumie1-0/+1
Restore copyright in ck-sysdeps-freebsd.c since Marcus "used a lot of the existing functions". Submitted by: marcus Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-25Some more fixes, Now test-vt-monitor works correctly.Florent Thoumie2-16/+33
Submitted by: marcus Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-25Add FreeBSD native backend (untested)Florent Thoumie4-421/+182
- Add Marcus' FreeBSD backend for ConsoleKit. Compiles fine but test-vt-monitor doesn't seem to work correctly. - Remove TODO entry. Submitted by: marcus Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-25Add a note about native FreeBSD backend in TODO.Florent Thoumie1-0/+2
At the moment, we rely on linprocfs being mounted, we need a native backend on FreeBSD. Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-25First attempt a making ConsoleKit work on FreeBSDFlorent Thoumie4-2/+679
- Add some ifdef's to make the code compile. - Add ck-sysdeps-freebsd.c, based on the Linux version, which means it's using linprocfs right now. Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
2007-08-22more build fixes for solarisBrian Cameron2-3/+11
2007-08-21abstract out the tty device basename stuffWilliam Jon McCann4-13/+80
2007-08-21more solaris supportWilliam Jon McCann5-43/+136
based on patch from Brian Cameron.
2007-08-17display the current vtWilliam Jon McCann1-0/+12
2007-08-17add test-vt-monitorWilliam Jon McCann1-0/+1
2007-08-17add a vt monitor test, move getfd to sysdeps, add a check for the root userWilliam Jon McCann8-112/+230
2007-08-17oops add docs for new seat interfacesWilliam Jon McCann2-10/+64
2007-08-17a few fixes for peer cred stuffWilliam Jon McCann3-14/+29
2007-08-16move peercred stuff into sysdeps. add solaris support.William Jon McCann6-52/+107
2007-08-16move all proc stuff into ck-sysdepsWilliam Jon McCann9-165/+167
2007-08-14move tools out of linux subdirectory since they apparently work on solarisWilliam Jon McCann6-32/+39
2007-08-14make a lt library for proc stuffWilliam Jon McCann2-18/+28
2007-08-14remove example device from seat configWilliam Jon McCann1-1/+1
2007-08-14make sure the device is a console and add some instructionsWilliam Jon McCann1-0/+44
2007-08-14don't bail if /proc/self/fd/0 is not a linkWilliam Jon McCann1-2/+1
2007-08-14add some solaris supportWilliam Jon McCann4-3/+352
Based on a patch from Brian Cameron.
2007-08-08print out tools libs after configureWilliam Jon McCann1-0/+1
2007-08-07don't use PERROR if not availableWilliam Jon McCann1-1/+7
2007-08-07don't use stderr or stdout as variable namesWilliam Jon McCann1-11/+11
2007-08-01change user to unix-userWilliam Jon McCann1-1/+1
2007-08-01use unix-user instead of userWilliam Jon McCann1-3/+3
2007-07-20Add preliminary support for seats with devicesWilliam Jon McCann6-8/+319
2007-07-20Add --display option to tool.William Jon McCann1-4/+18
2007-07-18Add new helper for getting tty from DISPLAYWilliam Jon McCann2-0/+149
2007-05-15a few fixes for getfd suggested by LennartWilliam Jon McCann1-4/+12
I am currently investigating how to best integrate PulseAudio with ConsoleKit/PolicyKit. While doing that I had a look on your code, and found a few issues in getfd.c I'd like to report, before I forget them. I couldn't find any bugzilla with at consolekit project (neither fedora, nor fdo, nor gnome?) hence I am mailing you in person. In getfd.c in open_a_console() a close() is missing if is_a_console is missing. The open() in open_a_console() should probably use O_NOCTTY. Otherwise C-c on the console might end up in a SIGINT to your daemon process! Also I'd add an isatty() check to is_a_console(), to makes sure that you're actually talking to a TTY before you issue KDGKBTYPE on it. ioctl()s are unfortunately not unique, hence i'd recommend that check. That's it, Lennart
2007-04-10bump versionWilliam Jon McCann1-1/+1
2007-04-10update for releaseWilliam Jon McCann1-0/+15
2007-04-10disable static libsWilliam Jon McCann1-0/+1
2007-04-05use inotify to detect activity on tty when possibleWilliam Jon McCann12-62/+1496
2007-04-04fix typosWilliam Jon McCann1-2/+2
2007-04-04add support for CKCON_X11_DISPLAY_DEVICE environment variableWilliam Jon McCann2-9/+23
In order to set the x11-display-device parameter on the new session.
2007-04-03make sure no values are NULLWilliam Jon McCann1-0/+8
2007-04-03check for empty string as well as null valuesWilliam Jon McCann1-6/+11
2007-04-03add some input validationWilliam Jon McCann1-3/+15
2007-04-03daemonize a little earlierWilliam Jon McCann1-4/+4