[ALPS04365111] Fix selinux error

Add socket map permission

MTK-Commit-Id: 5a8050e1faffde6adc067eea37fe99434a2f88a5

Change-Id: Ie3009b81bdae187422fb26644834bec2d145d491
CR-Id: ALPS04365111
Feature: Network Log Tool
This commit is contained in:
bo.shang 2020-01-18 10:09:15 +08:00
parent 40aef819da
commit aa52b35cf1

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 };