device_google_gs201/whitechapel_pro/hal_tetheroffload_default.te
Adam Shih 798b72ad9c review hal_tetheroffload_default
Bug: 201599426
Test: boot to home with hal_tetheroffload_default started
Change-Id: I85491753dc7336eff285f61c71ad51840a13d7c3
2021-10-05 01:42:16 +00:00

17 lines
576 B
Text

# associate netdomain to use for accessing internet sockets
net_domain(hal_tetheroffload_default)
# Allow operations with TOE device
allow hal_tetheroffload_default vendor_toe_device:chr_file rw_file_perms;
# Allow NETLINK and socket
allow hal_tetheroffload_default self:{
netlink_socket
netlink_generic_socket
unix_dgram_socket
} create_socket_perms_no_ioctl;
# Register to hwbinder service
add_hwservice(hal_tetheroffload_default, hal_tetheroffload_hwservice)
hwbinder_use(hal_tetheroffload_default)
get_prop(hal_tetheroffload_default, hwservicemanager_prop)