| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | when printing size_t use %z format string | Lennart Poettering | 2009-08-11 | 1 | -1/+1 | 
| | | |||||
| * | make CK database world readable | Lennart Poettering | 2009-08-11 | 3 | -6/+1 | 
| | | | | | | | | | The CK database shall be readable by the D-Bus daemon which runs under its own user id hence make sure it is readable for non-root processes. To make sure this leaks no information this drops the session cookie from the database. | ||||
| * | get rid of ck_seat_set_active_session() prototype since no such function exists | Lennart Poettering | 2009-08-11 | 1 | -3/+0 | 
| | | |||||
| * | Move ck_session_run_programs() from ck-run-programs.h to ck-session.h | Lennart Poettering | 2009-08-11 | 2 | -3/+3 | 
| | | | | | It's a method of CkSession hence it belongs in ck-session.h | ||||
| * | Port to PolicyKit 1.0 apis | Matthias Clasen | 2009-07-20 | 3 | -468/+220 | 
| | | |||||
| * | avoid a (harmless) warning message | Matthias Clasen | 2009-07-16 | 1 | -1/+1 | 
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=21310 | ||||
| * | fix a bunch of xml validation errors | William Jon McCann | 2009-07-16 | 2 | -3/+4 | 
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=20232 | ||||
| * | fix parsing log entries with no body | William Jon McCann | 2009-02-12 | 1 | -8/+17 | 
| | | |||||
| * | don't leak dbus proxy | James Westby | 2009-02-11 | 1 | -0/+2 | 
| | | |||||
| * | fix zero-sized struct/union | William Jon McCann | 2009-02-11 | 1 | -0/+4 | 
| | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=18149 | ||||
| * | serialize removals, and avoid using freed data caused by removals | James Westby | 2009-02-11 | 1 | -32/+94 | 
| | | | | | | | | | | | | | | | | | | I changed the code to also loop through watch->notifies when removing the watch due to inotify, and NULL each notify->watch reference, the code then checks this before trying to delete the watch itself if asked to remove the notify. In order to prevent other race conditions in this area I also made the inotify code not pass a watch to emit_events_in_idle, as the watch may get freed in the meantime. It instead passes the wd and the emit loop looks up the watch, discarding the event if the watch has been removed. I did however leave in the code that checks for a removed watch before doing anything with inotify, as I hoped that this would just optimise this case. | ||||
| * | close directory to fix leak | Steve Langasek | 2009-02-11 | 1 | -0/+1 | 
| | | | | | | | | | | | Chris Jones observed that console-kit-daemon had open a large number of redundant file descriptors, pointing to /etc/ConsoleKit/run-session.d and /usr/lib/ConsoleKit/run-session.d. It turns out that ck_run_programs() doesn't close the directory handles after iterating, resulting in a fd leak and a small memory leak. The attached patch corrects this. | ||||
| * | check the result of the fchown call | William Jon McCann | 2008-10-02 | 1 | -1/+6 | 
| | | |||||
| * | don't close the log file fd twice | William Jon McCann | 2008-10-02 | 1 | -4/+6 | 
| | | | | | Fixes #17866 | ||||
| * | update for 0.3.0 release | William Jon McCann | 2008-07-30 | 1 | -1/+1 | 
| | | |||||
| * | don't allow reboot if PolicyKit and RBAC are disabled | William Jon McCann | 2008-07-30 | 1 | -13/+14 | 
| | | |||||
| * | use spec files directly as introspection xml and try to generate docs on the fly | William Jon McCann | 2008-07-23 | 7 | -199/+955 | 
| | | | | | | | At one point we had to strip out the docs because dbus-glib didn't support unknown tags. Apparently this is now fixed. Also install the xml to /usr/share/dbus-1/interfaces. | ||||
| * | use object paths for seat added/removed signals per spec | William Jon McCann | 2008-07-22 | 1 | -4/+4 | 
| | | |||||
| * | regenerate the docs and xml from the spec | William Jon McCann | 2008-07-22 | 1 | -0/+3 | 
| | | |||||
| * | fix up signal definition | William Jon McCann | 2008-07-21 | 1 | -2/+2 | 
| | | |||||
| * | fix UnixUser to be uint | William Jon McCann | 2008-06-11 | 1 | -5/+2 | 
| | | | | | Pointed out by Lennart Poettering | ||||
| * | use object paths instead of strings for signals | William Jon McCann | 2008-06-11 | 1 | -2/+2 | 
| | | | | | Pointed out by Lennart Poettering | ||||
| * | cleanly shutdown event logging thread | William Jon McCann | 2008-05-05 | 2 | -4/+32 | 
| | | |||||
| * | export login session id to the bus | William Jon McCann | 2008-05-05 | 5 | -4/+29 | 
| | | |||||
| * | exit with the bus now that we're activated by the bus | William Jon McCann | 2008-05-05 | 1 | -57/+8 | 
| | | |||||
| * | make sure to add all override parameters | William Jon McCann | 2008-04-19 | 2 | -9/+23 | 
| | | |||||
| * | fix the script to work with recent dbus-python api changes | William Jon McCann | 2008-04-19 | 2 | -11/+10 | 
| | | |||||
| * | always try to detect parameters for session | William Jon McCann | 2008-04-19 | 4 | -45/+155 | 
| | | | | | | Treat the parameters passed in via OpenSessionWithParameters as overrides. | ||||
| * | install scripts into $(prefix)/lib instead of $libdir | William Jon McCann | 2008-04-18 | 3 | -4/+4 | 
| | | | | | We don't want scripts going into lib64... | ||||
| * | return PolicyKit results when not privileged for action | William Jon McCann | 2008-04-16 | 1 | -2/+3 | 
| | | |||||
| * | initial login session id support | William Jon McCann | 2008-04-03 | 7 | -0/+141 | 
| | | | | | | | | | 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 | ||||
| * | always create the directories we need | William Jon McCann | 2008-02-25 | 3 | -40/+95 | 
| | | |||||
| * | properly get display device on Solaris | Simon Zheng | 2008-02-25 | 1 | -4/+12 | 
| | | | | | | | | | | | | | | | 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 | ||||
| * | fix solaris x11-display-device when no vt available | Brian Cameron | 2008-02-25 | 1 | -0/+11 | 
| | | | | | | | This patch fixes ConsoleKit so it sets x11-display-device to "/dev/console" when not using VT. | ||||
| * | solaris doesn't like printing null | Brian Cameron | 2008-02-25 | 1 | -1/+1 | 
| | | |||||
| * | fix display of active vt when vt is disabled | Brian Cameron | 2008-02-25 | 1 | -2/+6 | 
| | | | | | | | | | | 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. | ||||
| * | fix solaris vt handling to work when no vt available | Brian Cameron | 2008-02-25 | 1 | -3/+5 | 
| | | | | | | | This fixes the patch that Simon Zhang sent you earlier so that it builds on machines without VT. | ||||
| * | improve supporting Solaris VT switching | Simon Zheng | 2008-02-19 | 2 | -1/+60 | 
| | | | | | | | | | | | | | | | | 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. | ||||
| * | don't include paths.h on systems that don't have it | William Jon McCann | 2008-02-19 | 1 | -1/+0 | 
| | | |||||
| * | create the log file with S_IROTH and don't touch the log on build | William Jon McCann | 2008-02-13 | 2 | -3/+2 | 
| | | |||||
| * | ck_seat_get_active_session shouldn't return a null ssid | William Jon McCann | 2008-02-12 | 3 | -24/+35 | 
| | | | | | | Da bus no likey nulls for object paths. Return false and set error if there is no active session. | ||||
| * | guard against writing null string to keyfile | William Jon McCann | 2008-02-12 | 3 | -10/+48 | 
| | | | | | Also make criticals fatal when starting with --debug. | ||||
| * | reverse the sense of the dbus policy | William Jon McCann | 2008-02-12 | 1 | -0/+517 | 
| | | | | | | Deny first and then allow. Add a simple test script to check method access policy. | ||||
| * | fix typo in dbus policy file | William Jon McCann | 2008-02-11 | 1 | -1/+1 | 
| | | |||||
| * | touch the history file to create it for people not using packages | William Jon McCann | 2008-02-07 | 1 | -0/+2 | 
| | | |||||
| * | mkdir /var/log/ConsoleKit at install time | William Jon McCann | 2008-02-06 | 1 | -0/+1 | 
| | | |||||
| * | when a parsing error occurs don't return an empty event | William Jon McCann | 2008-02-01 | 1 | -8/+13 | 
| | | |||||
| * | update gitignore files | William Jon McCann | 2008-01-29 | 1 | -0/+1 | 
| | | |||||
| * | add a helper to write a system start record to the CK history | William Jon McCann | 2008-01-29 | 1 | -1/+1 | 
| | | |||||
| * | add support for logging start/stop/restart | William Jon McCann | 2008-01-29 | 3 | -13/+276 | 
| | | | | | Also enable reporting this information with ck-history. | ||||
