summaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-10-07 16:14:30 +0200
committerGitHub <noreply@github.com>2021-10-07 16:14:30 +0200
commit14c0fcc6b7b3e8c1f28efea329ab9a6bf0d99b70 (patch)
tree9b18f1ece8c7f68ff8d68a7cd3a5d68931dbcc3e /vendor/github.com/opencontainers/selinux/go-selinux/selinux.go
parent703db8e9a884966f5b297f9450735ee4263dd072 (diff)
parentda8e4cdeb440f0aa0cfb3d0a6eb2e88b89ddb4cb (diff)
downloadpodman-14c0fcc6b7b3e8c1f28efea329ab9a6bf0d99b70.tar.gz
podman-14c0fcc6b7b3e8c1f28efea329ab9a6bf0d99b70.tar.bz2
podman-14c0fcc6b7b3e8c1f28efea329ab9a6bf0d99b70.zip
Merge pull request #11884 from containers/dependabot/go_modules/github.com/opencontainers/selinux-1.9.1
Bump github.com/opencontainers/selinux from 1.8.5 to 1.9.1
Diffstat (limited to 'vendor/github.com/opencontainers/selinux/go-selinux/selinux.go')
-rw-r--r--vendor/github.com/opencontainers/selinux/go-selinux/selinux.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go b/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go
index 0eedcaa78..cad467507 100644
--- a/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go
+++ b/vendor/github.com/opencontainers/selinux/go-selinux/selinux.go
@@ -255,6 +255,8 @@ func CopyLevel(src, dest string) (string, error) {
// Chcon changes the fpath file object to the SELinux label label.
// If fpath is a directory and recurse is true, then Chcon walks the
// directory tree setting the label.
+//
+// The fpath itself is guaranteed to be relabeled last.
func Chcon(fpath string, label string, recurse bool) error {
return chcon(fpath, label, recurse)
}