summaryrefslogtreecommitdiff
path: root/pkg/apparmor/apparmor_unsupported.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/apparmor/apparmor_unsupported.go')
-rw-r--r--pkg/apparmor/apparmor_unsupported.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkg/apparmor/apparmor_unsupported.go b/pkg/apparmor/apparmor_unsupported.go
index b2b4de5f5..13469f1b6 100644
--- a/pkg/apparmor/apparmor_unsupported.go
+++ b/pkg/apparmor/apparmor_unsupported.go
@@ -24,3 +24,8 @@ func CheckProfileAndLoadDefault(name string) (string, error) {
}
return "", ErrApparmorUnsupported
}
+
+// DefaultContent dummy.
+func DefaultContent(name string) ([]byte, error) {
+ return nil, nil
+}