Put a bare unix rule in the core gendbusprofile() function that all
dbus_*.sh use. We aren't interested in testing AF_UNIX mediation in the
dbus tests, since that's already done elsewhere, so we'll
unconditionally allow full AF_UNIX access to prevent test breakage
caused by any future changes in libdbus.

Signed-off-by: Tyler Hicks <[email protected]>
---
 tests/regression/apparmor/dbus.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/regression/apparmor/dbus.inc 
b/tests/regression/apparmor/dbus.inc
index 539d128..038ccf2 100755
--- a/tests/regression/apparmor/dbus.inc
+++ b/tests/regression/apparmor/dbus.inc
@@ -13,6 +13,7 @@ gendbusprofile()
 ${__dbus_var_decl}
 $test {
   @{gen $test}
+  unix,
   $@
   signal receive peer=unconfined,
 }
-- 
2.1.0


-- 
AppArmor mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/apparmor

Reply via email to