selinux/policycoreutils/setfiles
Petr Lautrbach d59932a7ce policycoreutils: Resolve path in restorecon_xattr
Resolve pathname before selinux_restorecon_xattr() to prevent problems
with 'No Match' when relative path is used.

Fixes:
    # restorecon_xattr -v tmp
    ...
    tmp Digest: f9cd2da7141068bd2c08bc02fa471db63ac7d44c No Match

    # restorecon_xattr -v `pwd`/tmp
    ...
    /root/tmp Digest: f9cd2da7141068bd2c08bc02fa471db63ac7d44c Match

Signed-off-by: Petr Lautrbach <plautrba@redhat.com>
2021-02-24 10:56:57 +01:00
..
ru setfiles: drop ABORT_ON_ERRORS and related code 2021-02-01 15:02:42 +01:00
.gitignore setfiles: Fix setfiles progress indicator 2017-01-27 09:39:22 -05:00
Makefile setfiles: drop ABORT_ON_ERRORS and related code 2021-02-01 15:02:42 +01:00
restore.c setfiles: Add -E option to treat conflicting specifications as errors. 2020-04-14 18:22:25 +02:00
restore.h setfiles: Add -E option to treat conflicting specifications as errors. 2020-04-14 18:22:25 +02:00
restorecon_xattr.8 setfiles: Update utilities for the new digest scheme 2019-07-27 10:39:24 +02:00
restorecon_xattr.c policycoreutils: Resolve path in restorecon_xattr 2021-02-24 10:56:57 +01:00
restorecon.8 setfiles: clarify documented path resolution behaviour 2020-06-25 13:29:08 -04:00
setfiles.8 setfiles: drop ABORT_ON_ERRORS and related code 2021-02-01 15:02:42 +01:00
setfiles.c policycoreutils/setfiles: Drop unused nerr variable 2021-02-03 09:29:28 +01:00