Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-18 | busctl: output a single sorted list of names, including activatable and ↵ | Lennart Poettering | |
activated | |||
2013-12-18 | bus: beef up driverd | Lennart Poettering | |
Add validity checks for all parameters passed in. Implement ReleaseName and StartServiceByName(). Fix access control in vtable. | |||
2013-12-18 | bus: when releasing, taking, listing bus names check if they are valid | Lennart Poettering | |
Given that the kernel does not validate bus names we have to when using them. | |||
2013-12-18 | tests: fix build | Lennart Poettering | |
2013-12-18 | bus: sync with kdbus | Daniel Mack | |
Two new things here: a) struct kdbus_notify_name_change now carries two struct kdbus_notify_id_change b) a new KDBUS_CMD_BYEBYE ioctl that has no user yet in systemd | |||
2013-12-17 | networkd: bridge - fix state machine | Tom Gundersen | |
We were entering BRIDGE_STATE_CREATED rather than BRIDGE_STATE_READY. | |||
2013-12-17 | networkd: link - remove useless states | Tom Gundersen | |
Rework the state-machine a bit. | |||
2013-12-17 | networkd: rename link_update_flags to link_update | Tom Gundersen | |
We are likely to track more than the flags in the future. | |||
2013-12-17 | bus-util: return errors when encountered | Thomas Hindoe Paaboel Andersen | |
Introduced in: 9f6eb1cd58f2ddf2eb6ba0e4de056e13d938af75 313333b403439360c0396a50d77d0a1ee2bca4df | |||
2013-12-17 | _noreturn_ --> noreturn for C11 compat | Shawn Landden | |
also define noreturn w/o <stdnoreturn.h> | |||
2013-12-17 | util: no need for in_initrd() cache to be thread-local | Shawn Landden | |
the process only has one working directory, and a race is harmless | |||
2013-12-17 | __thread --> thread_local for C11 compat | Shawn Landden | |
Also make thread_local available w/o including <threads.h>. (as the latter hasn't been implemented, but this part is trivial) | |||
2013-12-17 | update TODO | Lennart Poettering | |
2013-12-17 | libsystemd-bus: true/false instead of yes/no in msg dump | Lukasz Skalski | |
Due to this patch, message dump (for message which includes boolean type) is more consistent with dbus-send (which display true/false instead of yes/no for boolean). It's only simple 'cosmetics change'. ** For dbus-send ** dbus-send --system --dest=org.freedesktop.DBus --type=method_call --print-reply / org.freedesktop.DBus.NameHasOwner string:org.freedesktop.login1 method return sender=org.freedesktop.DBus -> dest=:1.97 reply_serial=2 boolean true ** For libsystemd-bus (without this patch) ** ‣ Type=method_call Endian=l Flags=0 Version=2 Serial=8 Destination=org.freedesktop.DBus Path=/org/freedesktop/DBus Interface=org.freedesktop.DBus Member=NameHasOwner MESSAGE "s" { STRING "org.freedesktop.login1"; }; ‣ Type=method_return Endian=l Flags=1 Version=2 Serial=51 ReplySerial=8 Sender=:1.59 Destination=:1.67 UniqueName=:1.59 WellKnownNames={org.freedesktop.DBus} MESSAGE "b" { BOOLEAN yes; }; For me true/false seems to be better readable than yes/no for BOOLEAN. | |||
2013-12-17 | journal-file.c: remove redundant assignment of variable | Thomas Hindoe Paaboel Andersen | |
we also do 'last_index = (uint64_t) -1;' at the end of the while loop so there is no reason to also do it here. | |||
2013-12-17 | bus: properly return an error code when release_name fails abnormally | Lennart Poettering | |
2013-12-17 | bus-driverd: Fix return code in driver_request_name | Lukasz Skalski | |
RequestName return codes should be consistent with Dbus Specification. VALUE - DESCRIPTION 1-The caller is now the primary owner of the name, replacing any previous owner, 2-The name already had an owner (QUEUE flag was not specified), 3-The name already has an owner (QUEUE flag was specified), 4-Application trying to request ownership of a name is already the owner of it. | |||
2013-12-17 | journald: before closing /dev/kmsg let's unregister the event source | Lennart Poettering | |
2013-12-17 | journald: close /dev/kmsg again if we cannot make use of it | Lennart Poettering | |
2013-12-17 | journald: downgrade warning message when /dev/kmsg does not exist | Lennart Poettering | |
2013-12-17 | dhcp: Properly handle unsuccessful cases for DHCP Ack | Patrik Flykt | |
Ignore DHCP Ack packets if they are found to be erroneous or have an unexpected xid by setting the result to zero instead of propagating an error. Also remember to report a DHCP Nak and stop the DHCP client. | |||
2013-12-17 | udev link-config: add asserts to silence scan-build | Thomas Hindoe Paaboel Andersen | |
2013-12-17 | bus: removed unused variable in driverd | Thomas Hindoe Paaboel Andersen | |
acked by Daniel Mack | |||
2013-12-17 | bus: make driverd code more similar to other daemons, and make it exit on ↵ | Lennart Poettering | |
idle among other things | |||
2013-12-17 | busctl: on kdbus the bus driver is a service like any other, hence don't skip it | Lennart Poettering | |
2013-12-17 | bus: remarshal messages when necessary before sending | Lennart Poettering | |
2013-12-17 | activate: fix error checking on epoll_ctl() | Lennart Poettering | |
2013-12-17 | bus: install unit files for new driver service | Lennart Poettering | |
2013-12-17 | bus: sync with kdbus | Daniel Mack | |
kdbus_cmd_{ep,ns,bus}_make are now consolidated, and bloom_size has become an item of the dynamically sized list. | |||
2013-12-17 | bus: sync up with kdbus | Daniel Mack | |
2013-12-17 | bus-driverd: Fix unique name return in driver_get_name_owner | Lukasz Skalski | |
2013-12-17 | man: networkd - clarify Address/Gateway keys in [Network] section | Tom Gundersen | |
2013-12-17 | networkd: add support for Route sections | Tom Gundersen | |
2013-12-17 | networkd: correct logging message | Tom Gundersen | |
2013-12-17 | rtnl: fix for 32bits | Marc-Antoine Perennou | |
Commit 0a0dc69b655cfb10cab39133f5d521e7b35ce3d5 broke tests for 32 bits | |||
2013-12-16 | build-sys: fix distcheck | Zbigniew Jędrzejewski-Szmek | |
2013-12-16 | journal: fix against (theoretical) undefined behavior | Shawn Landden | |
While all the libc implementations I know return NULL when memchr's size parameter is 0, without accessing any memory, passing NULL to memchr is still invalid: C11 7.24.1p2: Where an argument declared as "size_t n" specifies the length of the array for a function, n can have the value zero on a call to that function. Unless explicitly stated otherwise in the description of a particular function in this subclause, pointer arguments on such a call shall still have valid values, as described in 7.1.4. On such a call, a function that locates a character finds no occurrence, a function that compares two character sequences returns zero, and a function that copies characters copies zero characters. see http://llvm.org/bugs/show_bug.cgi?id=18247 | |||
2013-12-16 | man: describe journalctl --show-cursor | Zbigniew Jędrzejewski-Szmek | |
2013-12-16 | bus-driverd: actually add --version | Zbigniew Jędrzejewski-Szmek | |
2013-12-16 | systemctl: highlight filenames in cat | Zbigniew Jędrzejewski-Szmek | |
2013-12-16 | systemctl: fix return value from cat | Zbigniew Jędrzejewski-Szmek | |
2013-12-16 | man: reword awkward phrase | Zbigniew Jędrzejewski-Szmek | |
2013-12-16 | bus: use gperf to map error string to errno | Zbigniew Jędrzejewski-Szmek | |
2013-12-17 | bus: update kdbus.h | Kay Sievers | |
2013-12-17 | bus: when connecting to a container's system bus, double fork after joining ↵ | Lennart Poettering | |
the container's namespace setns(CLONE_NEWPID) only applies to child processes, hence let's fork once after joining the container's namespace. | |||
2013-12-17 | build-sys: build bus-driverd if kdbus support is enabled | Lennart Poettering | |
2013-12-17 | bus: when entering an existing namespace to connect to a container's system ↵ | Lennart Poettering | |
bus also switch over PID namespace This is necessary to ensure that kdbus can collect creds of the destination namespace when connecting. | |||
2013-12-17 | core: always create /dev/kdbus/ns (and make it private 0700) after setting ↵ | Lennart Poettering | |
up the kdbus system bus | |||
2013-12-16 | journal-file: protect against alloca(0) | Thomas Hindoe Paaboel Andersen | |
2013-12-16 | bus: fix typo in systemd-bus-proxyd | Kay Sievers | |