summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-12-01logind: fix "CanGraphical" attribute to return correct valueDavid 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-30fix regression of read_full_file() in fileio.cShawn Landden
my e93c33d4aa broke this stupidly
2013-11-30shell-completion: systemctl catZbigniew Jędrzejewski-Szmek
Also update -H help string to follow the binaries.
2013-11-30systemctl: do not show SourcePath when FragmentPath cannot be foundZbigniew 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-30systemctl: add "systemctl cat"Shawn Landden
2013-11-30systemctl: refactor show()Shawn Landden
v2, don't leave in unused function
2013-11-30man: explicitly say when multiple units can be specifiedZbigniew 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-30docs: remove unneeded the's in gudev docsZbigniew Jędrzejewski-Szmek
https://bugs.freedesktop.org/show_bug.cgi?id=72164
2013-11-30bus: remove unused variableZbigniew Jędrzejewski-Szmek
2013-12-01bus: remove unused variableThomas Hindoe Paaboel Andersen
2013-12-01util.c: check if return value from ttyname_r is > 0 instead of != 0Thomas 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-30sysfs-show.c: return negative errorThomas Hindoe Paaboel Andersen
introduced in 1ca208fb4f93e5869704af1812cbff7130a2fc03
2013-11-30macro.h: fix typo in commentThomas Hindoe Paaboel Andersen
2013-11-30bus: catch up with kdbusKay Sievers
2013-11-30bus: do kdbus only if this is enabled on the configure switchLennart 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-30update TODOLennart Poettering
2013-11-30bus: use "System.Error." as prefix for implicit errno bus errorsLennart Poettering
We probably shouldn't use "Posix.Error" since many of the errors have nothing to do with Posix.
2013-11-30bus: 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-30libsystemd-bus: sync kdbus.hDaniel Mack
2013-11-30nspawn: set up a kdbus namespace when starting a containerLennart Poettering
2013-11-30bus: append unique and well known names to all messages unconditionallyLennart Poettering
2013-11-30bus: include unique and well known names in credentials objectLennart Poettering
2013-11-30bus: update kdbus.hKay Sievers
2013-11-30libsystemd-bus: catch up with latest kdbus changesDaniel 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-30bus-proxyd: Fix CLI help. --bus-path is also usable as -p.David Strauss
2013-11-30core: allocate a kdbus bus for each systemd instance, if we canLennart Poettering
2013-11-30bus: whenever we notice the connection is terminated enter CLOSING stateLennart Poettering
2013-11-30bus: synthesize local error reply when we cannot deliver a message to kdbus ↵Lennart Poettering
because the destination is unavailable
2013-11-30bus: don't generate NameAcquired/NameLost messages in the libraryLennart 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-30build-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-29bus: revert attempts to make the integration-testing workKay Sievers
fa6ccbf42360cdd794ae3164b76e0cc8f0bd62de 197941a8d5d74d79ca45ae73ec114939a8e88244 547708f59edd73d98edcbe84e95b41f7b3321f3b
2013-11-29rename stdio-bridge to bus-proxydKay Sievers
2013-11-29bus: synthesize NameLost/NameAcquired from kernel messages on top if ↵Lennart Poettering
NameOwnerChange
2013-11-29bus: fix callback index when dispatching kernel messagesLennart Poettering
2013-11-29bus: add the ability for backends to queue to input messages at the same timeLennart 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-29libsystemd-bus: sd_bus_request_name: use kdbus_translate_request_name_flags()Daniel Mack
2013-11-29libsystemd-bus: rename sd_bus_kernel_translate_request_name_flagsDaniel Mack
... to keep the namespace clean.
2013-11-29libsystemd-bus: add kdbus support for sd_bus_get_owner()Daniel Mack
2013-11-29libsystemd-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-29libsystemd-bus: factor out DBus bits out of sd_bus_get_owner()Daniel Mack
Just a preparation for upcoming kdbus support.
2013-11-29bus: do not fail if "comm" information cannot be retrieved from /procKay Sievers
2013-11-29bus: fix size calculation for match dataKay Sievers
2013-11-29bus: when synthesizing messages locally, fill in a senderLennart Poettering
2013-11-29busctl: fix --help line breaksLennart Poettering
2013-11-29kdbus: synthesize NameOwnerChange signals from kernel messages and support ↵Lennart Poettering
matches against NameOwnerChange
2013-11-29kdbus: add base enums for itemsLennart Poettering
2013-11-29bus: do not fail if task information cannot be retrieved from /procKay Sievers
2013-11-29libsystemd-bus: clean up bus-control.c fileLukasz Skalski
2013-11-29bus: do not fail if cgroup information cannot be retrieved from /procKay Sievers
2013-11-29libsystemd-bus: catch up with latest kdbus changesKay Sievers