From ac94a96a74e63854ab492e35c6c5c26145a6674a Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 14 Apr 2020 16:44:37 -0400 Subject: Fix up SELinux labeling SELinux label options processing fixes, should allow system tests to pass. Signed-off-by: Daniel J Walsh --- libpod/runtime.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libpod') diff --git a/libpod/runtime.go b/libpod/runtime.go index a6032ad23..637f3b43f 100644 --- a/libpod/runtime.go +++ b/libpod/runtime.go @@ -813,3 +813,7 @@ func (r *Runtime) mergeDBConfig(dbConfig *DBConfig) error { } return nil } + +func (r *Runtime) EnableLabeling() bool { + return r.config.Containers.EnableLabeling +} -- cgit v1.2.3-54-g00ecf