summaryrefslogtreecommitdiff
path: root/libs/binder/Parcel.cpp
diff options
context:
space:
mode:
author Alex Buynytskyy <alexbuy@google.com> 2023-11-10 22:53:46 +0000
committer Alex Buynytskyy <alexbuy@google.com> 2023-11-14 18:39:21 +0000
commitc668d5624773ca37c366f05c64e86f8076a8aace (patch)
tree324ebd8d0cfb065426b6f9ee42426cff8ffb41c7 /libs/binder/Parcel.cpp
parent67d71c05524f7df2b2faf0ce4fee26d35749ecac (diff)
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
Diffstat (limited to 'libs/binder/Parcel.cpp')
0 files changed, 0 insertions, 0 deletions