summaryrefslogtreecommitdiff
path: root/src/bus-proxyd/bus-xml-policy.h
Commit message (Collapse)AuthorAge
* bus-proxy: don't print error-messages if we check multiple destsDavid Herrmann2015-01-17
| | | | | | If we test the policy against multiple destination names, we really should not print warnings if one of the names results in DENY. Instead, pass the whole array of names to the policy and let it deal with it.
* bus-proxy: implement org.freedesktop.DBus.ReloadConfig()David Herrmann2015-01-17
| | | | Make sure to reload our xml policy configuration if requested via the bus.
* bus-proxy: share policy between threadsDavid Herrmann2015-01-17
| | | | | | | This implements a shared policy cache with read-write locks. We no longer parse the XML policy in each thread. This will allow us to easily implement ReloadConfig().
* bus-proxy: implement 'at_console'David Herrmann2015-01-11
| | | | | | | The 'at_console' policy-category allows to apply policy-items to clients depending on whether they're run from within a valid user-session or not. We use sd_uid_get_seats() to check whether a user has a valid seat (which excludes remote-sessions like ssh).
* bus-proxy: print message direction in policy logsDavid Herrmann2015-01-11
| | | | | Make sure to print "dbus-1 to kernel" or "kernel to dbus-1" in policy logs to better diagnose the situation.
* core: rearrange code so that libsystemd/sd-bus/ does not include header ↵Lennart Poettering2014-12-23
files from core Stuff in src/shared or src/libsystemd should *never* include code from src/core or any of the tools, so don't do that here either. It's not OK!