blob: 0925f5cfa11ff8d54cef6da4de482797164905f9 [file] [log] [blame]
# ==============================================
# Policy File of /vendor/bin/getgameserver Executable File
# ==============================================
# Type Declaration
# ==============================================
type getgameserver_exec, exec_type, file_type, vendor_file_type;
init_daemon_domain(getgameserver)
net_domain(getgameserver)
# ==============================================
# Common SEPolicy Rule
# ==============================================
allow getgameserver self:capability net_raw;
allow getgameserver self:packet_socket { create_socket_perms };
allow getgameserver self:udp_socket { create_socket_perms };
allowxperm getgameserver self:packet_socket ioctl {SIOCGIFINDEX SIOCGSTAMP };
allowxperm getgameserver self:udp_socket ioctl {SIOCGIFINDEX SIOCGSTAMP };
set_prop(getgameserver, vendor_mtk_netdagent_gameserver_prop)