[ALPS03888283] Modify ATM communication

[Detail]
Add permission for meta_tst to get kernel uevent via socket

MTK-Commit-Id: d30205369cf482796fcd75feb9e1592e17ba1f61

Change-Id: I11acdd38467d84ce8a62e0ec5b780fca5c90f3b6
CR-Id: ALPS03888283
Feature: SP META Tool
(cherry picked from commit a793e5c40cc75eee4657764c02fc6c109b02e51f)
(cherry picked from commit 9d9369dfe0edb7d1114710f8afca2282f448cf0e)
This commit is contained in:
Guowei Wang 2020-01-18 10:05:38 +08:00 committed by Gang Wei
parent 380dc6fda1
commit 11369dcf83

View File

@ -375,3 +375,6 @@ allow meta_tst audiohal_prop:property_service set;
allow meta_tst sysfs:file { read open }; allow meta_tst sysfs:file { read open };
allow meta_tst sysfs_headset:file { read open }; allow meta_tst sysfs_headset:file { read open };
#Date: W18.05
#Purpose : Allow meta_tst to use socket for listening uevent
allow meta_tst meta_tst:netlink_kobject_uevent_socket { read bind create setopt };