From 2bea09d81259099d93f99ced96731b4169ab59f6 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 11 Dec 2020 11:29:03 +0000 Subject: [PATCH] msm8974-common: sepolicy: Deduplicate camera rule No longer needed to keep it locally, since it has been recently added globally. Change-Id: Ia41e85d74da0937fddb4fe34d5b0bf15555d0ea1 --- sepolicy/common/mm-qcamerad.te | 3 --- 1 file changed, 3 deletions(-) diff --git a/sepolicy/common/mm-qcamerad.te b/sepolicy/common/mm-qcamerad.te index 8bfbac5..c6d0d90 100644 --- a/sepolicy/common/mm-qcamerad.te +++ b/sepolicy/common/mm-qcamerad.te @@ -1,8 +1,5 @@ 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:file rw_file_perms; allow mm-qcamerad vendor_file:file execmod;