miuicamera: Address {camerapostproc_xiaomi,misys} denials

Change-Id: I6827573ecbe7958110dcb77793e23a8b3def6f80
This commit is contained in:
basamaryan 2024-04-22 21:00:20 +02:00
parent c33a6e6115
commit bbe55d54c6
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9
2 changed files with 7 additions and 0 deletions

2
sepolicy/vendor/hwservice_contexts vendored Normal file
View File

@ -0,0 +1,2 @@
vendor.xiaomi.hardware.campostproc::IMiPostProcService u:object_r:hal_camerapostproc_xiaomi_hwservice:s0
vendor.xiaomi.hardware.misys::IMiSys u:object_r:hal_misys_hwservice:s0

5
sepolicy/vendor/platform_app.te vendored Normal file
View File

@ -0,0 +1,5 @@
type hal_camerapostproc_xiaomi_hwservice, hwservice_manager_type;
type hal_misys_hwservice, hwservice_manager_type;
allow platform_app hal_camerapostproc_xiaomi_hwservice:hwservice_manager find;
allow platform_app hal_misys_hwservice:hwservice_manager find;