[ALPS03800946] Remove vold_socket

[Detail]
Remove vold_socket because its not allowed

[Solution]
Remove marked code

MTK-Commit-Id: 8c940b5494f7631fce98a251f2d0ba857f9346df

Change-Id: I50c1d6cfd21f4877b0c1f08bd3f3bacb2c47885e
CR-Id: ALPS03800946
Feature: Treble
This commit is contained in:
SW Integrator 2020-01-18 09:52:12 +08:00 committed by Iris Chang
parent 4cf86a27c9
commit 38f6afbf14
2 changed files with 1 additions and 3 deletions

View File

@ -284,7 +284,6 @@
/dev/socket/soc_vt_svc(/.*)? u:object_r:soc_vt_svc_socket:s0 /dev/socket/soc_vt_svc(/.*)? u:object_r:soc_vt_svc_socket:s0
/dev/socket/soc_vt_tcv(/.*)? u:object_r:soc_vt_tcv_socket:s0 /dev/socket/soc_vt_tcv(/.*)? u:object_r:soc_vt_tcv_socket:s0
/dev/socket/sysctl(/.*)? u:object_r:sysctl_socket:s0 /dev/socket/sysctl(/.*)? u:object_r:sysctl_socket:s0
#/dev/socket/vold(/.*)? u:object_r:vold_socket:s0
/dev/socket/volte_vt(/.*)? u:object_r:volte_vt_socket:s0 /dev/socket/volte_vt(/.*)? u:object_r:volte_vt_socket:s0
/dev/socket/wpa_wlan0(/.*)? u:object_r:wpa_wlan0_socket:s0 /dev/socket/wpa_wlan0(/.*)? u:object_r:wpa_wlan0_socket:s0
/dev/stpant(/.*)? u:object_r:stpant_device:s0 /dev/stpant(/.*)? u:object_r:stpant_device:s0

View File

@ -29,7 +29,6 @@ allow meta_tst self:capability { sys_boot ipc_lock };
allow meta_tst sysfs_wake_lock:file rw_file_perms; allow meta_tst sysfs_wake_lock:file rw_file_perms;
#allow meta_tst sysfs:file write; #allow meta_tst sysfs:file write;
allow meta_tst property_socket:sock_file w_file_perms; allow meta_tst property_socket:sock_file w_file_perms;
#allow meta_tst vold_socket:sock_file w_file_perms;
allow meta_tst init:unix_stream_socket connectto; allow meta_tst init:unix_stream_socket connectto;
allow meta_tst vold:unix_stream_socket connectto; allow meta_tst vold:unix_stream_socket connectto;
allow meta_tst node:tcp_socket node_bind; allow meta_tst node:tcp_socket node_bind;