[ALPS03872369] Fix factory/meta Selinux issue
[Detail] Due to factory/meta move to vendor partition, add losing SELinux policy MTK-Commit-Id: 2566c46843cbe71442f428c99e51a942650b4d6b Change-Id: Ia0771adf630084a54b86e69c5d4030a81e6982ec CR-Id: ALPS03872369 Feature: Location Chipset Capability (cherry picked from commit 5b0441261a079bb6d234dc4079d9321f260886ed)
This commit is contained in:
parent
eca198762f
commit
c89dbaf882
@ -354,3 +354,13 @@ allow meta_tst sysfs_dt_firmware_android:dir { read open search };
|
|||||||
allow meta_tst meta_tst:capability { sys_module net_admin net_raw };
|
allow meta_tst meta_tst:capability { sys_module net_admin net_raw };
|
||||||
allow meta_tst self:udp_socket { create ioctl };
|
allow meta_tst self:udp_socket { create ioctl };
|
||||||
allowxperm meta_tst self:udp_socket ioctl priv_sock_ioctls;
|
allowxperm meta_tst self:udp_socket ioctl priv_sock_ioctls;
|
||||||
|
|
||||||
|
# Date : WK18.25
|
||||||
|
# Operation: P migration
|
||||||
|
# Purpose : GPS test, Allow meta_tst to write/connect tcp socket
|
||||||
|
allow meta_tst node:tcp_socket node_bind;
|
||||||
|
allow meta_tst port:tcp_socket { name_bind name_connect };
|
||||||
|
allow meta_tst self:capability net_raw;
|
||||||
|
allow meta_tst self:tcp_socket { setopt bind create listen accept connect };
|
||||||
|
allow meta_tst self:tcp_socket { read write };
|
||||||
|
allow meta_tst self:udp_socket { write connect };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user