Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2013-12-16 | Add bus-driverd | Daniel 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-16 | bus: when a busname unit refuses to activate a service it should flush the queue | Lennart Poettering | |
2013-12-16 | bus: also mask dbus.service in generator if kdbus is found | Lennart Poettering | |
2013-12-16 | units: properly make bus proxy socket of type Accept=yes | Lennart Poettering | |
2013-12-16 | systemctl: 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-16 | bus: fix symlink to bus proxy socket | Lennart Poettering | |
2013-12-16 | bus: use GREEDY_REALLOC() when allocating message queues | Lennart Poettering | |
2013-12-16 | bus: let's use GREEDY_REALLOC() when allocating space for containers | Lennart Poettering | |
2013-12-16 | execute: also set SO_SNDBUF when spawning a service with stdout/stderr ↵ | Lennart Poettering | |
connected to journald | |||
2013-12-16 | loopback-setup: remove stray hunk | Tom Gundersen | |
2013-12-16 | network: more asserts to shut up scan-build | Thomas Hindoe Paaboel Andersen | |
2013-12-16 | kdbus.h: add alignment requirements | Kay Sievers | |
2013-12-16 | network: use SETLINK to bring up interfaces | Tom Gundersen | |
2013-12-16 | rtnl: replace message_append by typesafe versions | Tom Gundersen | |
2013-12-16 | rtnl: support interleaved reading and writing, and rewind | Tom Gundersen | |
2013-12-16 | rtnl: simplify route_new() | Tom Gundersen | |
Drop most of the arguments and instead introduce set_dst_prefixlen(). | |||
2013-12-16 | rtnl: simplify link_new() | Tom Gundersen | |
Drop most of the arguments and instead introduce link_set_{flags,type}. | |||
2013-12-16 | rtnl: match - only match on one type at a time | Tom Gundersen | |
2013-12-16 | rtnl: clean up/add asserts | Tom Gundersen | |
2013-12-16 | rtnl: add support for receiving route messages | Tom Gundersen | |
2013-12-16 | bus: increase the bus socket buffer to 8 MB similar, to the log socket buffers | Lennart Poettering | |
2013-12-16 | update TODO | Lennart Poettering | |
2013-12-16 | util: try harder to increase the send/recv buffers of sockets | Lennart Poettering | |
If we have the priviliges we will try SO_SNDBUFFORCE/SO_RCVBUFFORCE and only fall back to SO_SNDBUF/SO_RCVBUF if that fails. | |||
2013-12-15 | catalog: fix language detection | Zbigniew Jędrzejewski-Szmek | |
Detection would fail if language was not specified in the filename but a dot appeared somewhere higher in the path. | |||
2013-12-16 | core: refuse doing %h, %s, %U specifier resolving in PID 1 | Lennart Poettering | |
These specifiers require NSS lookups to work, and we really shouldn't do them from PID 1 hence. With this change they are now only supported for user systemd instance, or when the configured user for a unit is root. | |||
2013-12-16 | build-sys: warn if builds are not byte-by-byte reproducible due to usage of ↵ | Lennart Poettering | |
__DATE__ and suchlike | |||
2013-12-15 | Fix segv introduced by 2fd069b18e525860514a70d3ea08410ca122d3e2 | Colin Walters | |
n->path is pointing to the value now, we set s = NULL above. | |||
2013-12-16 | build-sys: add cppcheck target | Lennart Poettering | |
This uses --enable=all mode. Should be taken with a grain of salt though. While many recommendations make sense we should probably keep "int r" always on function scope, and many of the portability warnings really don't matter to us because we only care for Linux/glibc. | |||
2013-12-15 | Fix a few signed/unsigned format string issues | Zbigniew Jędrzejewski-Szmek | |
Since numbers involved are all small, behaviour was correct already. https://bugzilla.redhat.com/show_bug.cgi?id=1043304 | |||
2013-12-15 | Fix a few resource leaks in error paths | Zbigniew Jędrzejewski-Szmek | |
https://bugzilla.redhat.com/show_bug.cgi?id=1043304 | |||
2013-12-15 | bus: _printf_ attributes should be on prototypes not function definitions ↵ | Lennart Poettering | |
for non-static functions | |||
2013-12-15 | bus: update kdbus monitoring interface | Kay Sievers | |
2013-12-14 | udev-builtin-path: fix printf specifiers | Zbigniew Jędrzejewski-Szmek | |
2013-12-14 | bus: return negative errno on error | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=72688 | |||
2013-12-15 | test-journal-syslog: use streq_ptr since we pass in NULL | Thomas Hindoe Paaboel Andersen | |
2013-12-14 | systemctl: add the --plain option to the help message | Djalal Harouni | |