Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-12-10 | sd-bus: move common errors src/shared/bus-errors.h → ↵ | Lennart Poettering | |
src/libsystemd/sd-bus/bus-common-errors.h Stuff in src/shared/ should not use stuff from src/libsystemd/ really. | |||
2014-12-10 | kdbus: downgrade warning if we cannot patch kdbus attach mask to DEBUG if ↵ | Lennart Poettering | |
kdbus is not available | |||
2014-12-10 | util: introduce our own gperf based capability list | Lennart Poettering | |
This way, we can ensure we have a more complete, up-to-date list of capabilities around, always. | |||
2014-12-09 | run: introduce timer support option | WaLyong Cho | |
Support timer options --on-active=, --on-boot=, --on-startup=, --on-unit-active=, --on-unit-inactive=, --on-calendar=. Each options corresponding with OnActiveSec=, OnBootSec=, OnStartupSec=, OnUnitActiveSec=, OnUnitInactiveSec=, OnCalendar= of timer respectively. And OnCalendar= and WakeSystem= supported by --timer-property= option like --property= of systemd-run. And if --unit= option and timer options are specified the command can be omitted. In this case, systemd-run assumes the target service is already loaded. And just try to generate transient timer unit only. | |||
2014-12-09 | sd-bus: get rid of PID starttime concept | Lennart Poettering | |
As kdbus no longer exports this, remove all traces from sd-bus too | |||
2014-12-09 | sd-bus: properly support passing memfds around with offset/size parameters | Lennart Poettering | |
2014-12-09 | bus: sync with kdbus-git (ABI break) | David Herrmann | |
kdbus-git gained two new features: * memfd offsets: This allows to specify a 'start' offset in kdbus_memfd so you can send partial memfd hunks instead of always the full memfd * KDBUS_HELLO_UNPRIVILEGED: If passed during HELLO, the client will be treated as unprivileged. | |||
2014-12-09 | sd-rtnl: fix size check in sd_rtnl_message_append_string() | Lennart Poettering | |
2014-12-09 | sd-bus: catch up with current kdbus, don't do matches on kdbus monitor ↵ | Lennart Poettering | |
connections | |||
2014-12-08 | bus-proxy: fix compat with autostarted services | Lennart Poettering | |
2014-12-08 | networkd: manager - enumerate addresses globally, rather than per-link | Tom Gundersen | |
The kernel always returns all addresses, rather than only for the given link, so let's only enumerate once. | |||
2014-12-08 | sd-rtnl: fix bogus warning about dropping 20 bytes from multi-part messages | Tom Gundersen | |
Nothing was being dropped, we just failed to account for the NLMSG_DONE. | |||
2014-12-08 | sd-bus: rework ELF error mapping table magic | Lennart Poettering | |
The ELF magic cannot work for consumers of our shard library, since they are in a different module. Hence make all the ELF magic private, and instead introduce a public function to register additional static mapping table. | |||
2014-12-05 | sd-bus: follow kdbus changes (ABI break) | Daniel Mack | |
Implement a recent change in the kdbus pool logic: PAYLOAD_VEC_OFF items are now referencing offsets relative to the connection's pool, not to the item itself. Follow this change in sd-bus. | |||
2014-12-04 | sd-bus: add extra assert check | Lennart Poettering | |
2014-12-04 | sd-rtnl: rename sd_rtnl_message_route_get_{dst,src}_len to *_prefixlen | Tom Gundersen | |
This makes the API more consistent. | |||
2014-12-04 | networkd: add support for source routing | Tom Gundersen | |
2014-12-04 | rtnl: order local addresses/gateways by the address itself as last resort | Lennart Poettering | |
This way we can be sure that the returned list is stable regarding modifications in the kernel. | |||
2014-12-04 | rtnl: when querying local addresses and gateways, take address family into ↵ | Lennart Poettering | |
account | |||
2014-12-04 | sd-bus: avoid a null dereference | Thomas Hindoe Paaboel Andersen | |
2014-12-03 | rtnl: make checks for default routes more strict | Lennart Poettering | |
Also check that the source netmask is 0, not only the destination netmask. | |||
2014-12-03 | nss-myhostname: always resolve the host name "gateway" to the local default ↵ | Lennart Poettering | |
gateway This is useful inside of containers or local networks to intrdouce a stable name of the default gateway host (in case of containers usually the host, in case of LANs usually local router). | |||
2014-12-02 | busctl: fix 'command line' style output of properties | Lennart Poettering | |
2014-12-02 | sd-rtnl: route - allow GETROUTE with AF_UNSPEC | Tom Gundersen | |
2014-12-02 | sd-rtnl: add sd_rtnl_message_{new_neigh,neigh_get_{family,ifindex}} | Tom Gundersen | |
2014-12-02 | sd-rtnl: add typesystem for RTM_*NEIGH | Tom Gundersen | |
2014-12-02 | sd-rtnl: add a bit more debugging in case a message is dropped | Tom Gundersen | |
2014-12-02 | sd-rtnl: message - allow checking for attributes without reading out their ↵ | Tom Gundersen | |
contents | |||
2014-12-02 | sd-rtnl: add sd_rtnl_message_route_get_family | Tom Gundersen | |
2014-11-28 | sd-bus: move packet header definition to bus-protocol.h | Lennart Poettering | |
2014-11-28 | treewide: introduce UID_INVALID (and friends) as macro for (uid_t) -1 | Lennart Poettering | |
2014-11-28 | sd-bus: add support for matches against arrays of strings in messages | Lennart Poettering | |
2014-11-28 | sd-bus: if a NULL signatures is passed to sd_bus_message_skip(), make it ↵ | Lennart Poettering | |
skip a single element of any type | |||
2014-11-28 | sd-bus: add arrays of strings in the bloom filter | Lennart Poettering | |
Let's do this right from the beginning, to prepare ground for udev messages that most likely want to store list of strings (for device tags) in messages, and filter on them. | |||
2014-11-28 | sd-bus: make more connection properties readable | Lennart Poettering | |
2014-11-28 | sd-bus: add new sd_bus_get_address() for querying the current bus address | Lennart Poettering | |
Also, update "busctl" to show this in its output. | |||
2014-11-28 | sd-bus: rename sd_bus_get_owner_id() → sd_bus_get_bus_id() | Lennart Poettering | |
The ID returned really doesn't identify the owner, but the bus instance, hence fix this misnaming. Also, update "busctl status" to show the ID in its output. | |||
2014-11-28 | treewide: use log_*_errno whenever %m is in the format string | Michal Schmidt | |
If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments. | |||
2014-11-28 | treewide: a few more log_*_errno + return simplifications | Michal Schmidt | |
The one in tmpfiles.c:create_item() even looks like it fixes a bug. | |||
2014-11-28 | treewide: yet more log_*_errno + return simplifications | Michal Schmidt | |
Using: find . -name '*.[ch]' | while read f; do perl -i.mmm -e \ 'local $/; local $_=<>; s/(if\s*\([^\n]+\))\s*{\n(\s*)(log_[a-z_]*_errno\(\s*([->a-zA-Z_]+)\s*,[^;]+);\s*return\s+\g4;\s+}/\1\n\2return \3;/msg; print;' $f done And a couple of manual whitespace fixups. | |||
2014-11-28 | treewide: more log_*_errno + return simplifications | Michal Schmidt | |
2014-11-28 | sd-bus: make sure %m resolves to the specified error in bus_error_set_errnofv() | Lennart Poettering | |
2014-11-28 | sd-bus: rename default bus address constants, they aren't "paths" but ↵ | Lennart Poettering | |
"addresses" | |||
2014-11-28 | sd-bus: add new call sd_bus_get_scope() for querying whether one is ↵ | Lennart Poettering | |
connected to a system or a user bus | |||
2014-11-28 | sd-bus: rework credential query logic | Lennart Poettering | |
Also, make the call to free kdbus slices generic and use it everywhere | |||
2014-11-28 | treewide: more log_*_errno() conversions | Michal Schmidt | |
2014-11-28 | treewide: drop unnecessary trailing \n in log_*() calls | Michal Schmidt | |
2014-11-28 | treewide: no need to negate errno for log_*_errno() | Michal Schmidt | |
It corrrectly handles both positive and negative errno values. | |||
2014-11-28 | treewide: auto-convert the simple cases to log_*_errno() | Michal Schmidt | |
As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno(). | |||
2014-11-28 | kdbus: when running in a container, don't complain that we cannot write to /sys | Lennart Poettering | |