Add vendor hook for module init, so we can get memory type and use it to do memory type check for architecture dependent page table setting. To make sure the architecture dependent tables are created correctly, we need to know when module parts are initialized and their attributes. For releasing modules, corresponding tables and attributes should be destroyed and restored. These hooks may be invoked in non-atomic context, so it's necessary to use restricted ones. Bug: 248994334 Change-Id: Ie9f415c36bca1fb98e021522b627e562d27cdef4 Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com> |
||
---|---|---|
.. | ||
debug_kmemleak.c | ||
decompress.c | ||
gki_module.c | ||
internal.h | ||
kallsyms.c | ||
Kconfig | ||
kdb.c | ||
livepatch.c | ||
main.c | ||
Makefile | ||
procfs.c | ||
signing.c | ||
strict_rwx.c | ||
sysfs.c | ||
tracking.c | ||
tree_lookup.c | ||
version.c |