7d4a56f84d
We used to hash the file_context and skip the restorecon on the top level directory if the hash doesn't change. But the file_context might change after an OTA update; and some users experienced long restorecon time as they have lots of files under directories like /data/media. This CL tries to hash all the partial match entries in the file_context for each directory; and skips the restorecon if that digest stays the same, regardless of the changes to the other parts of file_context. Bug: 62302954 Test: visited directory skips correctly during restorecon. Change-Id: Ia0668629a260b9b7a049bb68f6a8cc901c6cc46b |
||
---|---|---|
.. | ||
include | ||
man | ||
src | ||
utils | ||
Android.bp | ||
exported.map | ||
exported_vendor.map | ||
LICENSE | ||
Makefile | ||
MODULE_LICENSE_PUBLIC_DOMAIN | ||
VERSION |