mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-09-06 13:41:31 +00:00
sd-bus: properly translate high-level attach flags into kdbus attach flags
This commit is contained in:
@@ -320,7 +320,7 @@ _public_ int sd_bus_negotiate_creds(sd_bus *bus, uint64_t mask) {
|
||||
/* The well knowns we need unconditionally, so that matches can work */
|
||||
bus->creds_mask = mask | SD_BUS_CREDS_WELL_KNOWN_NAMES|SD_BUS_CREDS_UNIQUE_NAME;
|
||||
|
||||
return kdbus_translate_attach_flags(bus->creds_mask, &bus->creds_mask);
|
||||
return kdbus_translate_attach_flags(bus->creds_mask, &bus->attach_flags);
|
||||
}
|
||||
|
||||
_public_ int sd_bus_set_server(sd_bus *bus, int b, sd_id128_t server_id) {
|
||||
|
||||
Reference in New Issue
Block a user