2023-06-14 07:26:15 +02:00
|
|
|
#
|
|
|
|
# ot_rcp is the simulated Thread Radio Coprocessor device which is used by
|
|
|
|
# Thread Network HAL for simulating the Thread radio chip.
|
|
|
|
#
|
|
|
|
type ot_rcp, domain;
|
|
|
|
type ot_rcp_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
|
|
|
|
userdebug_or_eng(`
|
|
|
|
domain_auto_trans(hal_threadnetwork_default, ot_rcp_exec, ot_rcp)
|
|
|
|
allow hal_threadnetwork_default devpts:chr_file {open read write ioctl};
|
2024-05-09 11:05:04 +02:00
|
|
|
allow hal_threadnetwork_default ot_rcp:process signal;
|
2023-06-14 07:26:15 +02:00
|
|
|
allow ot_rcp hal_threadnetwork_default:fd use;
|
|
|
|
allow ot_rcp hal_threadnetwork_default:fifo_file rw_file_perms;
|
2023-08-02 15:42:55 +02:00
|
|
|
allow ot_rcp devpts:chr_file {read write ioctl};
|
2024-05-09 11:05:04 +02:00
|
|
|
allow ot_rcp self:udp_socket { bind create ioctl read setopt write };
|
2023-06-14 07:26:15 +02:00
|
|
|
allow ot_rcp node:udp_socket node_bind;
|
|
|
|
allow ot_rcp port:udp_socket name_bind;
|
2024-05-09 11:05:04 +02:00
|
|
|
allow ot_rcp self:netlink_route_socket { nlmsg_read nlmsg_readpriv create read write };
|
2023-06-14 07:26:15 +02:00
|
|
|
')
|