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
tree: 4e9b76fd42ee70a1567aa429736f5c743af1029c
  1. fail-monitor/
  2. libmapper/
  3. obmc/
  4. .gitignore
  5. bootstrap.sh
  6. configure.ac
  7. LICENSE
  8. Makefile.am
  9. phosphor-mapper
  10. README.md
  11. setup.py.in
README.md

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.