mirror of
https://github.com/containers/podman.git
synced 2025-07-31 20:32:39 +08:00
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
This commit is contained in:

committed by
Atomic Bot

parent
4ab054073d
commit
aa1ccfb094
3
vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go
generated
vendored
3
vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go
generated
vendored
@ -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)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user