Ramji Jiyani
706d642b1d
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: e9669eeb2f45 ("ANDROID: GKI: Add module load time symbol protection")
Change-Id: Iab65e1425473e32baaad0d6c7f0d3eb007ae864f
Signed-off-by: Ramji Jiyani <ramjiyani@google.com >
(cherry picked from commit 8e00226a8fffa10b6383e448af785ce44451688e)
2022-12-01 00:22:47 +00:00
..
2022-11-28 16:08:50 +00:00
2022-11-30 00:28:11 +00:00
2021-05-07 00:26:34 -07:00
2022-05-25 09:57:37 +02:00
2022-10-05 11:59:55 +02:00
2022-09-20 12:39:42 +02:00
2022-11-28 16:08:50 +00:00
2022-10-26 12:35:56 +02:00
2022-09-21 17:30:12 +02:00
2021-09-02 13:00:15 -07:00
2022-10-26 12:34:30 +02:00
2022-09-24 14:14:08 +02:00
2022-11-15 12:48:44 +00:00
2022-07-13 11:40:42 +02:00
2022-11-02 08:51:19 +01:00
2022-11-30 00:28:11 +00:00
2022-09-21 17:30:12 +02:00
2022-11-28 16:08:50 +00:00
2022-04-27 15:34:29 +00:00
2021-09-08 11:50:26 -07:00
2022-02-23 12:03:07 +01:00
2022-08-31 17:16:33 +02:00
2021-08-24 18:52:36 -04:00
2022-02-08 18:34:03 +01:00
2022-04-08 14:23:06 +02:00
2021-03-22 15:23:32 -04:00
2022-04-08 14:23:06 +02:00
2022-11-30 00:28:11 +00:00
2022-11-14 22:32:51 +00:00
2021-09-08 15:32:35 -07:00
2021-08-16 18:55:32 +02:00
2022-06-14 11:49:05 +02:00
2021-12-29 12:28:49 +01:00
2022-02-23 12:30:26 +01:00
2021-05-12 11:43:25 +02:00
2022-11-30 00:28:11 +00:00
2022-11-30 00:28:11 +00:00
2022-02-10 09:29:57 +00:00
2021-09-16 09:51:19 +02:00
2022-07-14 22:20:19 +00:00
2022-12-01 00:22:47 +00:00
2022-02-10 09:29:34 +00:00
2021-06-13 15:19:53 +02:00
2021-07-05 10:46:20 +02:00
2021-07-08 11:48:22 -07:00
2021-08-17 17:50:51 +02:00
2021-06-28 22:43:05 +02:00
2021-08-30 16:36:10 +02:00
2022-07-21 21:24:29 +02:00
2021-09-08 15:32:34 -07:00
2021-05-07 00:26:33 -07:00
2022-11-26 09:24:50 +01:00
2021-07-12 10:02:27 +01:00
2022-11-14 22:32:51 +00:00
2022-09-30 17:41:39 +00:00
2022-09-30 17:41:39 +00:00
2021-08-16 18:55:32 +02:00
2021-09-03 09:58:12 -07:00
2021-08-27 16:30:18 +08:00
2021-08-30 16:36:10 +02:00
2021-08-16 14:42:22 +02:00
2021-09-03 09:58:12 -07:00
2021-09-02 09:42:36 +02:00
2022-08-17 14:24:04 +02:00
2022-06-09 10:22:29 +02:00
2021-09-28 08:49:54 -07:00
2022-04-08 14:23:43 +02:00
2022-04-08 14:23:10 +02:00
2022-06-09 10:22:46 +02:00
2022-03-21 15:31:19 +00:00
2022-02-16 12:56:38 +01:00
2022-07-22 17:43:50 +02:00
2022-08-17 14:24:24 +02:00
2021-08-10 14:57:42 +02:00
2021-11-11 18:55:19 +00:00
2022-02-23 12:03:07 +01:00
2022-04-24 16:57:32 +02:00
2022-04-13 20:59:28 +02:00
2022-04-13 20:59:28 +02:00
2021-11-09 00:42:10 +00:00
2022-08-31 17:16:33 +02:00
2022-08-10 08:58:11 +01:00
2021-06-23 16:41:24 -06:00
2022-08-02 08:37:15 +02:00
2021-04-30 11:20:42 -07:00
2021-08-10 10:48:07 -07:00
2021-09-14 16:16:54 +02:00
2022-01-27 11:05:35 +01:00
2022-02-23 12:03:20 +01:00
2022-07-19 03:54:51 +00:00
2021-05-09 13:07:03 -07:00
2022-03-08 19:12:42 +01:00
2021-09-08 11:50:27 -07:00
2021-07-03 11:41:14 -07:00
2022-08-03 12:03:43 +02:00
2022-09-24 10:01:09 +02:00
2021-08-17 07:49:10 -10:00
2022-09-28 13:32:32 +02:00