Merge "[ALPS04237702] Audio: Add permission for audio scp device in meta_tst.te" into alps-trunk-q0.basic

Change-Id: Ifddc8e826b67209a89cc34d8f5651808f608151a
MTK-Commit-Id: 6b9304096ac8b5c5a9dfff83d6e0b80d0ff9f8c7
This commit is contained in:
Shane Chien 2020-01-18 10:08:32 +08:00 committed by Gerrit Code Review
commit 8beff55795

View File

@ -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 # 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:dir search;
allow meta_tst sysfs_batteryinfo:file {read open}; 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;