ANDROID: module: Add vendor hooks
Add vendor hook for module init, so we can get memory type and addr info, then we can use this info to set corresponding memory access atrribute in EL2 stage2 page table. We can get enhanced security protection by this way, as long as the stage2 page table is not corrupted. For releasing modules, corresponding page table attributes should be destroyed and restored. Bug: 441537639 Change-Id: Ieccb3bdd1041dfe41a9c808a91cc19f04389e826 Signed-off-by:Fei <xuefei7@xiaomi.com> (cherry picked from commit 6bc6743e)
Loading
Please sign in to comment