summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-12-16network: use SETLINK to bring up interfacesTom Gundersen
2013-12-16rtnl: replace message_append by typesafe versionsTom Gundersen
2013-12-16rtnl: support interleaved reading and writing, and rewindTom Gundersen
2013-12-16rtnl: simplify route_new()Tom Gundersen
Drop most of the arguments and instead introduce set_dst_prefixlen().
2013-12-16rtnl: simplify link_new()Tom Gundersen
Drop most of the arguments and instead introduce link_set_{flags,type}.
2013-12-16rtnl: match - only match on one type at a timeTom Gundersen
2013-12-16rtnl: clean up/add assertsTom Gundersen
2013-12-16rtnl: add support for receiving route messagesTom Gundersen
2013-12-16bus: increase the bus socket buffer to 8 MB similar, to the log socket buffersLennart Poettering
2013-12-16update TODOLennart Poettering
2013-12-16util: try harder to increase the send/recv buffers of socketsLennart 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-15catalog: fix language detectionZbigniew 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-16core: refuse doing %h, %s, %U specifier resolving in PID 1Lennart 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-16build-sys: warn if builds are not byte-by-byte reproducible due to usage of ↵Lennart Poettering
__DATE__ and suchlike
2013-12-15Fix segv introduced by 2fd069b18e525860514a70d3ea08410ca122d3e2Colin Walters
n->path is pointing to the value now, we set s = NULL above.
2013-12-16build-sys: add cppcheck targetLennart 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-15Fix a few signed/unsigned format string issuesZbigniew Jędrzejewski-Szmek
Since numbers involved are all small, behaviour was correct already. https://bugzilla.redhat.com/show_bug.cgi?id=1043304
2013-12-15Fix a few resource leaks in error pathsZbigniew Jędrzejewski-Szmek
https://bugzilla.redhat.com/show_bug.cgi?id=1043304
2013-12-15bus: _printf_ attributes should be on prototypes not function definitions ↵Lennart Poettering
for non-static functions
2013-12-15bus: update kdbus monitoring interfaceKay Sievers
2013-12-14udev-builtin-path: fix printf specifiersZbigniew Jędrzejewski-Szmek
2013-12-14bus: return negative errno on errorZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=72688
2013-12-15test-journal-syslog: use streq_ptr since we pass in NULLThomas Hindoe Paaboel Andersen
2013-12-14systemctl: add the --plain option to the help messageDjalal Harouni
2013-12-14man: remove advice to avoid setting the same var more than onceZbigniew Jędrzejewski-Szmek
So far the compatibility with .desktop settings hasn't been imporant at all, and we do not want people to write convoluted unit files.
2013-12-14man: beef up ExecStart descriptionZbigniew Jędrzejewski-Szmek
We have lots of questions from people who assume that shell syntax works here, so let's be very explicit what is allowed and what is not. A few examples should also help. http://bugs.debian.org/732156
2013-12-14build: use -ftrapv for developmentShawn Landden
We want to find these bugs if they exist.
2013-12-14Add more _printf_'s for format-nonliteralsThomas Hindoe Paaboel Andersen
Clang is a bit more strict wrt format-nonliterals: http://clang.llvm.org/docs/LanguageExtensions.html#format-string-checking Adding these extra printf attributes also makes gcc able to find more problems. E.g. this patch uncovers a format issue in udev-builtin-path_id.c Some parts looked intetional about breaking the format-nonliteral check. I added some supression for warnings there.
2013-12-14event: some snake-oil to speed up impossible error checksLennart Poettering
2013-12-14event: instead of reset the revents field when we get new revents data from ↵Lennart Poettering
epoll, OR it in
2013-12-14event: dynamically adjust size of events array instead of pre-allocating it ↵Lennart Poettering
possibly too large or too small