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 <[email protected]> Signed-off-by: James Carter <[email protected]> Acked-by: Petr Lautrbach <[email protected]>
- Loading branch information