[Bug] Change the sepolicy name for exo_camera_injection
- Change the sepolicy name from platfrom_app to exo_app. - Selinux avc log: E/SELinux: avc: denied { find } for interface=vendor.google.exo_camera_injection::IExoCameraInjection sid=u:r:exo_app:s0:c248,c256,c512,c768 pid=11479 scontext=u:r:exo_app:s0:c248,c256,c512,c768 tcontext=u:object_r:hal_exo_camera_injection_hwservice:s0 tclass=hwservice_manager permissive=0 Bug: 184736718 Test: Verified exo_camera_injection provider service use cases function as expected; no denials. Change-Id: I08887b8b6020cb7b3fb3da77cea9a1f453655bea
This commit is contained in:
parent
dce254b11d
commit
c0b806fd2d
2 changed files with 3 additions and 3 deletions
3
whitechapel/vendor/google/exo_camera_injection/exo_app.te
vendored
Normal file
3
whitechapel/vendor/google/exo_camera_injection/exo_app.te
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Allow exo app to find and bind exo camera injection hal.
|
||||
allow exo_app hal_exo_camera_injection_hwservice:hwservice_manager find;
|
||||
binder_call(exo_app, hal_exo_camera_injection)
|
|
@ -1,3 +0,0 @@
|
|||
# Allow exo app to find and bind exo camera injection hal.
|
||||
allow platform_app hal_exo_camera_injection_hwservice:hwservice_manager find;
|
||||
binder_call(platform_app, hal_exo_camera_injection)
|
Loading…
Add table
Add a link
Reference in a new issue