From 269d4721aabcdaa9c2f3bfe9b63724e9c64cce84 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Thu, 26 Nov 2020 16:31:36 +0100 Subject: [PATCH] msm8974-common: sepolicy: Camera rules for new root label Change-Id: Iae2171eaf2acb77acabba626b7bcf017725ab81a --- sepolicy/common/mm-qcamerad.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sepolicy/common/mm-qcamerad.te b/sepolicy/common/mm-qcamerad.te index c568df3..8bfbac5 100644 --- a/sepolicy/common/mm-qcamerad.te +++ b/sepolicy/common/mm-qcamerad.te @@ -1,7 +1,7 @@ -type_transition mm-qcamerad system_data_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_file:dir w_dir_perms; +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;