summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix example upstart system start script0.3.1Ray Strode2009-07-222-2/+2
| | | | | It was trying to write the log message way too early, before the root filesystem was mounted.
* Update NEWS for 0.3.1 releaseRay Strode2009-07-211-0/+21
|
* Reference entities relative to srcdir not cwdRay Strode2009-07-211-6/+6
| | | | | | | | | The docs were failing to build when srcdir != builddir because ConsoleKit.xml was ending up in builddir and all its entities are in srcdir. This commit makes ConsoleKit.xml load the entities from srcdir, which fixes make distcheck.
* Call "git log" instead of "git-log" in MakefileRay Strode2009-07-211-1/+1
| | | | | git-log (with a hyphen) is an obsolete way to call git log.
* Add CanStop/Restart to D-Bus security policyMartin Pitt2009-07-201-0/+6
| | | | | | This change is necessarily following commit: e0d9cc359b3099307067107b59ec691418e280b8
* Port to PolicyKit 1.0 apisMatthias Clasen2009-07-206-473/+226
|
* Get VT from X display if no controlling ttyRay Strode2009-07-201-0/+72
| | | | | | | | | In some cases a controlling tty won't be able available to peek at to find the VT of the X display. In those cases, we fall back to looking at the XFree86_VT property. We can do this because we know the display is a local display since we've already gotten peer credentials from its socket.
* Fix connector build on SolarisHalton Huo2009-07-201-7/+0
| | | | | | | Solaris now builds with flags to give getpwnam_r more standard semantics. bug 22361
* Allow GetSessions to get calledVincent Untz2009-07-201-0/+3
| | | | | | | | | | The manager interface GetSessions function was disallowed by the dbus security policy, despite only exporting information that's available in other ways. This commit opens it up. See http://bugs.freedesktop.org/show_bug.cgi?id=20471
* avoid a (harmless) warning messageMatthias Clasen2009-07-161-1/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=21310
* fix a bunch of xml validation errorsWilliam Jon McCann2009-07-166-63/+82
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=20232
* fix parsing log entries with no bodyWilliam Jon McCann2009-02-121-8/+17
|
* clearer diagnostic if platform back-end isn't implementedDaniel Macks2009-02-111-0/+3
| | | | Error if no backend for target host
* parse gecos field to get real nameWilliam Jon McCann2009-02-111-2/+13
|
* don't leak dbus proxyJames Westby2009-02-111-0/+2
|
* fix building with Solaris PAMHalton Huo2009-02-112-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch is a little different with Brian's. Let's me explain the whole patch one by one. 1. pam-ck-connector/Makefile.am (same with Brian's) Solaris does not have libpam_misc, so only build test_pam under linux 2. +#include <limits.h> This is to get macro PATH_MAX from system. I think it is better than +#ifndef PATH_MAX +#define PATH_MAX 4096 +#endif On ubuntu, PATH_MAX=4096, on Solaris, PATH_MAX=1024 3. +#include <security/pam_appl.h> This is to include declaration of pam_handle_t, to resolve error like: "/usr/include/security/pam_modules.h", line 38: syntax error before or at: * "/usr/include/security/pam_modules.h", line 45: syntax error before or at: * 4.-#include <security/_pam_macros.h> Solaris does not have this file, I remove it, no more error, seems no use here. 5. +#ifndef PAM_EXTERN ... part Solaris PAM_EXTERN marco in pam_modules.h, while Ubuntu has, I just copy the logic from Ubuntu. 6. getpwnam_r part (same with Brian's) getpwnam_r() have difference behavior between Solaris and Ubuntu. https://bugs.freedesktop.org/show_bug.cgi?id=18173
* fix zero-sized struct/unionWilliam Jon McCann2009-02-111-0/+4
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=18149
* serialize removals, and avoid using freed data caused by removalsJames Westby2009-02-111-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 leakSteve Langasek2009-02-111-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.
* add "nox11" option to the PAM moduleMartin Pitt2009-02-112-0/+11
| | | | | | | | | Ignores PAM sessions where PAM_TTY is an X11 display. This allows adding pam_ck_connector to PAM's "common-session" without interfering with the already existing ConsoleKit operations in gdm, the Xsession script, etc. https://bugs.freedesktop.org/show_bug.cgi?id=16746
* add example upstart events for loggingWilliam Jon McCann2009-02-114-0/+27
| | | | | These can be used to add system start/stop/restart logging but hooking into Upstart event mechanism.
* fix up D-Bus permissionsColin Walters2009-01-181-40/+80
|
* check the result of the fchown callWilliam Jon McCann2008-10-021-1/+6
|
* don't close the log file fd twiceWilliam Jon McCann2008-10-021-4/+6
| | | | Fixes #17866
* fix typoWilliam Jon McCann2008-10-021-1/+1
| | | | Fixes #17741
* allow calling method SetIdleHint by defaultWilliam Jon McCann2008-08-201-0/+2
|
* post release bump againWilliam Jon McCann2008-07-301-1/+1
|
* undo0.3.0William Jon McCann2008-07-301-2/+2
|
* post release version bumpWilliam Jon McCann2008-07-301-1/+1
|
* update for 0.3.0 releaseWilliam Jon McCann2008-07-303-2/+44
|
* don't allow reboot if PolicyKit and RBAC are disabledWilliam Jon McCann2008-07-302-14/+24
|
* fix path in includesWilliam Jon McCann2008-07-301-6/+6
|
* reorganize the docs a bitWilliam Jon McCann2008-07-3014-64/+55
|
* pull updated DTD and xsl from DeviceKit-disksWilliam Jon McCann2008-07-242-34/+141
|
* fix distcheckWilliam Jon McCann2008-07-242-1/+2
|
* still having problems using xincludeWilliam Jon McCann2008-07-242-11/+17
|
* fix the includesWilliam Jon McCann2008-07-233-19/+10
|
* add missing bitsWilliam Jon McCann2008-07-232-0/+25
|
* use spec files directly as introspection xml and try to generate docs on the flyWilliam Jon McCann2008-07-2318-875/+23
| | | | | | 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 specWilliam Jon McCann2008-07-221-4/+4
|
* regenerate the docs and xml from the specWilliam Jon McCann2008-07-222-1/+8
|
* add GetLoginSessionId to exported interfaceWilliam Jon McCann2008-07-221-0/+13
|
* fix use of unix-user as intWilliam Jon McCann2008-07-221-6/+6
|
* use fortify source flag when building from gitWilliam Jon McCann2008-07-211-1/+1
|
* fix location of scripts againWilliam Jon McCann2008-07-211-1/+1
|
* dist bzip by defaultWilliam Jon McCann2008-07-211-1/+1
|
* fix up signal definitionWilliam Jon McCann2008-07-211-2/+2
|
* fix UnixUser to be uintWilliam Jon McCann2008-06-113-11/+8
| | | | Pointed out by Lennart Poettering
* use object paths instead of strings for signalsWilliam Jon McCann2008-06-111-2/+2
| | | | Pointed out by Lennart Poettering
* cleanly shutdown event logging threadWilliam Jon McCann2008-05-052-4/+32
|