mirror of
https://github.com/containers/podman.git
synced 2025-09-26 16:25:00 +08:00
Vendor in containers/buildah 1.16.1
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
4
vendor/github.com/containers/buildah/selinux.go
generated
vendored
4
vendor/github.com/containers/buildah/selinux.go
generated
vendored
@ -7,6 +7,10 @@ import (
|
||||
selinux "github.com/opencontainers/selinux/go-selinux"
|
||||
)
|
||||
|
||||
func selinuxGetEnabled() bool {
|
||||
return selinux.GetEnabled()
|
||||
}
|
||||
|
||||
func setupSelinux(g *generate.Generator, processLabel, mountLabel string) {
|
||||
if processLabel != "" && selinux.GetEnabled() {
|
||||
g.SetProcessSelinuxLabel(processLabel)
|
||||
|
Reference in New Issue
Block a user