Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libsemanage: Set new restorecon handle before doing restorecon
In semanage_setfiles(), need to reset the restorecon handle to make sure restorecon is not operating on old selabel data. This fixes commit d96f27b ("libsemanage: Preserve file context and ownership in policy store") which could cause restorecon to use old data. Reported-by: Petr Lautrbach <lautrbach@redhat.com> Signed-off-by: James Carter <jwcart2@gmail.com> Acked-by: Petr Lautrbach <lautrbach@redhat.com>
- Loading branch information