summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Restore copyright.Florent Thoumie2007-08-251-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>
* Some more fixes, Now test-vt-monitor works correctly.Florent Thoumie2007-08-252-16/+33
| | | | | | Submitted by: marcus Signed-off-by: Florent Thoumie <flz@FreeBSD.org>
* Add FreeBSD native backend (untested)Florent Thoumie2007-08-252-419/+174
| | | | | | | | | | - 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>
* First attempt a making ConsoleKit work on FreeBSDFlorent Thoumie2007-08-254-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>
* more build fixes for solarisBrian Cameron2007-08-222-3/+11
|
* abstract out the tty device basename stuffWilliam Jon McCann2007-08-214-13/+80
|
* more solaris supportWilliam Jon McCann2007-08-215-43/+136
| | | | based on patch from Brian Cameron.
* display the current vtWilliam Jon McCann2007-08-171-0/+12
|
* add test-vt-monitorWilliam Jon McCann2007-08-171-0/+1
|
* add a vt monitor test, move getfd to sysdeps, add a check for the root userWilliam Jon McCann2007-08-178-112/+230
|
* a few fixes for peer cred stuffWilliam Jon McCann2007-08-171-6/+20
|
* move peercred stuff into sysdeps. add solaris support.William Jon McCann2007-08-163-0/+92
|
* move all proc stuff into ck-sysdepsWilliam Jon McCann2007-08-166-135/+137
|
* make a lt library for proc stuffWilliam Jon McCann2007-08-141-14/+25
|
* make sure the device is a console and add some instructionsWilliam Jon McCann2007-08-141-0/+44
|
* don't bail if /proc/self/fd/0 is not a linkWilliam Jon McCann2007-08-141-2/+1
|
* add some solaris supportWilliam Jon McCann2007-08-143-3/+350
| | | | Based on a patch from Brian Cameron.
* don't use PERROR if not availableWilliam Jon McCann2007-08-071-1/+7
|
* don't use stderr or stdout as variable namesWilliam Jon McCann2007-08-071-11/+11
|
* Add preliminary support for seats with devicesWilliam Jon McCann2007-07-204-8/+310
|
* a few fixes for getfd suggested by LennartWilliam Jon McCann2007-05-151-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
* use inotify to detect activity on tty when possibleWilliam Jon McCann2007-04-059-56/+1472
|
* add some input validationWilliam Jon McCann2007-04-031-3/+15
|
* daemonize a little earlierWilliam Jon McCann2007-04-031-4/+4
|
* add a glib message to syslog handlerWilliam Jon McCann2007-04-0311-311/+366
| | | | | Also add ability to toggle debugging when SIGUSR1 is received.
* daemonize properlyDavid Zeuthen2007-04-021-2/+1
|
* autoconf fixes, separate pamlibdir variable, path expansion at make timeMichael Biebl2007-04-021-0/+1
| | | | | | | | | | | | | | | | | | The attached patch does the following: - Use a separate $pam-module-dir variable for the pam module - Instead of defining a custom $slibdir variable, just use the standard $libdir variable specified by autoconf - Use the standard autoconf $docdir variable (Add AC_PREREQ(2.59) for that). - Drop AS_AC_EXPAND macro and remove AC_DEFINE_UNQUOTED for dir variables. + Build the init script at make time using sed + Use defines in src/Makefile.am to pass the variables to gcc at make time - Consistently use AC_HELP_STRING everywhere - Remove/Replace deprecated macros: + AM_INIT_AUTOMAKE takes the package name and version number from AC_INIT + AM_CONFIG_HEADER -> AC_CONFIG_HEADERS + AC_OUTPUT -> AC_CONFIG_FILES Patch is tested and make distcheck works.
* add unix-user to parse listWilliam Jon McCann2007-04-021-1/+1
| | | | Oops.
* add CanActivateSessions to Seat interfaceWilliam Jon McCann2007-03-194-16/+39
| | | | And associated documentation and added to test-fus.
* dont' mark the user properties to be set in the constructorWilliam Jon McCann2007-03-141-2/+2
| | | | | | | | Now that we have two properties (one deprecated) that refer to the same thing we can't require that they are both set during the constructor. Furthermore, we can't require that either of them are set because we don't know which will be used.
* deprecate the user properties and add unix-user propertiesWilliam Jon McCann2007-03-136-19/+71
| | | | | Also added deprecated notes to the docs. New code should be using GetUnixUser instead of GetUser etc.
* various leak fixesWilliam Jon McCann2007-03-134-21/+68
|
* add the last bits of spec frameworkWilliam Jon McCann2007-03-133-30/+11
| | | | | | The spec is the introspection format extended with docs. There are tools to build docbook and strip the docs to make dbus introspect xml.
* fix the user prop typeWilliam Jon McCann2007-03-091-9/+9
|
* add a few more parameters to session idlWilliam Jon McCann2007-03-091-0/+8
|
* add uuid to cookieWilliam Jon McCann2007-03-091-1/+9
|
* add a tool to autogenerate dbus object ref docsWilliam Jon McCann2007-03-093-8/+25
| | | | | | | I hope I didn't reinvent a wheel but it seems to work much better than hand coding these refentries. Still need to add support for comments and actual descriptions ala gtk-doc.
* remove debug noiseWilliam Jon McCann2007-03-061-1/+1
|
* add very basic idle monitoring of text sessions and rework parameter parsingWilliam Jon McCann2007-03-062-23/+205
| | | | | Rework the parameter parsing so it is a bit more robust and so that parameters can get passed to the constructor.
* use paths.h if availableWilliam Jon McCann2007-03-063-12/+37
|
* exit if we can't acquire name at startup and fix a glib warningWilliam Jon McCann2007-03-061-9/+32
|
* check for empty strings as well as nullWilliam Jon McCann2007-03-061-7/+9
|
* use a slightly more sophisticated rule for adding sessions to static seatWilliam Jon McCann2007-03-062-5/+33
|
* allow for the possibility of matching multiple sessions for deviceWilliam Jon McCann2007-03-061-15/+145
| | | | | | | In the event that there is more than one session that matches a particular tty when the VT changes we use the following rule: 1. take the oldest session where display-device == active VT device 2. take the oldest session where x11-display-device == active VT device
* add x11-display-device to parse tableWilliam Jon McCann2007-03-052-6/+9
|
* rename host-name in one more placeWilliam Jon McCann2007-03-051-6/+6
|
* rename host-name to remote-host-name to make it more intuitiveWilliam Jon McCann2007-03-053-27/+32
|
* add two more proc sysdep functionsWilliam Jon McCann2007-03-052-0/+57
|
* add x11-display-device attributeWilliam Jon McCann2007-03-053-92/+143
| | | | | | In certain cases it is necessary to distinguish the display-device (tty of session leader) from the x11-display-device (tty of xorg process).
* use an async job to collect session infoWilliam Jon McCann2007-03-054-76/+672
| | | | | Use an async helper job to collect session info for the OpenSession() method.