Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

selinux: don't use lsetxattr on /proc/self/fd/%d and bump selinux to v1.10.1 #3889

Closed
wants to merge 2 commits into from

Commits on Apr 1, 2022

  1. 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]
    
    Signed-off-by: Aditya R <arajan@redhat.com>
    flouthoc committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    f682ad8 View commit details
    Browse the repository at this point in the history
  2. vendor: bump selinux to v1.10.1

    [NO NEW TESTS NEEDED]
    
    Signed-off-by: Aditya R <arajan@redhat.com>
    flouthoc committed Apr 1, 2022
    Configuration menu
    Copy the full SHA
    552a4c6 View commit details
    Browse the repository at this point in the history