chiark / gitweb /
sd-bus: allow setting a per-connection default value for the "allow-interactive-authe...
authorLennart Poettering <lennart@poettering.net>
Tue, 17 Feb 2015 19:30:33 +0000 (20:30 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Feb 2015 10:43:18 +0000 (11:43 +0100)
commitc0765ddb74f20046c406a3ac99f34719d767f151
tree85686383b6019d58899d921daff12035bed0c929
parentb89c454b37a23433f8fd6ad7b93f5a6190930aa4
sd-bus: allow setting a per-connection default value for the "allow-interactive-authentication" message flag

Most of our client tools want to set this bit for all their method
calls, even though it defaults to off in sd-bus, and rightfully so.
Hence, to simplify thing, introduce a per sd_bus-object flag that sets
the default value for all messages created on the connection.
src/libsystemd/libsystemd.sym.m4
src/libsystemd/sd-bus/bus-internal.h
src/libsystemd/sd-bus/bus-message.c
src/libsystemd/sd-bus/sd-bus.c
src/systemd/sd-bus.h