Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-02 | bus: add .busname unit type to implement kdbus-style bus activation | Lennart Poettering | |
2013-12-02 | bus: make sure we check for "incompatible" flags negotiated with kernel kdbus | Lennart Poettering | |
2013-12-02 | core: extra paranoia when deserializing kdbus fd | Lennart Poettering | |
2013-12-02 | macro: add a macro to test whether a value is in a specified list | Lennart Poettering | |
Introduce IN_SET() macro to nicely check whether a value a is one of a few listed values. This makes writing this: if (a == 1 || a == 7 || a == 8 || a == 9) nicer, by allowing this: if (IN_SET(a, 1, 7, 8, 9)) This is particularly useful for state machine enums. | |||
2013-12-02 | Use assert_return in more of the public API | Thomas Hindoe Paaboel Andersen | |
2013-12-02 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
2013-12-02 | nspawn: make sure /dev/kdbus in the container is world accessible | Lennart Poettering | |
2013-12-02 | nspawn: make kdbus namespaces actually work | Lennart Poettering | |
2013-12-02 | busctl: add command to dump creds of a peer or pid | Lennart Poettering | |
(also, rename _SD_BUS_CREDS_MAX to _SD_BUX_CRED_ALL, since "MAX" so far was used to indicate one higher than the highest valid value, and this is not correct here.) | |||
2013-12-02 | Display synthetic message serial number in a more readable format than ↵ | Lukasz Skalski | |
(uint32_t) -1 Serial=4294967295 field in message dump generated by bus_message_dump() function for synthetic messages isn't good readable. | |||
2013-12-02 | bus: be nice to LLVM and don't embedd a VLA in a union | Lennart Poettering | |
2013-12-02 | bus: when replying to an incoming message and the vtable contains the ↵ | Lennart Poettering | |
expected return signature generate an error if the response message doesn't match it | |||
2013-12-01 | service: remove unneccesary Socket.got_socket_fd | Shawn Landden | |
2013-12-01 | build-sys: allow building systemctl with --disable-logind | Marcel Holtmann | |
When logind is disabled, do not attempt to link against the non-existing libsystemd-login-internal.la library. | |||
2013-12-01 | bus: bus_open_user_systemd() fall back to bus if runtime dir is not set | Kay Sievers | |
2013-12-01 | catalog,po: add Italian translation | Daniele Medri | |
2013-12-01 | util: add greedy_realloc0() | David Herrmann | |
Compared to greedy_realloc(), this sets all newly allocated memory to 0. As the old variant has been used a lot for string-handling, we avoid changing it as clearing memory is not needed there. | |||
2013-12-01 | logind: fix "CanGraphical" attribute to return correct value | David Herrmann | |
We should return seat_can_graphical() instead of seat_can_tty() for the public dbus CanGraphical attribute. This used to work, but the dbus -> sd-bus conversion introduced this regression. | |||
2013-11-30 | fix regression of read_full_file() in fileio.c | Shawn Landden | |
my e93c33d4aa broke this stupidly | |||
2013-11-30 | shell-completion: systemctl cat | Zbigniew Jędrzejewski-Szmek | |
Also update -H help string to follow the binaries. | |||
2013-11-30 | systemctl: do not show SourcePath when FragmentPath cannot be found | Zbigniew Jędrzejewski-Szmek | |
Those files can be in a completely deferent format and also arbitrarily long, and usually contain information about other stuff. If we ever add SourceLine= or SourceLines= in addition to SourcePath=, and can show the relevant information only, this commit can be reverted. | |||
2013-11-30 | systemctl: add "systemctl cat" | Shawn Landden | |
2013-11-30 | systemctl: refactor show() | Shawn Landden | |
v2, don't leave in unused function | |||
2013-11-30 | man: explicitly say when multiple units can be specified | Zbigniew Jędrzejewski-Szmek | |
itistoday> how do you specify multiple dependencies in a unit file? i've been googling and can't find this basic thing :-\ itistoday> do you use a comma, or use multiple After= statements? | |||
2013-11-30 | docs: remove unneeded the's in gudev docs | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=72164 | |||
2013-11-30 | bus: remove unused variable | Zbigniew Jędrzejewski-Szmek | |
2013-12-01 | bus: remove unused variable | Thomas Hindoe Paaboel Andersen | |
2013-12-01 | util.c: check if return value from ttyname_r is > 0 instead of != 0 | Thomas Hindoe Paaboel Andersen | |
We must return a negative error code from getttyname_malloc but that would not be the case if ttyname_r returned a negative value. ttyname_r should only return EBADF, ENOTTY, or ERANGE so it should be safe to change. | |||
2013-11-30 | sysfs-show.c: return negative error | Thomas Hindoe Paaboel Andersen | |
introduced in 1ca208fb4f93e5869704af1812cbff7130a2fc03 | |||
2013-11-30 | macro.h: fix typo in comment | Thomas Hindoe Paaboel Andersen | |
2013-11-30 | bus: catch up with kdbus | Kay Sievers | |
2013-11-30 | bus: do kdbus only if this is enabled on the configure switch | Lennart Poettering | |
Since we want to retain the ability to break kernel ←→ userspace ABI after the next release, let's not make use by default of kdbus, so that people with future kernels will not suddenly break with current systemd versions. kdbus support is left in all builds but must now be explicitly requested at runtime (for example via setting $DBUS_SESSION_BUS). Via a configure switch the old behaviour can be restored. In fact, we change autogen.sh to do this, so that git builds (which run autogen.sh) get kdbus by default, but tarball builds (which ue the configure defaults) do not get it, and hence this stays out of the distros by default. | |||
2013-11-30 | update TODO | Lennart Poettering | |
2013-11-30 | bus: use "System.Error." as prefix for implicit errno bus errors | Lennart Poettering | |
We probably shouldn't use "Posix.Error" since many of the errors have nothing to do with Posix. | |||
2013-11-30 | bus: support temporarily const errors that don't need to be freed but ↵ | Lennart Poettering | |
require deep copies This should fix issues with incorrectly copying bus error messages out of sd_bus_message objects. Original bug found by: Djalal Harouni | |||
2013-11-30 | libsystemd-bus: sync kdbus.h | Daniel Mack | |
2013-11-30 | nspawn: set up a kdbus namespace when starting a container | Lennart Poettering | |
2013-11-30 | bus: append unique and well known names to all messages unconditionally | Lennart Poettering | |
2013-11-30 | bus: include unique and well known names in credentials object | Lennart Poettering | |
2013-11-30 | bus: update kdbus.h | Kay Sievers | |
2013-11-30 | libsystemd-bus: catch up with latest kdbus changes | Daniel Mack | |
The name list and query functions now work differently in kdbus, as the result is stored in the connection's pool, rather than being copied back through the ioctl buffer. That also safes us some logic, as we don't have to resize the communication buffer in a loop with growing buffer sizes. Due to this, KDBUS_CMD_MSG_RELEASE was renamed to KDBUS_CMD_FREE, as it is now used outside the message logic as well. | |||
2013-11-30 | bus-proxyd: Fix CLI help. --bus-path is also usable as -p. | David Strauss | |
2013-11-30 | core: allocate a kdbus bus for each systemd instance, if we can | Lennart Poettering | |
2013-11-30 | bus: whenever we notice the connection is terminated enter CLOSING state | Lennart Poettering | |
2013-11-30 | bus: synthesize local error reply when we cannot deliver a message to kdbus ↵ | Lennart Poettering | |
because the destination is unavailable | |||
2013-11-30 | bus: don't generate NameAcquired/NameLost messages in the library | Lennart Poettering | |
The signals appear entirely redundant due to NameOwnerChange, hence don't do them in the new library, instead leave them for the compatibility bridge only. Also, set the serial number for synthesized messages to (uint32_t) -1. | |||
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 |