diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-06-19 10:41:49 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-06-19 15:09:09 +0000 |
commit | aa1ccfb094eba74c6523e6c2e10244aa4de06f7c (patch) | |
tree | 767732709562be2e98369e9b6a254935ce9522b5 /vendor/github.com/opencontainers/selinux/go-selinux/label | |
parent | 4ab054073dadf5257bdd0ff21e154b859e139f1e (diff) | |
download | podman-aa1ccfb094eba74c6523e6c2e10244aa4de06f7c.tar.gz podman-aa1ccfb094eba74c6523e6c2e10244aa4de06f7c.tar.bz2 podman-aa1ccfb094eba74c6523e6c2e10244aa4de06f7c.zip |
Vendor in latest go-selinux
This should fix the issue with iptables being denied execution on
container cleanup
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #966
Approved by: mheon
Diffstat (limited to 'vendor/github.com/opencontainers/selinux/go-selinux/label')
-rw-r--r-- | vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go | 3 |
1 files changed, 0 insertions, 3 deletions
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) } |