android_kernel_samsung_sm8650/kernel/module
Ramji Jiyani 8e00226a8f ANDROID: GKI: Handle no ABI symbol list for modules
ACKs with no ABI symbol lists like mainline,
don't let any unsigned modules load as every
access is being treated as violation as
NO_OF_UNPROTECTED_SYMBOLS will be 0 in this case.

Check NO_OF_UNPROTECTED_SYMBOLS and if it's 0,
allow every symbol access by unsigned modules;
so we can keep the feature enable and also not
break any devices. It should never be 0 with
kernel branches where KMI_SYMBOL_LISTS  have been
enabled.

Bug: 257458145
Bug: 232430739
Test: TH
Fixes: e9669eeb2f ("ANDROID: GKI: Add module load time symbol protection")
Change-Id: Iab65e1425473e32baaad0d6c7f0d3eb007ae864f
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
2022-11-04 20:38:19 +00:00
..
debug_kmemleak.c
decompress.c module/decompress: generate sysfs string at compile time 2022-09-08 17:00:43 -07:00
gki_module.c ANDROID: GKI: Handle no ABI symbol list for modules 2022-11-04 20:38:19 +00:00
internal.h ANDROID: GKI: Add module load time symbol protection 2022-10-21 02:21:06 +00:00
kallsyms.c module: Increase readability of module_kallsyms_lookup_name() 2022-07-11 10:49:14 -07:00
Kconfig Merge e74acdf55d ("Merge tag 'modules-6.0-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux") into android-mainline 2022-08-25 12:15:17 +02:00
kdb.c
livepatch.c
main.c ANDROID: module: Add vendor hooks 2022-11-01 19:40:22 +00:00
Makefile ANDROID: GKI: Add module load time symbol protection 2022-10-21 02:21:06 +00:00
procfs.c module: Modify module_flags() to accept show_state argument 2022-07-14 17:40:23 -07:00
signing.c ANDROID: GKI: Add module load time symbol protection 2022-10-21 02:21:06 +00:00
strict_rwx.c
sysfs.c
tracking.c module: tracking: Keep a record of tainted unloaded modules only 2022-10-10 12:16:19 -07:00
tree_lookup.c
version.c Modules updates for v5.19-rc1 2022-05-26 17:13:43 -07:00