4 Commits

Author SHA1 Message Date
Kelvin Zhang
03c030cd04 Revert "Skip loading kernel modules for 16K mode"
This reverts commit 959ba11426888cc5dfd054c04151fa69573c9eb5.

Reason for revert: aosp/3050544 breaks this CL

Change-Id: I9dcbcd3b8d6fb8f1e9c468cbca3ea7264bda264d
2024-04-25 00:49:19 +00:00
Kelvin Zhang
959ba11426 Skip loading kernel modules for 16K mode
For boot options, 16K kernel modules are all stored under vendor_boot.
So we can skip loading modules from vendor_dlkm/system_dlkm
if device is in 16K mode and boot option is enabled.

Bug: 293313353
Change-Id: I46c440a7ce67dfbd0cce83dadbd908dff144c583
2024-04-22 16:23:46 -07:00
Robin Peng
f938468e2e Allow insmod-sh to install kernel modules from system_dlkm
reference:
https://source.android.com/docs/core/architecture/partitions/gki-partitions#selinux

Bug: 267429528
Change-Id: I7a675c0f089452379d5675a353fbfd866cfd3edc
Signed-off-by: Robin Peng <robinpeng@google.com>
2023-03-16 00:25:07 +00:00
Adam Shih
8e524374dd move insert module script sepolicy to gs-common
Bug: 243763292
Test: boot to home with no relevant SELinux error
Change-Id: I6646fa4433fc1ccb94ac05f9cc8d7076a6a2d8cf
2022-09-06 10:39:35 +08:00