diff options
author | baude <bbaude@redhat.com> | 2018-07-02 10:25:18 -0500 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-07-02 20:39:16 +0000 |
commit | 767b3ddc433fd57f461fa9866e3e4d47399a6519 (patch) | |
tree | 9a6678f3b1fc5be90946e478ee4df1098026a8ba /vendor/github.com/opencontainers/selinux/go-selinux/label | |
parent | d357703e061258a57854df1880e23775dbe717ef (diff) | |
download | podman-767b3ddc433fd57f461fa9866e3e4d47399a6519.tar.gz podman-767b3ddc433fd57f461fa9866e3e4d47399a6519.tar.bz2 podman-767b3ddc433fd57f461fa9866e3e4d47399a6519.zip |
vendor in selinux and buildah for darwin compilation
Signed-off-by: baude <bbaude@redhat.com>
Closes: #1037
Approved by: baude
Diffstat (limited to 'vendor/github.com/opencontainers/selinux/go-selinux/label')
-rw-r--r-- | vendor/github.com/opencontainers/selinux/go-selinux/label/label_selinux.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |