bus/driver: Make non-core interfaces unavailable on most object paths
authorSimon McVittie <smcv@collabora.com>
Wed, 31 May 2017 17:20:25 +0000 (18:20 +0100)
committerSimon McVittie <smcv@collabora.com>
Fri, 2 Jun 2017 09:43:29 +0000 (10:43 +0100)
commit093ec67b8f0e0117f614adf262042531e0be4edf
tree4a93105e30f62ff34f086f0db5f9c891e68e0ebc
parent36893e76c43c2e9b5283e8dce787afd4bfbd4ffb
bus/driver: Make non-core interfaces unavailable on most object paths

The o.fd.DBus interface needs to remain available on arbitrary object
paths for backwards compatibility, and the Introspectable interface
is genuinely useful, but everything else can be skipped.

This is arguably an incompatible change for the undocumented Verbose
interface, and for the GetAllMatchRules method on the undocumented
Stats interface: previously those were available at all object paths.

Reviewed-by: Philip Withnall <withnall@endlessm.com>
[smcv: Adjust comments, enum order, variable naming as per Philip's review]
Signed-off-by: Simon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=101256
bus/driver.c
bus/driver.h
bus/main.c
bus/stats.c
test/monitor.c