Merge "[ALPS04365111] Fix selinux error" into alps-trunk-q0.basic

Change-Id: Ib9793203f1bd6a81367784d7bed9b32e6e296e8c
MTK-Commit-Id: 39bbf6cd4890f3fca9f87de1c844787677878f73
This commit is contained in:
Bo Shang 2020-01-18 10:09:17 +08:00 committed by Gerrit Code Review
commit 4cb2af0a23

View File

@ -74,7 +74,7 @@ allow netdiag self:netlink_xfrm_socket { write getattr setopt read bind create n
# Purpose: for socket error of tcpdump # Purpose: for socket error of tcpdump
allow netdiag self:packet_socket { read getopt create setopt }; allow netdiag self:packet_socket { read getopt create setopt };
allowxperm netdiag self:packet_socket ioctl {SIOCGIFINDEX SIOCGSTAMP}; allowxperm netdiag self:packet_socket ioctl {SIOCGIFINDEX SIOCGSTAMP};
allow netdiag self:packet_socket { write ioctl }; allow netdiag self:packet_socket { write ioctl map };
# Purpose: for ip # Purpose: for ip
allow netdiag self:netlink_route_socket { write getattr setopt read bind create nlmsg_read }; allow netdiag self:netlink_route_socket { write getattr setopt read bind create nlmsg_read };