aboutsummaryrefslogtreecommitdiff
path: root/shared/sepolicy/vendor/telephony/libcuttlefish_rild.te
blob: 2b578590bbf752ef28d2708e7787de4823353fe3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
type libcuttlefish_rild, domain;
type libcuttlefish_rild_exec, exec_type, vendor_file_type, file_type;

init_daemon_domain(libcuttlefish_rild)

hal_server_domain(libcuttlefish_rild, hal_telephony)

# Failing to create these sockets appears to be non-fatal
net_domain(libcuttlefish_rild)

get_prop(libcuttlefish_rild, vendor_cuttlefish_config_server_port_prop)
get_prop(libcuttlefish_rild, vendor_modem_simulator_ports_prop)

allow libcuttlefish_rild self:{ socket vsock_socket } { create_socket_perms_no_ioctl getattr };
allow libcuttlefish_rild su:{ socket udp_socket } { create_socket_perms_no_ioctl getattr };