mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 11:27:36 +00:00
Bug: 201599426 Test: boot to home with hal_tetheroffload_default started Change-Id: I85491753dc7336eff285f61c71ad51840a13d7c3
18 lines
576 B
Plaintext
18 lines
576 B
Plaintext
# 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)
|