From 68d0f1a4dc8a58420332d4bb3a6b94cb379242d3 Mon Sep 17 00:00:00 2001 From: HsinYi Chang Date: Sat, 18 Jan 2020 10:08:31 +0800 Subject: [PATCH] [ALPS04237702] Audio: Add permission for audio scp device in meta_tst.te Add permission for audio scp device in meta_tst.te MTK-Commit-Id: e47a80662cb1b514739333ef8edc30131013841b Change-Id: I578b9cd8325eb3637f68ffa7a7692aac17df8d5f CR-Id: ALPS04237702 Feature: DSP SmartPA (cherry picked from commit a9abb35ba18fb5a43d0e0612d3259351eafb1db6) --- non_plat/meta_tst.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/non_plat/meta_tst.te b/non_plat/meta_tst.te index 06850c6..24ebc8c 100644 --- a/non_plat/meta_tst.te +++ b/non_plat/meta_tst.te @@ -397,3 +397,8 @@ allow meta_tst self:capability sys_time; # avc: denied { open } for path="/sys/devices/platform/mt_charger/power_supply/usb/online" dev="sysfs" ino=8764 scontext=u:r:meta_tst:s0 tcontext=u:object_r:sysfs_batteryinfo:s0 tclass=file permissive=0 allow meta_tst sysfs_batteryinfo:dir search; allow meta_tst sysfs_batteryinfo:file {read open}; + +# Date : WK19.08 +# Operation: P migration +# Purpose : audio scp recovery +allow meta_tst audio_scp_device:chr_file r_file_perms;