Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2014-11-28 | sd-bus: the attach_mask kernel module parameter is 64bit now, hence ↵ | Lennart Poettering | |
initialize it as such | |||
2014-11-27 | kdbus: set kernel attach mask before creating the first bus | Lennart Poettering | |
2014-11-27 | sd-bus: set creds info for "org.freedesktop.DBus.Local" generated messages, too | Lennart Poettering | |
2014-11-27 | sd-bus: when we get the list of well-known names back from kdbus we ↵ | Lennart Poettering | |
shouldn't confuse the empty list with unknown information | |||
2014-11-27 | sd-bus: deal with whitespace in matches | Lennart Poettering | |
2014-11-27 | sd-bus: unify logic how we patch the message source of driver messages | Lennart Poettering | |
2014-11-27 | sd-bus: fake valid well-known-names metadata for faked bus messages | Lennart Poettering | |
2014-11-27 | sd-bus: optimize how we generate the well-known-names lists in messages from ↵ | Lennart Poettering | |
kdbus | |||
2014-11-27 | sd-bus: be stricter with mismatches between dbus1 and kdbus message headers | Lennart Poettering | |
2014-11-27 | bus-proxy: check passed parameter signature of all driver method calls | Lennart Poettering | |
2014-11-27 | networkd: fix kernel rtnl receive buffer overrun error | Alin Rauta | |
We got the following error when running systemd on a device with many ports: "rtnl: kernel receive buffer overrun Event source 'rtnl-receive-message' returned error, disabling: No buffer space available" I think the kernel socket receive buffer queue should be increased. The default value is taken from: "/proc/sys/net/core/rmem_default", but we can overwrite it using SO_RCVBUF socket option. This is already done in networkd for other sockets. For example, the bus socket (sd-bus/bus-socket.c) has a receive queue of 8MB. In our case, the default is 208KB. Increasing the buffer receive queue for manager socket to 512KB should be enough to get rid of the above error. [tomegun: bump the limit even higher to 8M] | |||
2014-11-27 | bus: prefix custom endpoints with "$UID-" | David Herrmann | |
The kdbus module will later get a policy that endpoint-names are restricted to "<uid>-<name>" just like bus-names. Make sure that systemd is already compatible to that. | |||
2014-11-26 | sd-bus: make sure that when we connect to the system bus we have enough ↵ | Lennart Poettering | |
creds to make security decisions | |||
2014-11-26 | sd-bus: update kdbus.h from upstream | Lennart Poettering | |
2014-11-26 | sd-bus: given that the kernel now passes the auxgroups list as 32bit array ↵ | Lennart Poettering | |
to us, no need to convert to uid_t manually This way, we can save one allocation and avoid copying the array unnecesarily. | |||
2014-11-26 | bus: update kdbus.h (ABI break) | David Herrmann | |
We changed creds to u32, so fix systemd sd-bus to acknowledge that. | |||
2014-11-26 | bus-kernel: when installing an activator, ask for any kind of metadata to be ↵ | Lennart Poettering | |
attached to incoming messages We don't know what the activated service might want in the end, hence enable everything current and future, just to be sure. | |||
2014-11-26 | sd-bus: don't clobber return values on failure in bus_kernel_open_bus_fd() | Lennart Poettering | |
2014-11-26 | sd-bus: set per-bus attach flag requirement mask to ANY | Lennart Poettering | |
On the system and user busses we create it's the receiver that chooses which metadata is attched, not the sender, hence set the requirement mask to ANY, to allow any current of future credential bit to be attached. | |||
2014-11-26 | sd-bus: add suppot for renegotiating message credential attach flags | Lennart Poettering | |
2014-11-26 | sd-bus: use free_and_strdup() where appropriate | Lennart Poettering | |
This simplifies things a bit and makes sure we free any previously set creds component before writing in a new one. | |||
2014-11-25 | core: show log message about process triggering kdbus service activation | Lennart Poettering | |