Add SEPolicy for vendor_camera_binder_service
Bug: 287069860 Test: lunch <device-type>-userdebug && m Change-Id: Id993e137ebc041e583b4f6c5f6e1ab6e8cdae7b2
This commit is contained in:
parent
6b44778e00
commit
fb20bc80c4
3
camera/sepolicy/hal_camera_default.te
Normal file
3
camera/sepolicy/hal_camera_default.te
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
allow hal_camera_default vendor_camera_binder_service:service_manager find;
|
||||||
|
|
||||||
|
binder_call(hal_camera_default, vendor_pbcs_app);
|
1
camera/sepolicy/service.te
Normal file
1
camera/sepolicy/service.te
Normal file
@ -0,0 +1 @@
|
|||||||
|
type vendor_camera_binder_service, hal_service_type, protected_service, service_manager_type;
|
1
camera/sepolicy/service_contexts
Normal file
1
camera/sepolicy/service_contexts
Normal file
@ -0,0 +1 @@
|
|||||||
|
com.google.pixel.camera.services.binder.IServiceBinder/default u:object_r:vendor_camera_binder_service:s0
|
@ -5,3 +5,7 @@ app_domain(vendor_pbcs_app);
|
|||||||
allow vendor_pbcs_app system_app_data_file:dir search;
|
allow vendor_pbcs_app system_app_data_file:dir search;
|
||||||
|
|
||||||
allow vendor_pbcs_app app_api_service:service_manager find;
|
allow vendor_pbcs_app app_api_service:service_manager find;
|
||||||
|
|
||||||
|
allow vendor_pbcs_app vendor_camera_binder_service:service_manager add;
|
||||||
|
|
||||||
|
binder_call(vendor_pbcs_app, hal_camera_default);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user