diff options
Diffstat (limited to 'vendor/github.com/projectatomic/buildah/selinux.go')
-rw-r--r-- | vendor/github.com/projectatomic/buildah/selinux.go | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vendor/github.com/projectatomic/buildah/selinux.go b/vendor/github.com/projectatomic/buildah/selinux.go new file mode 100644 index 000000000..2b850cf9f --- /dev/null +++ b/vendor/github.com/projectatomic/buildah/selinux.go @@ -0,0 +1,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) +} |