Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-11-30 | build-sys: no longer rebuild various bits and pieces such as man pages each ↵ | Lennart Poettering | |
time the Makefile changes We don't do this for .c files either, even they are also influence quite a bit by makefile settings. Given that XSLT is a lot slower then the rest of the build let's make our build a bit faster if people end up touching the Makefile. | |||
2013-11-29 | bus: revert attempts to make the integration-testing work | Kay Sievers | |
fa6ccbf42360cdd794ae3164b76e0cc8f0bd62de 197941a8d5d74d79ca45ae73ec114939a8e88244 547708f59edd73d98edcbe84e95b41f7b3321f3b | |||
2013-11-29 | rename stdio-bridge to bus-proxyd | Kay Sievers | |
2013-11-29 | bus: synthesize NameLost/NameAcquired from kernel messages on top if ↵ | Lennart Poettering | |
NameOwnerChange | |||
2013-11-29 | bus: fix callback index when dispatching kernel messages | Lennart Poettering | |
2013-11-29 | bus: add the ability for backends to queue to input messages at the same time | Lennart Poettering | |
We need this so that one incoming kernel message can result in two high-level bus messages, for the case where we synthesize NameAcquired and NameOwnerChanged in the same instance. | |||
2013-11-29 | libsystemd-bus: sd_bus_request_name: use kdbus_translate_request_name_flags() | Daniel Mack | |
2013-11-29 | libsystemd-bus: rename sd_bus_kernel_translate_request_name_flags | Daniel Mack | |
... to keep the namespace clean. | |||
2013-11-29 | libsystemd-bus: add kdbus support for sd_bus_get_owner() | Daniel Mack | |
2013-11-29 | libsystemd-bus: add sd_bus_translate_attach_flags() | Daniel Mack | |
Factor out code from sd_bus_negotiate_attach_creds() to a generic translate function, so it can be used from other places. | |||
2013-11-29 | libsystemd-bus: factor out DBus bits out of sd_bus_get_owner() | Daniel Mack | |
Just a preparation for upcoming kdbus support. | |||
2013-11-29 | bus: do not fail if "comm" information cannot be retrieved from /proc | Kay Sievers | |
2013-11-29 | bus: fix size calculation for match data | Kay Sievers | |
2013-11-29 | bus: when synthesizing messages locally, fill in a sender | Lennart Poettering | |
2013-11-29 | busctl: fix --help line breaks | Lennart Poettering | |
2013-11-29 | kdbus: synthesize NameOwnerChange signals from kernel messages and support ↵ | Lennart Poettering | |
matches against NameOwnerChange | |||
2013-11-29 | kdbus: add base enums for items | Lennart Poettering | |
2013-11-29 | bus: do not fail if task information cannot be retrieved from /proc | Kay Sievers | |
2013-11-29 | libsystemd-bus: clean up bus-control.c file | Lukasz Skalski | |
2013-11-29 | bus: do not fail if cgroup information cannot be retrieved from /proc | Kay Sievers | |
2013-11-29 | libsystemd-bus: catch up with latest kdbus changes | Kay Sievers | |
2013-11-29 | libsystemd-bus: follow kdbus renames | Daniel Mack | |
kdbus now has more generic names for the items it passes around. That allows for usage from other contexts. | |||
2013-11-29 | hwdb: Update database of Bluetooth company identifiers | Marcel Holtmann | |
2013-11-29 | libsystemd-bus: copy over kdbus provided 128-bit bus id | Daniel Mack | |
kdbus now copies the bus unique id back to userspace in the hello ioctl(). Use these bytes to set the server id of the sd_bus. | |||
2013-11-29 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
kdbus_cmd_hello now has a new uint64_t flags field for the requested attachments. Follow that change in libsystemd-bus. | |||
2013-11-29 | systemd-stdio-bridge: make it socket-activatable and usable as kdbus bridge | Daniel Mack | |
Augment systemd-stdio-bridge a bit to make it a 1:1 bridge from legacy DBus clients to kdbus. In particular, * allow setting the bus path of the upstream bus as command line argument * use sd_listen_fds() for systemd's socket activation * omit calling sd_bus_negotiate_fds() when upstream bus is kdbus * reply to bus send errors with proper dbus error messages * treat -ECONNRESET as expected end-of-connection condition | |||
2013-11-29 | libsystemd-bus: sd_bus_request_name: fix return value for kdbus | Daniel Mack | |
kdbus returns -EALREADY if the requesting connection is already the owner of a name, and -EEXIST if the name already exists and the connection is not able to take it over. Also, n->flags needs a translation as well to match the SD_BUS_* enum values. | |||
2013-11-29 | libsystemd-bus: kernel: add sd_bus_kernel_translate_request_name_flags | Daniel Mack | |
Flags used to request a name from kdbus are not identical to what DBus and sd_bus use internally. Introduce a simple function to do the translation for us. It's factored out to a separate function so the dbus-driver instance can make use of it as well. | |||
2013-11-29 | libsystemd-bus: make sd_bus_list_names return all connections, including ↵ | Daniel Mack | |
unique names | |||
2013-11-29 | libsystemd-bus: add kdbus support for sd_bus_list_names() | Daniel Mack | |
kdbus will tell us the minimum buffer size it needs in case the default 8kb buffer doesn't suffice. | |||
2013-11-29 | libsystemd-bus: bring definitions in sync with kdbus | Daniel Mack | |
In particular, KDBUS_ITEM_NEXT is now called KDBUS_PART_NEXT, and KDBUS_ITEM_FOREACH was renamed to KDBUS_PART_FOREACH and takes one more argument to make it more flexible. | |||
2013-11-29 | bus: when turning a buffer into a sd_bus_message avoid creating zero-length ↵ | Lennart Poettering | |
parts | |||
2013-11-29 | Revert "build-sys: avoid warnings from assert_cc" | Lennart Poettering | |
This reverts commit f1a1264d13b31b9f5521f482d9a5a9d78da55efb. We can turn this off with a pragma only on old gcc. Newer gcc doesn't need this, so let's not turn this off for everybody. | |||
2013-11-29 | bus: creds - ignore EINVAL when acessing the (inactive) LSM /proc interface | Kay Sievers | |
2013-11-29 | bus: Add KDBUS_MSG_SRC_NAMES to bus_kernel_make_message() function | Lukasz Skalski | |
2013-11-28 | busctl: drop bus driver name from list of services | Lennart Poettering | |
2013-11-28 | bus: merge sd_bus_get_owner() and sd_bus_get_owner_creds() into one call | Lennart Poettering | |
Since the backing ioctl for this on kdbus is the same we retain atomicity this way. | |||
2013-11-28 | Remove some unused variables | Zbigniew Jędrzejewski-Szmek | |
2013-11-28 | build-sys: use C99 | Zbigniew Jędrzejewski-Szmek | |
We already use various constructs, so let's just admit that we're using C99. | |||
2013-11-28 | virt: split detect_vm into separate functions | Zbigniew Jędrzejewski-Szmek | |
It didn't build on arm. Let's simplify it a bit by splitting x86 specific parts out, which should also make things easier when arm virtualization support is added. | |||
2013-11-28 | build-sys: make multi-seat-x optional | Zbigniew Jędrzejewski-Szmek | |
At some point it should become disabled by default. http://lists.freedesktop.org/archives/systemd-devel/2013-November/014869.html | |||
2013-11-28 | core: fix SetUnitProperties | Marc-Antoine Perennou | |
2013-11-28 | Revert "link-config: match length for kernel commandline option" | Tom Gundersen | |
This reverts commit da66338e17f4df04d9d7cc22ec971b416d57761e. It is superseeded by 70f75a523b16ad495a7791d595ee3eececf75953 | |||
2013-11-28 | clean up TODO | Lennart Poettering | |
2013-11-28 | bus: add new sd_bus_creds object to encapsulate process credentials | Lennart 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-28 | util: fix handling of trailing whitespace in split_quoted() | Lennart Poettering | |
Inspired by a patch by Lukas Nykryn. | |||
2013-11-28 | man: move socket-proxyd man page to section 8, since it is not in the $PATH | Lennart Poettering | |
2013-11-28 | man: get rid of shell script example in systemd-socket-proxyd man page | Lennart Poettering | |
2013-11-28 | Revert "socket-proxyd: Add --listener option for listener/destination pairs." | Lennart Poettering | |
This reverts commit adcf4c81c58511b67644e17fa743d1729d3c9ccf. We have a better solution for the problem of making two processes run in the same namespace, and --listener is not needed hence and should be dropped. Conflicts: man/systemd-socket-proxyd.xml | |||
2013-11-28 | logind: remove unused session->closing field | David Herrmann | |
This field is always false, drop it. If you want a reliable way to get session state, call session_get_state(). Testing for any flags directly doesn't work currently so don't pretend it would. |