Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add a vt monitor test, move getfd to sysdeps, add a check for the root user | William Jon McCann | 2007-08-17 | 8 | -112/+230 | |
| | ||||||
* | a few fixes for peer cred stuff | William Jon McCann | 2007-08-17 | 1 | -6/+20 | |
| | ||||||
* | move peercred stuff into sysdeps. add solaris support. | William Jon McCann | 2007-08-16 | 3 | -0/+92 | |
| | ||||||
* | move all proc stuff into ck-sysdeps | William Jon McCann | 2007-08-16 | 6 | -135/+137 | |
| | ||||||
* | make a lt library for proc stuff | William Jon McCann | 2007-08-14 | 1 | -14/+25 | |
| | ||||||
* | make sure the device is a console and add some instructions | William Jon McCann | 2007-08-14 | 1 | -0/+44 | |
| | ||||||
* | don't bail if /proc/self/fd/0 is not a link | William Jon McCann | 2007-08-14 | 1 | -2/+1 | |
| | ||||||
* | add some solaris support | William Jon McCann | 2007-08-14 | 3 | -3/+350 | |
| | | | | Based on a patch from Brian Cameron. | |||||
* | don't use PERROR if not available | William Jon McCann | 2007-08-07 | 1 | -1/+7 | |
| | ||||||
* | don't use stderr or stdout as variable names | William Jon McCann | 2007-08-07 | 1 | -11/+11 | |
| | ||||||
* | Add preliminary support for seats with devices | William Jon McCann | 2007-07-20 | 4 | -8/+310 | |
| | ||||||
* | a few fixes for getfd suggested by Lennart | William Jon McCann | 2007-05-15 | 1 | -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 possible | William Jon McCann | 2007-04-05 | 9 | -56/+1472 | |
| | ||||||
* | add some input validation | William Jon McCann | 2007-04-03 | 1 | -3/+15 | |
| | ||||||
* | daemonize a little earlier | William Jon McCann | 2007-04-03 | 1 | -4/+4 | |
| | ||||||
* | add a glib message to syslog handler | William Jon McCann | 2007-04-03 | 11 | -311/+366 | |
| | | | | | Also add ability to toggle debugging when SIGUSR1 is received. | |||||
* | daemonize properly | David Zeuthen | 2007-04-02 | 1 | -2/+1 | |
| | ||||||
* | autoconf fixes, separate pamlibdir variable, path expansion at make time | Michael Biebl | 2007-04-02 | 1 | -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 list | William Jon McCann | 2007-04-02 | 1 | -1/+1 | |
| | | | | Oops. | |||||
* | add CanActivateSessions to Seat interface | William Jon McCann | 2007-03-19 | 4 | -16/+39 | |
| | | | | And associated documentation and added to test-fus. | |||||
* | dont' mark the user properties to be set in the constructor | William Jon McCann | 2007-03-14 | 1 | -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 properties | William Jon McCann | 2007-03-13 | 6 | -19/+71 | |
| | | | | | Also added deprecated notes to the docs. New code should be using GetUnixUser instead of GetUser etc. | |||||
* | various leak fixes | William Jon McCann | 2007-03-13 | 4 | -21/+68 | |
| | ||||||
* | add the last bits of spec framework | William Jon McCann | 2007-03-13 | 3 | -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 type | William Jon McCann | 2007-03-09 | 1 | -9/+9 | |
| | ||||||
* | add a few more parameters to session idl | William Jon McCann | 2007-03-09 | 1 | -0/+8 | |
| | ||||||
* | add uuid to cookie | William Jon McCann | 2007-03-09 | 1 | -1/+9 | |
| | ||||||
* | add a tool to autogenerate dbus object ref docs | William Jon McCann | 2007-03-09 | 3 | -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 noise | William Jon McCann | 2007-03-06 | 1 | -1/+1 | |
| | ||||||
* | add very basic idle monitoring of text sessions and rework parameter parsing | William Jon McCann | 2007-03-06 | 2 | -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 available | William Jon McCann | 2007-03-06 | 3 | -12/+37 | |
| | ||||||
* | exit if we can't acquire name at startup and fix a glib warning | William Jon McCann | 2007-03-06 | 1 | -9/+32 | |
| | ||||||
* | check for empty strings as well as null | William Jon McCann | 2007-03-06 | 1 | -7/+9 | |
| | ||||||
* | use a slightly more sophisticated rule for adding sessions to static seat | William Jon McCann | 2007-03-06 | 2 | -5/+33 | |
| | ||||||
* | allow for the possibility of matching multiple sessions for device | William Jon McCann | 2007-03-06 | 1 | -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 table | William Jon McCann | 2007-03-05 | 2 | -6/+9 | |
| | ||||||
* | rename host-name in one more place | William Jon McCann | 2007-03-05 | 1 | -6/+6 | |
| | ||||||
* | rename host-name to remote-host-name to make it more intuitive | William Jon McCann | 2007-03-05 | 3 | -27/+32 | |
| | ||||||
* | add two more proc sysdep functions | William Jon McCann | 2007-03-05 | 2 | -0/+57 | |
| | ||||||
* | add x11-display-device attribute | William Jon McCann | 2007-03-05 | 3 | -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 info | William Jon McCann | 2007-03-05 | 4 | -76/+672 | |
| | | | | | Use an async helper job to collect session info for the OpenSession() method. | |||||
* | add linux backends for collecting session information | William Jon McCann | 2007-03-02 | 2 | -9/+68 | |
| | | | | | These tools will be used to generate and verify the parameters used to open a session. | |||||
* | lay the groundwork for making open session async | William Jon McCann | 2007-02-28 | 1 | -118/+252 | |
| | | | | | | | | | | Restructure things a bit so that we can be completely async about creating sessions. We want to do this so we can use callouts to gather session info or to verify info. Also make the OpenSession create a parameter list and then create the session rather than creating the session and changing attributes. This is less racy and the session will be complete and correct before any signals are emitted. | |||||
* | don't rely on evironment getting updated in python scripts | William Jon McCann | 2007-02-28 | 1 | -1/+4 | |
| | ||||||
* | update news for release0.1.2 | William Jon McCann | 2007-02-26 | 1 | -1/+2 | |
| | | | | Also fix a distcheck error. | |||||
* | rename some items in proc.h api; add some more error checking | William Jon McCann | 2007-02-26 | 3 | -64/+99 | |
| | | | | | Make the proc.h API more coherent. Convert some warnings to debug statements. Fix two leaks. Add more error checking. | |||||
* | add support for glib < 2.12 | William Jon McCann | 2007-02-21 | 2 | -3/+49 | |
| | | | | Copy the iso8601 function from glib to support versions less than 2.12. | |||||
* | make separate test scripts for open session methods | William Jon McCann | 2007-02-21 | 3 | -0/+45 | |
| | ||||||
* | don't use null parameters | William Jon McCann | 2007-02-21 | 1 | -15/+17 | |
| | ||||||
* | add a system-idle-hint and system-idle-since-hint | William Jon McCann | 2007-02-20 | 3 | -22/+166 | |
| | | | | | The system idle hint is TRUE when there are no busy (ie non-idle) sessions. So the system is idle when there are no sessions or all sessions are idle. |