From 54b1880fd11d4f4b563f3f44db41c438f035ed73 Mon Sep 17 00:00:00 2001 From: Shanshan Guo Date: Sat, 18 Jan 2020 10:14:07 +0800 Subject: [PATCH] [ALPS04475279] Sepolicy:move type sysfs_mmcblk [Detail] sysfs_mmcblk is used by vendor & system process, its type need to be moved to plat_public. [Solution] move type sysfs_mmcblk form non_plat to plat_public. MTK-Commit-Id: 9221eb0ec44290e461e5602f7bfaf08b72994b4d Change-Id: Ibe9a39e70e2071bfa9c88518fd34e232fc4844d6 CR-Id: ALPS04475279 Feature: [Android Default] SELinux, SEAndroid, and SE-MTK --- non_plat/file.te | 4 ---- plat_public/file.te | 6 +++++- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/non_plat/file.te b/non_plat/file.te index 1059c9e..2ad0028 100644 --- a/non_plat/file.te +++ b/non_plat/file.te @@ -334,10 +334,6 @@ type sys_usb_rawbulk, fs_type, sysfs_type; # Backlight brightness file type sysfs_vibrator_setting, fs_type, sysfs_type; -# Date : WK18.16 -# Purpose: Android Migration -type sysfs_mmcblk, fs_type, sysfs_type; - # Vibrator vibrate file type sysfs_leds_setting, fs_type, sysfs_type; diff --git a/plat_public/file.te b/plat_public/file.te index 3a116c6..79fdb56 100644 --- a/plat_public/file.te +++ b/plat_public/file.te @@ -4,4 +4,8 @@ #for drm key install type provision_file, file_type, data_file_type; -type key_install_data_file, file_type, data_file_type; \ No newline at end of file +type key_install_data_file, file_type, data_file_type; + +# Date : WK18.16 +# Purpose: Android Migration +type sysfs_mmcblk, fs_type, sysfs_type;