From 4f045d0b1bd11f4529a4b25c69a95ac043fe9e76 Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Mon, 22 Oct 2018 20:48:49 -0400 Subject: phosphor-mapper: Add service namespaces The c++ mapper implements a dbus service namespace whitelist instead of a path namespace whitelist. A service namespace whitelist significantly reduces the amount of introspection required by the mapper as compared to path namespaces. Add the service namespace whitelist to the mapper command line in the mapper systemd unit and extend the existing framework for specifying mapper command line arguments to include a service namespace whitelist. Note that support for a _service_ blacklist is added and _path_ and _interface_ blacklists are not being re-introduced. (From meta-phosphor rev: 385c63fee1d7ac4f34165de7095f2e76b10f1328) Change-Id: I0cc8f7d7dd0c1196b2354118cf6ab89b2d30231f Signed-off-by: Brad Bishop --- meta-phosphor/classes/phosphor-mapperdir.bbclass | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-phosphor/classes/phosphor-mapperdir.bbclass') diff --git a/meta-phosphor/classes/phosphor-mapperdir.bbclass b/meta-phosphor/classes/phosphor-mapperdir.bbclass index 33962f257..ed686287a 100644 --- a/meta-phosphor/classes/phosphor-mapperdir.bbclass +++ b/meta-phosphor/classes/phosphor-mapperdir.bbclass @@ -1,2 +1,4 @@ namespace_dir="${datadir}/phosphor-mapper/namespace" +service_dir="${datadir}/phosphor-mapper/service" interface_dir="${datadir}/phosphor-mapper/interface" +serviceblacklist_dir="${datadir}/phosphor-mapper/serviceblacklist" -- cgit v1.2.3