This repository has been archived on 2025-09-03. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
device_motorola_msm8953-common/sepolicy/vendor/mm-qcamerad.te

22 lines
944 B
Plaintext

typeattribute mm-qcamerad data_between_core_and_vendor_violators;
allow mm-qcamerad camera_prop:property_service set;
allow mm-qcamerad init:unix_stream_socket connectto;
allow mm-qcamerad persist_file:dir { getattr open read search };
allow mm-qcamerad persist_file:file { read open getattr };
allow mm-qcamerad property_socket:sock_file write;
allow mm-qcamerad mnt_vendor_file:file rw_file_perms;
allow mm-qcamerad laser_device:chr_file { ioctl open read write };
# TODO(b/36599434): Remove this once mm-qcamerad stops using Binder services
typeattribute mm-qcamerad binder_in_vendor_violators;
allow mm-qcamerad binder_device:chr_file { read write };
allow mm-qcamerad fwk_sensor_hwservice:hwservice_manager find;
allow mm-qcamerad camera_data_file:dir search;
allow mm-qcamerad vendor_data_file:dir r_dir_perms;
allow mm-qcamerad vendor_data_file:file rw_file_perms;
vndbinder_use(mm-qcamerad);
get_prop(mm-qcamerad, moto_boot_prop);