Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c668d562 authored by Alex Buynytskyy's avatar Alex Buynytskyy
Browse files

Resume in-progress operation after reboot.

Current code checks if we need full restorecon if the parent folder needs the restorecon. Unfortunately, the way it's implemented, it sets the folders' attributes first, and there is no way to know if we finished the process.

This marks the folder with 'user.restorecon_in_progress' xattr while we are restoring selinux context.
If for any reason the process is not completed, we'll redo it next time we enter this method - typically after reboot, on user unlock.

Bug: 308541523
Test: presubmit
Change-Id: I221734b0fe0c90e5d39f358efafa69b8cf0430d7
parent 67d71c05
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment