msm8974-common: sepolicy: Deduplicate camera rule

No longer needed to keep it locally, since it has been recently
added globally.

Change-Id: Ia41e85d74da0937fddb4fe34d5b0bf15555d0ea1
This commit is contained in:
Bruno Martins 2020-12-11 11:29:03 +00:00 committed by Kevin F. Haggerty
parent 269d4721aa
commit 2bea09d812
No known key found for this signature in database
GPG key ID: 6D95512933112729

View file

@ -1,8 +1,5 @@
type_transition mm-qcamerad system_data_root_file:sock_file camera_socket "cam_socket3"; type_transition mm-qcamerad system_data_root_file:sock_file camera_socket "cam_socket3";
# Allow mm-qcamera-daemon to create the socket camera_socket
allow mm-qcamerad system_data_root_file:dir w_dir_perms;
allow mm-qcamerad sysfs_camera:dir search; allow mm-qcamerad sysfs_camera:dir search;
allow mm-qcamerad sysfs_camera:file rw_file_perms; allow mm-qcamerad sysfs_camera:file rw_file_perms;
allow mm-qcamerad vendor_file:file execmod; allow mm-qcamerad vendor_file:file execmod;