From 767b3ddc433fd57f461fa9866e3e4d47399a6519 Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 2 Jul 2018 10:25:18 -0500 Subject: vendor in selinux and buildah for darwin compilation Signed-off-by: baude Closes: #1037 Approved by: baude --- .../github.com/opencontainers/selinux/go-selinux/label/label_selinux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vendor/github.com/opencontainers/selinux/go-selinux/label') diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go b/vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go index f7b238529..f0a055b87 100644 --- a/vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go +++ b/vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go @@ -130,7 +130,7 @@ func Relabel(path string, fileLabel string, shared bool) error { return nil } - exclude_paths := map[string]bool{"/": true, "/usr": true, "/etc": true} + exclude_paths := map[string]bool{"/": true, "/usr": true, "/etc": true, "/tmp": true, "/home": true, "/run": true, "/var": true, "/root": true} if exclude_paths[path] { return fmt.Errorf("SELinux relabeling of %s is not allowed", path) } -- cgit v1.2.3-54-g00ecf