Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-04-12 | kdbus: use a valid service name for testing | Lennart Poettering | |
2013-04-12 | kdbus: update kdbus.h from upstream | Lennart Poettering | |
2013-04-12 | kdbus: make sure msg structure is properly initialized | Lennart Poettering | |
2013-04-12 | bus: don't calculate kmsg message too large | Lennart Poettering | |
2013-04-12 | bus: add kdbus test for name registry | Lennart Poettering | |
2013-04-12 | dbus: fill in kdbus sender+destination from kdbus data | Lennart Poettering | |
2013-04-12 | bus: rename KDBUS_CMD_FNAME_POLICY_NONE -> KDBUS_CMD_FNAME_POLICY_OPEN | Kay Sievers | |
2013-04-12 | bus: test - re-enable check for returned error | Kay Sievers | |
2013-04-12 | bus: align the buffer we pass to the kernel | Kay Sievers | |
2013-04-12 | bus: create kdbus bus without an active policy | Kay Sievers | |
2013-04-12 | bus: implement basic name registration with kdbus | Lennart Poettering | |
2013-04-12 | bus: be nice to people who don't have kdbus in their kernels | Lennart Poettering | |
2013-04-12 | bus: make sure things still compile fine without valgrind's headers installed | Lennart Poettering | |
2013-04-12 | bus: make the kdbus code valgrind clean | Lennart Poettering | |
2013-04-12 | bus: parse and expose kdbus message timestamps | Lennart Poettering | |
2013-04-12 | bus: also parse PID starttime out of kdbus message | Lennart Poettering | |
2013-04-12 | bus: parse uid/gid/pid/tid meta data from kdbus messages | Lennart Poettering | |
2013-04-12 | bus: make kdbus work so that we can exchange real messages | Lennart Poettering | |
We have ignition, we have tremendous fire! | |||
2013-04-11 | errno is positive | Zbigniew 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-12 | bus: fix formatting of bus address | Lennart Poettering | |
2013-04-12 | bus: fix kdbus ioctl invocation | Lennart Poettering | |
2013-04-12 | bus: properly check if kdbus connection worked | Lennart Poettering | |
2013-04-12 | bus: fill in unique name when using kdbus | Lennart Poettering | |
2013-04-12 | bus: add kdbus test case | Lennart Poettering | |
2013-04-11 | bus: basic implementation of kdbus client side | Lennart Poettering | |
2013-04-11 | bus: calculate iovec for messages only when we need it | Lennart Poettering | |
2013-04-11 | macro: make sure ALIGN() can be calculated constant by the compiler | Lennart 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-10 | libsystemd-bus: initalize handle_cmsg to false | Lukas Nykryn | |
2013-04-10 | bus: when we unmarshal an fd it should stay owned by the message object | Lennart 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-09 | bus: also remove recursive invocation of message_append_ap() | Lennart Poettering | |
2013-04-09 | bus: implement message_read_ap() non-recursively | Lennart 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-05 | Use initalization instead of explicit zeroing | Zbigniew 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-05 | bus: various improvements for test-bus-chat | Lennart Poettering | |
2013-04-05 | bus: convert a couple of calls over to new convenience functions | Lennart Poettering | |
2013-04-05 | bus: add convenience calls for method replies, too | Lennart Poettering | |
2013-04-05 | bus: when parsing signature strings, accept NULL as empty signature | Lennart Poettering | |
2013-04-05 | bus: make sure callback structs are always properly initialized | Lennart Poettering | |
2013-04-05 | bus: use C99 struct construction for error initializers | Lennart Poettering | |
That way we can allocate an error struct on-the-fly while calling a function. Nice! | |||
2013-04-05 | bus: add convenience functions for constructing and sending method ↵ | Lennart Poettering | |
calls/signals in one call | |||
2013-04-05 | bus: properly detect and handle if a callback is installed/removed from ↵ | Lennart Poettering | |
within a callback | |||
2013-04-05 | bus: don't allow recursive invocation of sd_bus_process() | Lennart Poettering | |
2013-04-04 | test-bus-marshal.c: do not call g_type_init() for modern glib versions | Harald Hoyer | |
2013-04-01 | Always use our own MAX/MIN definitions | Cristian Rodríguez | |
code in src/shared/macro.h only defined MAX/MIN in case they were not defined previously. however the MAX/MIN macros implemented in glibc are not of the "safe" kind but defined as: define MIN(a,b) (((a)<(b))?(a):(b)) define MAX(a,b) (((a)>(b))?(a):(b)) Avoid nasty side effects by using our own versions instead. Also fix the warnings derived from this change. [zj: - modify MAX3 macro to fix warning about _a shadowing _a, - do bootchart/svg.c too, - remove unused MIN3.] | |||
2013-04-01 | bus: always return something in sd_bus_get_timeout() | Lennart Poettering | |
2013-04-01 | bus: be more careful when determining credential data | Lennart Poettering | |
As it turns out SCM_CREDENTIALS is not always supported on socketpair(), so let's also try SO_PEERCRED then. | |||
2013-04-01 | bus: when the first char a server receives isn't the NUL byte immediately fail | Lennart Poettering | |
2013-04-01 | bus: ignore the passed UID on EXTERNAL auth if ANONYMOUS is allowed | Lennart Poettering | |
2013-04-01 | bus: when reading a message from the socket, make sure to note down the size | Lennart Poettering | |
2013-04-01 | bus: reuse sd_is_socket() call | Lennart Poettering | |
2013-04-01 | bus: fall back to readv/writev if recvmsg/sendmsg don't work | Lennart Poettering | |