[ALPS04028748] logger control

[Detail] Meta support one key to catch log

[Solution] Meta connect log hidl service
and send socket command

MTK-Commit-Id: 3e935bdb1164fefd257c4bccc33a85aadbc88e58

Change-Id: I12c9a080ebcbd360cde7d8b0d26423cb3c6fb1e1
CR-Id: ALPS04028748
Feature: SP META Tool
(cherry picked from commit a2e072ccbdfccd4a3248fc8b27d7c5fa69ba5896)
This commit is contained in:
gang.wei 2020-01-18 10:05:46 +08:00 committed by Gang Wei
parent 090f3fbd19
commit aa7e84f705

View File

@ -379,7 +379,12 @@ allow meta_tst sysfs_headset:file { read open };
#Purpose : Allow meta_tst to use socket for listening uevent
allow meta_tst meta_tst:netlink_kobject_uevent_socket { read bind create setopt };
#Date : WK18.28
# Date : WK18.28
# Operation: P migration
# Purpose :
set_prop(meta_tst, vendor_usb_prop);
set_prop(meta_tst, vendor_usb_prop);
# Date: W18.29
# Operation: Catch log
# Purpose : meta connect with loghidlserver by socket.
allow meta_tst loghidlvendorservice:unix_stream_socket connectto;