Commit Graph

2 Commits

Author SHA1 Message Date
Ramji Jiyani
16c63232db ANDROID: GKI: Update GKI modules protected exports
Update protected export symbols list with exports
from list of protected modules at
android/gki_protected_modules.

It includes symbols from every GKI modules except
zram & zsmalloc; and serves as a baseline.

Bug: 232430739
Test: TH
Change-Id: Iec33dfe093b4e9e0281b910b2b3bf998cef55394
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
2022-12-19 16:16:00 +00:00
Ramji Jiyani
fd1e768866 ANDROID: GKI: Protect exports of protected GKI modules
Implement support for protecting the exported symbols of
protected GKI modules.

Only signed GKI modules are permitted to export symbols
listed in the android/abi_gki_protected_exports file.
Attempting to export these symbols from an unsigned module
will result in the module failing to load, with a
'Permission denied' error message.

Bug: 232430739
Test: TH
Change-Id: I3e8b330938e116bb2e022d356ac0d55108a84a01
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
2022-12-16 16:44:54 +00:00