server: Add command line options
Add four non-optional command line options for the server:
namespace
Instruct the server what dbus path namespaces to watch.
interface_namespace
Instruct the server which interfaces to watch.
blacklist
Instruct the server to ignore specific paths.
interface blacklist
Instruct the server to ignore specific interfaces.
Paths are checked before interfaces. If a path does not match the
interface configuration does not matter.
Paths are first checked against the blacklist and then allowed if
the path contains the namespace or the namespace contains the path.
Interfaces are slightly different; the blacklist is checked as with
paths but then the interface is only allowed if it contains the namespace.
Resolves: openbmc/openbmc#1767
Change-Id: Ib83d5163681fc49114e4c86be177d11b8528322f
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
2 files changed