From aa1ccfb094eba74c6523e6c2e10244aa4de06f7c Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Tue, 19 Jun 2018 10:41:49 -0400 Subject: Vendor in latest go-selinux This should fix the issue with iptables being denied execution on container cleanup Signed-off-by: Daniel J Walsh Closes: #966 Approved by: mheon --- .../opencontainers/selinux/go-selinux/label/label_selinux.go | 3 --- 1 file changed, 3 deletions(-) (limited to 'vendor/github.com/opencontainers/selinux/go-selinux/label') diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go b/vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go index c008a387b..f7b238529 100644 --- a/vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go +++ b/vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go @@ -87,9 +87,6 @@ func FormatMountLabel(src, mountLabel string) string { // SetProcessLabel takes a process label and tells the kernel to assign the // label to the next program executed by the current process. func SetProcessLabel(processLabel string) error { - if processLabel == "" { - return nil - } return selinux.SetExecLabel(processLabel) } -- cgit v1.2.3-54-g00ecf