Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix building with Solaris PAM | Halton Huo | 2009-02-11 | 2 | -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/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. | ||||
* | add "nox11" option to the PAM module | Martin Pitt | 2009-02-11 | 2 | -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 logging | William Jon McCann | 2009-02-11 | 4 | -0/+27 |
| | | | | | These can be used to add system start/stop/restart logging but hooking into Upstart event mechanism. | ||||
* | fix up D-Bus permissions | Colin Walters | 2009-01-18 | 1 | -40/+80 |
| | |||||
* | 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 | ||||
* | fix typo | William Jon McCann | 2008-10-02 | 1 | -1/+1 |
| | | | | Fixes #17741 | ||||
* | allow calling method SetIdleHint by default | William Jon McCann | 2008-08-20 | 1 | -0/+2 |
| | |||||
* | post release bump again | William Jon McCann | 2008-07-30 | 1 | -1/+1 |
| | |||||
* | undo0.3.0 | William Jon McCann | 2008-07-30 | 1 | -2/+2 |
| | |||||
* | post release version bump | William Jon McCann | 2008-07-30 | 1 | -1/+1 |
| | |||||
* | update for 0.3.0 release | William Jon McCann | 2008-07-30 | 3 | -2/+44 |
| | |||||
* | don't allow reboot if PolicyKit and RBAC are disabled | William Jon McCann | 2008-07-30 | 2 | -14/+24 |
| | |||||
* | fix path in includes | William Jon McCann | 2008-07-30 | 1 | -6/+6 |
| | |||||
* | reorganize the docs a bit | William Jon McCann | 2008-07-30 | 14 | -64/+55 |
| | |||||
* | pull updated DTD and xsl from DeviceKit-disks | William Jon McCann | 2008-07-24 | 2 | -34/+141 |
| | |||||
* | fix distcheck | William Jon McCann | 2008-07-24 | 2 | -1/+2 |
| | |||||
* | still having problems using xinclude | William Jon McCann | 2008-07-24 | 2 | -11/+17 |
| | |||||
* | fix the includes | William Jon McCann | 2008-07-23 | 3 | -19/+10 |
| | |||||
* | add missing bits | William Jon McCann | 2008-07-23 | 2 | -0/+25 |
| | |||||
* | use spec files directly as introspection xml and try to generate docs on the fly | William Jon McCann | 2008-07-23 | 18 | -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 spec | William Jon McCann | 2008-07-22 | 1 | -4/+4 |
| | |||||
* | regenerate the docs and xml from the spec | William Jon McCann | 2008-07-22 | 2 | -1/+8 |
| | |||||
* | add GetLoginSessionId to exported interface | William Jon McCann | 2008-07-22 | 1 | -0/+13 |
| | |||||
* | fix use of unix-user as int | William Jon McCann | 2008-07-22 | 1 | -6/+6 |
| | |||||
* | use fortify source flag when building from git | William Jon McCann | 2008-07-21 | 1 | -1/+1 |
| | |||||
* | fix location of scripts again | William Jon McCann | 2008-07-21 | 1 | -1/+1 |
| | |||||
* | dist bzip by default | William Jon McCann | 2008-07-21 | 1 | -1/+1 |
| | |||||
* | fix up signal definition | William Jon McCann | 2008-07-21 | 1 | -2/+2 |
| | |||||
* | fix UnixUser to be uint | William Jon McCann | 2008-06-11 | 3 | -11/+8 |
| | | | | 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 | 7 | -6/+38 |
| | |||||
* | exit with the bus now that we're activated by the bus | William Jon McCann | 2008-05-05 | 1 | -57/+8 |
| | |||||
* | allow retaining authorizations for {stop,restart}-multiple-users | David Zeuthen | 2008-04-20 | 1 | -2/+2 |
| | |||||
* | 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. | ||||
* | oops one more place | William Jon McCann | 2008-04-18 | 1 | -1/+1 |
| | |||||
* | install scripts into $(prefix)/lib instead of $libdir | William Jon McCann | 2008-04-18 | 6 | -7/+7 |
| | | | | 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 |
| | |||||
* | fix typo | William Jon McCann | 2008-04-16 | 1 | -1/+1 |
| | |||||
* | initial login session id support | William Jon McCann | 2008-04-03 | 8 | -0/+151 |
| | | | | | | | | 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 | ||||
* | display uid as unix-user to match api | William Jon McCann | 2008-02-29 | 1 | -1/+1 |
| | |||||
* | fix packaging of policy file | William Jon McCann | 2008-02-29 | 1 | -1/+1 |
| | |||||
* | rename policy file | William Jon McCann | 2008-02-26 | 1 | -0/+0 |
| | |||||
* | post release version bump | William Jon McCann | 2008-02-25 | 1 | -1/+1 |
| |