diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-29 05:47:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 05:47:02 -0700 |
commit | 9b789359f17f22bdd2ed49087c23eebf39f338f3 (patch) | |
tree | 4ccdf7b1acd720ea0b0c4c92804afd63d9bd5b1f /libpod/util_unsupported.go | |
parent | 376a89c7a417e90bc667e11f7264e4a7ea950bfe (diff) | |
parent | 0d0ad59641a308450d694d4c2fb95303c64fabf8 (diff) | |
download | podman-9b789359f17f22bdd2ed49087c23eebf39f338f3.tar.gz podman-9b789359f17f22bdd2ed49087c23eebf39f338f3.tar.bz2 podman-9b789359f17f22bdd2ed49087c23eebf39f338f3.zip |
Merge pull request #2575 from haircommander/hotfix_play_kube
Default to SELinux private label for play kube mounts
Diffstat (limited to 'libpod/util_unsupported.go')
-rw-r--r-- | libpod/util_unsupported.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libpod/util_unsupported.go b/libpod/util_unsupported.go index d598b465f..940006e69 100644 --- a/libpod/util_unsupported.go +++ b/libpod/util_unsupported.go @@ -21,3 +21,9 @@ func deleteSystemdCgroup(path string) error { func assembleSystemdCgroupName(baseSlice, newSlice string) (string, error) { return "", errors.Wrapf(ErrOSNotSupported, "cgroups are not supported on non-linux OSes") } + +// LabelVolumePath takes a mount path for a volume and gives it an +// selinux label of either shared or not +func LabelVolumePath(path string, shared bool) error { + return ErrNotImplemented +} |