From b1dfbc5f60fc313f2cc6e16723ab27119924c444 Mon Sep 17 00:00:00 2001 From: Jimmy Lai Date: Sat, 18 Jan 2020 10:20:28 +0800 Subject: [PATCH] [ALPS04763260] Fix Permission add sysfs_device_tree_model sepolicy /firmware/devicetree/base/model MTK-Commit-Id: 1b81ac4c2d260969ee02b1ffa81cf0bdfb99d019 Change-Id: I9c9bc011ec7f35a264af3bee6340991e9c2a2bec CR-Id: ALPS04763260 Feature: [Module]Video Driver --- non_plat/file.te | 5 +++++ non_plat/genfs_contexts | 3 +++ 2 files changed, 8 insertions(+) diff --git a/non_plat/file.te b/non_plat/file.te index 8750284..c020e1a 100644 --- a/non_plat/file.te +++ b/non_plat/file.te @@ -404,3 +404,8 @@ type proc_ca_drv, fs_type, proc_type; type sysfs_ged, fs_type, sysfs_type; type sysfs_fbt_cpu, fs_type, sysfs_type; type sysfs_fbt_fteh, fs_type, sysfs_type; + +# Date : WK19.38 +# Purpose: Android Migration for video codec driver +type sysfs_device_tree_model, fs_type, sysfs_type; + diff --git a/non_plat/genfs_contexts b/non_plat/genfs_contexts index d47ba96..614b98c 100644 --- a/non_plat/genfs_contexts +++ b/non_plat/genfs_contexts @@ -242,3 +242,6 @@ genfscon sysfs /module/ged u:object_r:sysfs_ged:s0 genfscon sysfs /module/fbt_cpu u:object_r:sysfs_fbt_cpu:s0 genfscon sysfs /module/fbt_fteh u:object_r:sysfs_fbt_fteh:s0 +# Date : WK19.38 +# Purpose: Android Migration for video codec driver +genfscon sysfs /firmware/devicetree/base/model u:object_r:sysfs_device_tree_model:s0