summaryrefslogtreecommitdiff
path: root/src/libsystemd-bus/bus-kernel.c
AgeCommit message (Collapse)Author
2013-11-28bus: add new sd_bus_creds object to encapsulate process credentialsLennart Poettering
This way we can unify handling of credentials that are attached to messages, or can be queried for bus name owners or connection peers. This also adds the ability to extend incomplete credential information with data from /proc, Also, provide a convenience call that will automatically determine the most appropriate credential object for an incoming message, by using the the attached information if possible, the sending name information if available and otherwise the peer's credentials.
2013-11-21bus: let's simplify things by getting rid of unnecessary bus parametersLennart Poettering
2013-07-22bus: update for kdbus changesKay Sievers
2013-06-04bus: unmap memfd retrieved from the memfd cacheKay Sievers
2013-05-30bus: update for kdbus changesKay Sievers
2013-05-29bus: when adding memfds to cache and we shorten them, make sure to unmap the ↵Lennart Poettering
remainder
2013-05-22bus: add benchmark tool to determine the right threshold for copying vs. memfdLennart Poettering
2013-05-20bus: add test for bloom filter prefix matchLennart Poettering
2013-05-20bus: calculate bloom filter for matchLennart Poettering
Yay! Filtering using kernel bloom filter matches works now! Yippieh!
2013-05-17bus: do not pass a pointer but a uint64_t address in RECVKay Sievers
2013-05-17bus: add APIs for negotiating what is attached to messagesLennart Poettering
2013-05-17bus: add minimal locking around the memfd cacheLennart Poettering
We want to allow clients to process an sd_bus_message on a different thread than it was received on. Since unreffing a bus message might readd some of its memfds to the memfd cache add some minimal locking around the cache.
2013-05-17bus: actually unmap kdbus pool after useLennart Poettering
2013-05-16bus: send memfds as payload only on directed messages and for large partsLennart Poettering
2013-05-16bus: implement receiving side of memfd hookupLennart Poettering
2013-05-16bus: put together messages with memfd payload correctlyLennart Poettering
2013-05-15bus: add support for adding memfds into message payloadLennart Poettering
2013-05-15bus: rework message struct to keep header with fields in same malloc() blockLennart Poettering
This allows us to guarantee that the first payload_vec we pass to the kernel for each message is guaranteed to include the full header and all its field.
2013-05-15bus: add macro for iterating through body parts of a messageLennart Poettering
2013-05-14bus: fix allocation of body parts from memfdLennart Poettering
2013-05-14bus: properly handle message bodies that are a chain of memory areas rather ↵Lennart Poettering
than a single one
2013-05-14bus: add and use UINT64_TO_PTR()Kay Sievers
2013-05-12bus: remove KDBUS_MAKE_ACCESS_WORLD, remove (n_payload > 2) checkKay Sievers
KDBUS_MAKE_ACCESS_WORLD is no longer needed, the kernel creates the kdbus device node with the uid/gid of the caller now.
2013-05-10bus: fix test-bus-memfdKay Sievers
2013-05-10bus: catch up with latest kdbusLennart Poettering
2013-05-02kdbus: update kdbus.h from upstreamKay Sievers
2013-05-02kdbus: update kdbus.h from upstreamKay Sievers
2013-04-30kdbus: update kdbus.h from upstreamKay Sievers
2013-04-25bus: avoid gcc warning about casting a pointer to int of different sizeZbigniew Jędrzejewski-Szmek
2013-04-23bus: parse capability kdbus meta data of messagesLennart Poettering
2013-04-22bus: parse audit metadata from kdbus messagesLennart Poettering
2013-04-21bus: implement client logic for fd passingLennart Poettering
2013-04-18bus: catch up with kernel changesKay Sievers
2013-04-17bus: replace aligned_alloc() with memalign() everywhereLennart Poettering
aligned_alloc() is C11 and not available everywhere. Also it would require us to align the size value. So let's just invoke memalign() instead, which is universally available and doesn't have any alignment restrictions on the size parameter.
2013-04-16bus: copy iteration macro from the kernelKay Sievers
2013-04-16bus: catch up with kernel changesKay Sievers
2013-04-15bus: fix missing macro argument renamingKay Sievers
<fdo-vcs> systemd kay master * b1454bf src/libsystemd-bus/ bus-kernel.c kdbus.h <fdo-vcs> systemd bus: catch up with kernel changes <kmacleod> kay: randomly looked at your commit, it looks like in KDBUS_FOREACH_ITEM you missed changing a (d) to an (i) in (uint8_t*) (d) < (uint8_t*) (k) + (k)->size; ? <kay> kmacleod: hah, so there *is* a reason for using _foo in macros :) <kay> kmacleod: thanks!
2013-04-15bus: catch up with kernel changesKay Sievers
2013-04-15kdbus: parse cgroup meta data, tooLennart Poettering
2013-04-14kdbus: generare bloom filters properly for messages we sendLennart 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-13kdbus: parse even more kernel meta data fieldsLennart Poettering
2013-04-13kdbus: update to newest kdbus APILennart 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: make sure msg structure is properly initializedLennart Poettering
2013-04-12bus: don't calculate kmsg message too largeLennart 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