diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-21 18:08:39 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-21 18:08:39 +0100 |
commit | 7fb411f035e68b5f3f5e2893157739c9da9917b0 (patch) | |
tree | fc342dcdf2623ec3421ea253bd5ce0a8b571f7a4 /src/libsystemd-bus/bus-objects.c | |
parent | b2bb3469fd01cec57f1f1726edb5b851ff8427ad (diff) |
bus: when introspecting, turn unprivileged flag into inverse annoation of "privileged"
Internally, it makes sense to have a default of "privileged" for
methods, and a flag to open it up. However, externally in the bus
introspection turn this around since negative options actually suck.
Diffstat (limited to 'src/libsystemd-bus/bus-objects.c')
-rw-r--r-- | src/libsystemd-bus/bus-objects.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-bus/bus-objects.c b/src/libsystemd-bus/bus-objects.c index 54ed7542d2..c3889b7949 100644 --- a/src/libsystemd-bus/bus-objects.c +++ b/src/libsystemd-bus/bus-objects.c @@ -831,7 +831,7 @@ static int process_introspect( if (bus->nodes_modified) return 0; - r = introspect_begin(&intro); + r = introspect_begin(&intro, bus->trusted); if (r < 0) return r; |