a85558ea52
This makes sure that the remaining binder services for radio end up in plat_service_contexts. That in turn allows us to enforce that servicemanager will only serve services from plat_service_contexts on FULL_TREBLE devices. Bug: 36866029 Test: boot, verify radio services still work Change-Id: Ib67b3a03e5599484c5c4fb27a0f323a37dd51636 Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
9 lines
554 B
Text
9 lines
554 B
Text
typeattribute mm-qcamerad binder_in_vendor_violators;
|
|
type_transition mm-qcamerad camera_data_file:sock_file camera_socket "cam_socket1";
|
|
type_transition mm-qcamerad camera_data_file:sock_file camera_socket "cam_socket2";
|
|
allow mm-qcamerad { sysfs sysfs_graphics }:file r_file_perms;
|
|
allow mm-qcamerad camera_socket:sock_file { create unlink };
|
|
allow mm-qcamerad binder_device:chr_file rw_file_perms;
|
|
allow mm-qcamerad sensorservice_service:service_manager find;
|
|
allow mm-qcamerad system_server:unix_stream_socket { read write };
|
|
binder_use(mm-qcamerad)
|