From e2a856c77513e0b61355403c05550fa05d8dbace Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Mon, 10 Apr 2017 23:00:29 +0200 Subject: [PATCH] interfaces/builtin: fold network-bind into core-support Signed-off-by: Zygmunt Krynicki --- interfaces/builtin/core_support.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/interfaces/builtin/core_support.go b/interfaces/builtin/core_support.go index 7e28fab4dc1..c5d88321c59 100644 --- a/interfaces/builtin/core_support.go +++ b/interfaces/builtin/core_support.go @@ -79,7 +79,9 @@ owner /boot/uboot/config.txt.tmp rwk, func NewCoreSupportInterface() interfaces.Interface { return &commonInterface{ name: "core-support", - connectedPlugAppArmor: coreSupportConnectedPlugAppArmor, + // NOTE: cure-support implicitly contains the rules from network-bind. + connectedPlugAppArmor: coreSupportConnectedPlugAppArmor + networkBindConnectedPlugAppArmor, + connectedPlugSecComp: "" + networkBindConnectedPlugSecComp, reservedForOS: true, } }