summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus
AgeCommit message (Collapse)Author
2013-04-15bus: handle env vars safelyLennart Poettering
Make sure that our library is safe for usage in SUID programs when it comes to env var handling
2013-04-15kdbus: parse cgroup meta data, tooLennart Poettering
2013-04-14bus: remove two unused variablesZbigniew Jędrzejewski-Szmek
2013-04-14kdbus: generare bloom filters properly for messages we sendLennart Poettering
2013-04-14kdbus: update kdbus.h from upstreamLennart Poettering
2013-04-14bus: always explicitly rewind read index before passing message to caller or ↵Lennart Poettering
callback
2013-04-14bus: fix counting of argN= matchesLennart Poettering
2013-04-14util: introduce alloca0() and use it at a number of placesLennart Poettering
2013-04-14bus: zero data structure and catch up with error value changeKay Sievers
2013-04-14kdbus: also parse cmdline message attributeLennart Poettering
2013-04-14kdbus: make name acquirement ioctls valgrind cleanLennart Poettering
2013-04-13kdbus: parse even more kernel meta data fieldsLennart Poettering
2013-04-13kdbus: update to newest kdbus APILennart Poettering
2013-04-12util: add wrapper for realloc to avoid specyfing typeZbigniew Jędrzejewski-Szmek
2013-04-12kdbus: make our little test pass cleanly againLennart Poettering
2013-04-12kbdus: add null bloom filter to our messagesLennart Poettering
This makes things work again with the requirements of the kernel on bloom filters.
2013-04-12kdbus: use a valid service name for testingLennart Poettering
2013-04-12kdbus: update kdbus.h from upstreamLennart Poettering
2013-04-12kdbus: make sure msg structure is properly initializedLennart Poettering
2013-04-12bus: don't calculate kmsg message too largeLennart Poettering
2013-04-12bus: add kdbus test for name registryLennart Poettering
2013-04-12dbus: fill in kdbus sender+destination from kdbus dataLennart Poettering
2013-04-12bus: rename KDBUS_CMD_FNAME_POLICY_NONE -> KDBUS_CMD_FNAME_POLICY_OPENKay Sievers
2013-04-12bus: test - re-enable check for returned errorKay Sievers
2013-04-12bus: align the buffer we pass to the kernelKay Sievers
2013-04-12bus: create kdbus bus without an active policyKay Sievers
2013-04-12bus: implement basic name registration with kdbusLennart Poettering
2013-04-12bus: be nice to people who don't have kdbus in their kernelsLennart Poettering
2013-04-12bus: make sure things still compile fine without valgrind's headers installedLennart Poettering
2013-04-12bus: make the kdbus code valgrind cleanLennart Poettering
2013-04-12bus: parse and expose kdbus message timestampsLennart Poettering
2013-04-12bus: also parse PID starttime out of kdbus messageLennart Poettering
2013-04-12bus: parse uid/gid/pid/tid meta data from kdbus messagesLennart Poettering
2013-04-12bus: make kdbus work so that we can exchange real messagesLennart Poettering
We have ignition, we have tremendous fire!
2013-04-11errno is positiveZbigniew Jędrzejewski-Szmek
Make sure we compare errno against positive error codes. The ones in hwclock.c and install.c can have an impact, the rest are unlikely to be hit or in code that isn't widely used. Also check that errno > 0, to help gcc know that we are returning a negative error code.
2013-04-12bus: fix formatting of bus addressLennart Poettering
2013-04-12bus: fix kdbus ioctl invocationLennart Poettering
2013-04-12bus: properly check if kdbus connection workedLennart Poettering
2013-04-12bus: fill in unique name when using kdbusLennart Poettering
2013-04-12bus: add kdbus test caseLennart Poettering
2013-04-11bus: basic implementation of kdbus client sideLennart Poettering
2013-04-11bus: calculate iovec for messages only when we need itLennart Poettering
2013-04-11macro: make sure ALIGN() can be calculated constant by the compilerLennart Poettering
If we pass a constant value to ALIGN() gcc should have the chance to calculate the value during compilation rather than runtime, so let's avoid a static inline call if we can.
2013-04-10libsystemd-bus: initalize handle_cmsg to falseLukas Nykryn
2013-04-10bus: when we unmarshal an fd it should stay owned by the message objectLennart Poettering
If the user wants the fd to stay valid he should keep a reference to the message object or duplicate the fd. This unifies behaviour of demarshalling data fields and unix fds.
2013-04-09bus: also remove recursive invocation of message_append_ap()Lennart Poettering
2013-04-09bus: implement message_read_ap() non-recursivelyLennart Poettering
As it turns out if you pass a va_list to a function its state becomes undefined after that function returns, and this actually does break on x86-32. Hence, let's reimplement message_read_ap() without the use of recursion. Instead we now build our own stack of types in an array so that we can decode the entire parameter list in a single stackframe.
2013-04-05Use initalization instead of explicit zeroingZbigniew Jędrzejewski-Szmek
Before, we would initialize many fields twice: first by filling the structure with zeros, and then a second time with the real values. We can let the compiler do the job for us, avoiding one copy. A downside of this patch is that text gets slightly bigger. This is because all zero() calls are effectively inlined: $ size build/.libs/systemd text data bss dec hex filename before 897737 107300 2560 1007597 f5fed build/.libs/systemd after 897873 107300 2560 1007733 f6075 build/.libs/systemd … actually less than 1‰. A few asserts that the parameter is not null had to be removed. I don't think this changes much, because first, it is quite unlikely for the assert to fail, and second, an immediate SEGV is almost as good as an assert.
2013-04-05bus: various improvements for test-bus-chatLennart Poettering
2013-04-05bus: convert a couple of calls over to new convenience functionsLennart Poettering