android_device_lenovo_msm89.../sepolicy/vendor/mm-qcamerad.te
Isaac Chen d5fe8be114 msm8937-common: sepolicy: Address more denials
* Also arrange sepolicies
2018-07-09 00:00:47 +08:00

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)