summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-17update TODOLennart Poettering
2013-12-17libsystemd-bus: true/false instead of yes/no in msg dumpLukasz 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-17journal-file.c: remove redundant assignment of variableThomas 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-17bus: properly return an error code when release_name fails abnormallyLennart Poettering
2013-12-17bus-driverd: Fix return code in driver_request_nameLukasz 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-17journald: before closing /dev/kmsg let's unregister the event sourceLennart Poettering
2013-12-17journald: close /dev/kmsg again if we cannot make use of itLennart Poettering
2013-12-17journald: downgrade warning message when /dev/kmsg does not existLennart Poettering
2013-12-17dhcp: Properly handle unsuccessful cases for DHCP AckPatrik 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-17udev link-config: add asserts to silence scan-buildThomas Hindoe Paaboel Andersen
2013-12-17bus: removed unused variable in driverdThomas Hindoe Paaboel Andersen
acked by Daniel Mack
2013-12-17bus: make driverd code more similar to other daemons, and make it exit on ↵Lennart Poettering
idle among other things
2013-12-17busctl: on kdbus the bus driver is a service like any other, hence don't skip itLennart Poettering
2013-12-17bus: remarshal messages when necessary before sendingLennart Poettering
2013-12-17activate: fix error checking on epoll_ctl()Lennart Poettering
2013-12-17bus: install unit files for new driver serviceLennart Poettering
2013-12-17bus: sync with kdbusDaniel Mack
kdbus_cmd_{ep,ns,bus}_make are now consolidated, and bloom_size has become an item of the dynamically sized list.
2013-12-17bus: sync up with kdbusDaniel Mack
2013-12-17bus-driverd: Fix unique name return in driver_get_name_ownerLukasz Skalski
2013-12-17man: networkd - clarify Address/Gateway keys in [Network] sectionTom Gundersen
2013-12-17networkd: add support for Route sectionsTom Gundersen
2013-12-17networkd: correct logging messageTom Gundersen
2013-12-17rtnl: fix for 32bitsMarc-Antoine Perennou
Commit 0a0dc69b655cfb10cab39133f5d521e7b35ce3d5 broke tests for 32 bits
2013-12-16build-sys: fix distcheckZbigniew Jędrzejewski-Szmek
2013-12-16journal: fix against (theoretical) undefined behaviorShawn 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-16man: describe journalctl --show-cursorZbigniew Jędrzejewski-Szmek
2013-12-16bus-driverd: actually add --versionZbigniew Jędrzejewski-Szmek
2013-12-16systemctl: highlight filenames in catZbigniew Jędrzejewski-Szmek
2013-12-16systemctl: fix return value from catZbigniew Jędrzejewski-Szmek
2013-12-16man: reword awkward phraseZbigniew Jędrzejewski-Szmek
2013-12-16bus: use gperf to map error string to errnoZbigniew Jędrzejewski-Szmek
2013-12-17bus: update kdbus.hKay Sievers
2013-12-17bus: 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-17build-sys: build bus-driverd if kdbus support is enabledLennart Poettering
2013-12-17bus: 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-17core: always create /dev/kdbus/ns (and make it private 0700) after setting ↵Lennart Poettering
up the kdbus system bus
2013-12-16journal-file: protect against alloca(0)Thomas Hindoe Paaboel Andersen
2013-12-16bus: fix typo in systemd-bus-proxydKay Sievers
2013-12-16Add bus-driverdDaniel Mack
systemd-bus-driverd is a small daemon that connects to kdbus and implements the org.freedesktop.DBus interface. IOW, it provides the bus functions traditionally taken care for by dbus-daemon. Calls are proxied to kdbus, either via libsystemd-bus (were applicable) or with the open-coded use of ioctl(). Note that the implementation is not yet finished as the functions to add and remove matches and to start services by name are still missing.
2013-12-16bus: when a busname unit refuses to activate a service it should flush the queueLennart Poettering
2013-12-16bus: also mask dbus.service in generator if kdbus is foundLennart Poettering
2013-12-16units: properly make bus proxy socket of type Accept=yesLennart Poettering
2013-12-16systemctl: properly initialize and free sd_bus_error in "systemctl cat"Lennart Poettering
We need to properly initialize all error structs before use and free them after use. Also, there's no point in flushing stdout if we output a \n anyway...
2013-12-16bus: fix symlink to bus proxy socketLennart Poettering
2013-12-16bus: use GREEDY_REALLOC() when allocating message queuesLennart Poettering
2013-12-16bus: let's use GREEDY_REALLOC() when allocating space for containersLennart Poettering
2013-12-16execute: also set SO_SNDBUF when spawning a service with stdout/stderr ↵Lennart Poettering
connected to journald
2013-12-16loopback-setup: remove stray hunkTom Gundersen
2013-12-16network: more asserts to shut up scan-buildThomas Hindoe Paaboel Andersen
2013-12-16kdbus.h: add alignment requirementsKay Sievers