summaryrefslogtreecommitdiff
path: root/vendor/github.com/projectatomic/buildah/selinux.go
blob: 2b850cf9f72408fa225e685f0a359a354967f884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// +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)
}