buildah/selinux.go

13 lines
258 B
Go

// +build selinux,linux
package buildah
import (
"github.com/opencontainers/runtime-tools/generate"
)
func setupSelinux(g *generate.Generator, processLabel, mountLabel string) {
g.SetProcessSelinuxLabel(processLabel)
g.SetLinuxMountLabel(mountLabel)
}