Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-26 | sd-bus: don't clobber return values on failure in bus_kernel_open_bus_fd() | Lennart Poettering | |
2014-11-26 | sd-bus: set per-bus attach flag requirement mask to ANY | Lennart Poettering | |
On the system and user busses we create it's the receiver that chooses which metadata is attched, not the sender, hence set the requirement mask to ANY, to allow any current of future credential bit to be attached. | |||
2014-11-26 | sd-bus: add suppot for renegotiating message credential attach flags | Lennart Poettering | |
2014-11-26 | sd-bus: use free_and_strdup() where appropriate | Lennart Poettering | |
This simplifies things a bit and makes sure we free any previously set creds component before writing in a new one. | |||
2014-11-25 | core: show log message about process triggering kdbus service activation | Lennart Poettering | |
2014-11-25 | sd-bus: react properly to EOVERFLOW by generating a log message about ↵ | Lennart Poettering | |
dropped broadcast messages and proceeding | |||
2014-11-25 | kdbus: update header file to current upstream version | Lennart Poettering | |
2014-11-25 | kdbus: minor simplification | Lennart Poettering | |
2014-11-25 | sd-bus: fix error handling when receiving invalid service name | Lennart Poettering | |
Also, properly keep track of incoming additional service names. | |||
2014-11-25 | sd-bus: properly handle non-initialized audit records attached to incoming ↵ | Lennart Poettering | |
kernel messages | |||
2014-11-25 | sd-bus: properly copy selinux label and description field when duplicating ↵ | Lennart Poettering | |
creds object | |||
2014-11-25 | sd-bus: add supplementary groups list to creds object | Lennart Poettering | |
2014-11-25 | busctl: if no parameter is specified for "busctl status" show credentials of ↵ | Lennart Poettering | |
bus owner | |||
2014-11-25 | sd-bus: properly handle uninitialized audit creds from kdbus | Lennart Poettering | |
2014-11-25 | sd-bus: don't fail when querying creds and dbus1 refuses to tell us the ↵ | Lennart Poettering | |
selinux context | |||
2014-11-25 | busctl: add new --augment-creds= switch for controlling whether shown ↵ | Lennart Poettering | |
credential data shall be augment with data from /proc | |||
2014-11-25 | sd-bus: update to current kernel version, by splitting off the extended ↵ | Lennart Poettering | |
KDBUS_ITEM_PIDS structure from KDBUS_ITEM_CREDS Also: - adds support for euid, suid, fsuid, egid, sgid, fsgid fields. - makes augmentation of creds with data from /proc explicitly controllable to give apps better control over this, given that this is racy. - enables augmentation for kdbus connections (previously we only did it for dbus1). This is useful since with recent kdbus versions it is possible for clients to control the metadata they want to send. - changes sd_bus_query_sender_privilege() to take the euid of the client into consideration, if known - when we don't have permissions to read augmentation data from /proc, don't fail, just don't add the data in | |||
2014-11-25 | busctl: improve readability a bit | Lennart Poettering | |
2014-11-25 | bus: change creds dumping order to be more close to internal storage order | Lennart Poettering | |
2014-11-25 | sd-bus: don't blindly take incomplete ucred bits from AF_UNIX when ↵ | Lennart Poettering | |
constructing message | |||
2014-11-21 | busctl: add --timeout= option to specify method call timeout | Lennart Poettering | |
2014-11-21 | busctl: add options to control message header flags when invoking methods | Lennart Poettering | |
2014-11-21 | busctl: show property values in "introspect" output, add "set-property" ↵ | Lennart Poettering | |
command, and support both a terse and a verbose output format | |||
2014-11-21 | busctl: when --address is specified do not assume we connect to a full bus | Lennart Poettering | |
2014-11-21 | busctl: use canned error message on parse failure | Lennart Poettering | |
2014-11-21 | sd-bus: create clean error when a property Set() call with incorrect ↵ | Lennart Poettering | |
signature is passed in | |||
2014-11-20 | busctl: pass error output to stdout (rather than stderr) when generate tree ↵ | Lennart Poettering | |
for all objects This is a ton more useful when some services fail, since we continue crawling then and output everything to a pager. | |||
2014-11-20 | busctl: improve output of service creds | Lennart Poettering | |
2014-11-20 | busctl: add new "introspect" verb for introspecting objects | Lennart Poettering | |
2014-11-20 | sd-bus: refuse properties that claim to be both writable and constant at the ↵ | Lennart Poettering | |
same time | |||
2014-11-20 | busctl: split out introspection parser from tree logic so that we can reuse ↵ | Lennart Poettering | |
it for a future "busctl introspect" command | |||
2014-11-17 | bus-socket: fix CID#996290 Unchecked return value | Susant Sahani | |
2014-11-14 | bus-proxy: properly check for bus name prefixes when enforcing policy | Lennart Poettering | |
2014-11-14 | busctl: introduce busctl "get-property" command for reading and dumping ↵ | Lennart Poettering | |
object properties | |||
2014-11-14 | busctl: various tweaks to "busctl tree" output | Lennart Poettering | |
2014-11-14 | busctl: add new "call" command to invoke methods on a service | Lennart Poettering | |
2014-11-14 | sd-bus: add sd_bus_message_is_empty() for checking whether a message carries ↵ | Lennart Poettering | |
any body | |||
2014-11-13 | sd-bus: sync with kdbus upstream (ABI break) | Daniel Mack | |
kdbus has seen a larger update than expected lately, most notably with kdbusfs, a file system to expose the kdbus control files: * Each time a file system of this type is mounted, a new kdbus domain is created. * The layout inside each mount point is the same as before, except that domains are not hierarchically nested anymore. * Domains are therefore also unnamed now. * Unmounting a kdbusfs will automatically also detroy the associated domain. * Hence, the action of creating a kdbus domain is now as privileged as mounting a filesystem. * This way, we can get around creating dev nodes for everything, which is last but not least something that is not limited by 20-bit minor numbers. The kdbus specific bits in nspawn have all been dropped now, as nspawn can rely on the container OS to set up its own kdbus domain, simply by mounting a new instance. A new set of mounts has been added to mount things *after* the kernel modules have been loaded. For now, only kdbus is in this set, which is invoked with mount_setup_late(). | |||
2014-11-11 | sd-bus: pass attach flags to BUS_CREATOR_INFO | Daniel Mack | |
kdbus learned parsing the attach flags for the KDBUS_CMD_BUS_CREATOR_INFO ioctl. Bits not set in this mask will not be exported. Set that field to _KDBUS_ATTACH_ALL for now. Signed-off-by: Daniel Mack <daniel@zonque.org> | |||
2014-11-11 | sd-bus: add sd_bus_message.verify_destination_id and .destination_ptr | Daniel Mack | |
kdbus learned to accept both a numerical destination ID as well as a well-known-name. In that case, kdbus makes sure that the numerical ID is in fact the owner of the provided name and fails otherwise. This allows for race-free assertion of a bus name owner while sending a message, which is a requirement for bus-proxyd. Add two new fields to sd_bus_message, and set the numerical ID to verify_destination_id if bus_message_setup_kmsg() is called for a message with a well-known name. Also, set the destination's name in the kdbus item to .destination_ptr if it is non-NULL. Normal users should not touch these fields, and they're not publicy accessible. | |||
2014-11-10 | bus: when dumping string property values escape the chars we use as ↵ | Lennart Poettering | |
end-of-line and end-of-item marks | |||
2014-11-10 | busctl: add "tree" command to explore object trees | Lennart Poettering | |
2014-11-05 | sd-bus: by default allow all creds to be passed along | Lennart Poettering | |
2014-11-05 | sd-bus: sync up with new kdbus metadata attachment logic (ABI break) | Daniel Mack | |
The metadata logic in kdbus has seen a rework, and the only mandatory change we have to follow for now is that attach_flags in kdbus_cmd_hello is now split into two parts, attach_flags_send and attach_flags_recv. | |||
2014-11-04 | sd-bus: rename sd_bus_get_server_id() to sd_bus_get_owner_id() | Lennart Poettering | |
In kdbus a "server id" is mostly a misnomer, as there isn't any "server" involved anymore. Let's rename this to "owner" id hence, since it is an ID that is picked by the owner of a bus or direct connection. This matches nicely the sd_bus_get_owner_creds() call we already have. | |||
2014-11-04 | sd-bus,sd-event: unify error handling of object descriptions | Lennart Poettering | |
a) When getting the description return ENXIO if none is set b) Allow setting a description to NULL c) return ECHILD on fork() like for other calls | |||
2014-11-04 | sd-bus: make use of free_and_strdup() where it makes sense | Lennart Poettering | |
2014-11-04 | sd-bus: also allow setting descriptions on bus slots | Lennart Poettering | |
2014-11-04 | sd-event: implicitly set signal event source's descriptions to the signal name | Lennart Poettering | |
2014-11-04 | sd-event: rename sd_event_source_set_name() to sd_event_source_get_name() | Lennart Poettering | |
To mirror the recent name change of the concept for sd_bus objects, follow the same logic for sd_event_source objects, too. |