diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-10-07 12:28:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-07 12:28:55 +0000 |
commit | da8e4cdeb440f0aa0cfb3d0a6eb2e88b89ddb4cb (patch) | |
tree | 643ebf150d8feefd72543f260ffbbb6daeb7b62d /vendor/github.com/opencontainers/selinux/go-selinux/label | |
parent | bfb904bb23c53773a4414ccf4b1f66cf05d9ee80 (diff) | |
download | podman-da8e4cdeb440f0aa0cfb3d0a6eb2e88b89ddb4cb.tar.gz podman-da8e4cdeb440f0aa0cfb3d0a6eb2e88b89ddb4cb.tar.bz2 podman-da8e4cdeb440f0aa0cfb3d0a6eb2e88b89ddb4cb.zip |
Bump github.com/opencontainers/selinux from 1.8.5 to 1.9.1
Bumps [github.com/opencontainers/selinux](https://github.com/opencontainers/selinux) from 1.8.5 to 1.9.1.
- [Release notes](https://github.com/opencontainers/selinux/releases)
- [Commits](https://github.com/opencontainers/selinux/compare/v1.8.5...v1.9.1)
---
updated-dependencies:
- dependency-name: github.com/opencontainers/selinux
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/github.com/opencontainers/selinux/go-selinux/label')
-rw-r--r-- | vendor/github.com/opencontainers/selinux/go-selinux/label/label_linux.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/label/label_linux.go b/vendor/github.com/opencontainers/selinux/go-selinux/label/label_linux.go index 14e1e38c2..12de0ae5d 100644 --- a/vendor/github.com/opencontainers/selinux/go-selinux/label/label_linux.go +++ b/vendor/github.com/opencontainers/selinux/go-selinux/label/label_linux.go @@ -103,9 +103,11 @@ func SetFileCreateLabel(fileLabel string) error { return selinux.SetFSCreateLabel(fileLabel) } -// Relabel changes the label of path to the filelabel string. +// Relabel changes the label of path and all the entries beneath the path. // It changes the MCS label to s0 if shared is true. // This will allow all containers to share the content. +// +// The path itself is guaranteed to be relabeled last. func Relabel(path string, fileLabel string, shared bool) error { if !selinux.GetEnabled() || fileLabel == "" { return nil |