summaryrefslogtreecommitdiff
path: root/vendor/github.com/opencontainers/selinux/go-selinux/rchcon.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-04-08 10:42:44 -0400
committerGitHub <noreply@github.com>2022-04-08 10:42:44 -0400
commitcdbc33112ef6407db1292f0a40778e6ac1d8996e (patch)
tree071c7cc2744f62d007ee16419307932acb5e100a /vendor/github.com/opencontainers/selinux/go-selinux/rchcon.go
parent0c9c3e6714905fbb493e0b634e09b56ae096592e (diff)
parentdc17195bd9d1027b19c3e7f0975f17f4ebda408a (diff)
downloadpodman-cdbc33112ef6407db1292f0a40778e6ac1d8996e.tar.gz
podman-cdbc33112ef6407db1292f0a40778e6ac1d8996e.tar.bz2
podman-cdbc33112ef6407db1292f0a40778e6ac1d8996e.zip
Merge pull request #13687 from rhatdan/VENDOR
Vendor in new opencontainers/selinux
Diffstat (limited to 'vendor/github.com/opencontainers/selinux/go-selinux/rchcon.go')
-rw-r--r--vendor/github.com/opencontainers/selinux/go-selinux/rchcon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/opencontainers/selinux/go-selinux/rchcon.go b/vendor/github.com/opencontainers/selinux/go-selinux/rchcon.go
index 897ecbac4..feb739d32 100644
--- a/vendor/github.com/opencontainers/selinux/go-selinux/rchcon.go
+++ b/vendor/github.com/opencontainers/selinux/go-selinux/rchcon.go
@@ -12,7 +12,7 @@ import (
func rchcon(fpath, label string) error {
return pwalkdir.Walk(fpath, func(p string, _ fs.DirEntry, _ error) error {
- e := setFileLabel(p, label)
+ e := lSetFileLabel(p, label)
// Walk a file tree can race with removal, so ignore ENOENT.
if errors.Is(e, os.ErrNotExist) {
return nil