summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* bus: fix a couple of format string mistakesLennart Poettering2013-12-28
|
* bus: driverd; add missing format string parameterMarc-Antoine Perennou2013-12-28
| | | | This was causing a nasty coredump
* bus: correct a number of gcc format string attribute usagesLennart Poettering2013-12-28
|
* selinux: Check access vector for enable/disable perm for each unit fileLubomir Rintel2013-12-27
| | | | | | | | SELinux check will be done using the context of the unit file as as a target instead of the default init_t context, allowing selinux control on the level of individual units. https://bugzilla.redhat.com/show_bug.cgi?id=1022762
* shared: add simplistic XML parser for usage in the D-Bus policy language ↵Lennart Poettering2013-12-28
| | | | compat parser
* bus: fix running tests in parallelZbigniew Jędrzejewski-Szmek2013-12-27
|
* bus: PORTING-DBUS1: fix user bus pathMantas Mikulėnas2013-12-27
|
* systemctl: remove unused variableThomas Hindoe Paaboel Andersen2013-12-27
|
* bus: PORTING-DBUS1 typo fixesThomas Hindoe Paaboel Andersen2013-12-27
|
* bus: PORTING-DBUS1 clarify pool size valueKay Sievers2013-12-27
|
* bus: PORTING-DBUS1 updateKay Sievers2013-12-27
|
* bus: update PORTING-DBUS1Kay Sievers2013-12-27
|
* bus: actually, the kernel does enforce validity of bus names...Lennart Poettering2013-12-27
|
* bus: explain obsoletion of dbus1 .service filesLennart Poettering2013-12-27
|
* bus: refuse invalid names from kbus meta dataLennart Poettering2013-12-27
|
* bus: add some preliminary docs for porting existing dbus1 client libraries ↵Lennart Poettering2013-12-27
| | | | to kdbus
* bus: update kdbus.hKay Sievers2013-12-26
|
* Use enums to make it obvious what boolean params meanZbigniew Jędrzejewski-Szmek2013-12-26
| | | | Suggested-by: Russ Allbery <rra@debian.org>
* systemctl: allow globbing in commands which take multiple unit namesZbigniew Jędrzejewski-Szmek2013-12-26
|
* systemctl: drop uninteresting units immediatelyZbigniew Jędrzejewski-Szmek2013-12-26
| | | | Also properly free memory if list-unit-files --root=... is used.
* systemctl: simplify start_unitZbigniew Jędrzejewski-Szmek2013-12-26
|
* bus: add a temporary hard-coded policy to proxyd to make gdm workLennart Poettering2013-12-26
| | | | | | | | | | | | gdm relies on the policy to deny its own requests to not deadlock. Given that we currently do not enforce any policy in the dbus1 compat proxy service this means that gdm will necessarily deadlock on our systems. To work around this, enforce a fixed policy teomporarily, until we interpret the legacy XML policy in full. Booh, gdm, booh, for requring this and making me waste two days on tracking this brokenness down.
* bus: always show messages we sendLennart Poettering2013-12-26
|
* bus: don't process Peer interface messages in the proxyLennart Poettering2013-12-26
|
* bus: make system bus kdbus node world-accessibleLennart Poettering2013-12-26
|
* journalctl: make sure -b --foobar cannot be misunderstood as --boot=--foobarLennart Poettering2013-12-26
|
* Revert "journalctl: remove unexpected behavior of journalctl -b"Lennart Poettering2013-12-26
| | | | | | | This reverts commit cf5bccc2bb9569030cb04debbc4208aaca0fe5b4. We should fix thinks properly if they aren't perfect, not just break other things...
* build-sys: minor fixes found with cppcheckLennart Poettering2013-12-25
|
* journalctl: remove unexpected behavior of journalctl -bDave Reisner2013-12-25
| | | | | | This flag shouldn't try and consume the following argument. It should behave like every other flag which takes an optional argument when parsed by getopt_long.
* bus: add a bit of pure/const decoratorsLennart Poettering2013-12-25
|
* man: document sd_bus_message_get_cookie()Lennart Poettering2013-12-25
|
* bus: rename message "serial" to "cookie"Lennart Poettering2013-12-25
| | | | | | Even if the lower-leveld dbus1 protocol calls it "serial", let's expose the word "cookie" for this instead, as this is what kdbus uses and since it doesn't imply monotonicity the same way "serial" does.
* bus: conditionally set cookie_reply/timeout and update kdbus.hKay Sievers2013-12-25
|
* bus: update kdbus.hKay Sievers2013-12-25
|
* bus: set cookie_reply and update kdbus.hKay Sievers2013-12-25
|
* bus: also write debug logs about messages we sendLennart Poettering2013-12-25
|
* bus: be a bit more verbose when debug mode is onLennart Poettering2013-12-25
|
* shared: fix getpeername_pretty() for AF_UNIX socketsLennart Poettering2013-12-25
|
* unit: include peer identity in description of per-connection ↵Lennart Poettering2013-12-25
| | | | socket-activated services
* sleep-config: fix useless check for swapfile typeDave Reisner2013-12-24
| | | | | | | | | Since 0c6f1f4ea49 the check was useless, because the kernel will ever only write "partition" or "file" there. OTOH, it is possible that "\\040(deleted)" (escaped " (deleted)") will be added for removed files. This should not happen, so add a warning to detect those cases.
* tmpfiles: introduce the concept of unsafe operationsZbigniew Jędrzejewski-Szmek2013-12-24
| | | | | | | | | | | | | | | | | | | | | | | | Various operations done by systemd-tmpfiles may only be safely done at boot (e.g. removal of X lockfiles in /tmp, creation of /run/nologin). Other operations may be done at any point in time (e.g. setting the ownership on /{run,var}/log/journal). This distinction is largely orthogonal to the type of operation. A new switch --unsafe is added, and operations which should only be executed during bootup are marked with an exclamation mark in the configuration files. systemd-tmpfiles.service is modified to use this switch, and guards are added so it is hard to re-start it by mistake. If we install a new version of systemd, we actually want to enforce some changes to tmpfiles configuration immediately. This should now be possible to do safely, so distribution packages can be modified to execute the "safe" subset at package installation time. /run/nologin creation is split out into a separate service, to make it easy to override. https://bugzilla.redhat.com/show_bug.cgi?id=1043212 https://bugzilla.redhat.com/show_bug.cgi?id=1045849
* bus: properly shift cgroup data returned from kdbus by the container's root ↵Lennart Poettering2013-12-24
| | | | before parsing
* bus: fix return message if StartServiceByName() in the driver fails dueLennart Poettering2013-12-24
| | | | to non-existing service
* busctl: show service/session a name belongs to in the list of namesLennart Poettering2013-12-24
| | | | | Also, don't show machine name by default as this might cause timeouts on non-responding peers.
* log: log_error() and friends add a newline after each line anyway, so avoid ↵Lennart Poettering2013-12-24
| | | | including it in the log strings
* util: don't accept an empty peer label as validLennart Poettering2013-12-24
|
* bus: only accept kdbus creds if they are validLennart Poettering2013-12-24
| | | | | | This allows userspace to fake kdbus creds via struct ucred in the proxy, without making the recieving side choke on the missing fields of the kdbus struct, more precisel pid_starttime and tid
* util: unify SO_PEERCRED/SO_PEERSEC invocationsLennart Poettering2013-12-24
| | | | | | Introduce new call getpeercred() which internally just uses SO_PEERCRED but checks if the returned data is actually useful due to namespace quirks.
* bus: fix hello ioctl buffer size calculationLennart Poettering2013-12-24
|
* bus: make gcc shut upLennart Poettering2013-12-24
|