Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selinux: don't use lsetxattr on /proc/self/fd/%d
lsetxattr always fails with ENOTSUP when it tries to relabel /proc/self/fd/%d but in this case we are acutally intrested on the actual file pointed by the `/proc/self/fd/%d` not in the `symlink` so use `Chcon` instead of `Relabel` since `Relabel` was configured here opencontainers/selinux#173 to use `lsetxattr` instead of `setxattr`. [ NO NEW TESTS NEEDED ] [ NO TEST NEEDED ] Signed-off-by: Aditya R <arajan@redhat.com>
- Loading branch information