From 66947c66d6cd232cc59453107949a1ee283331ba Mon Sep 17 00:00:00 2001 From: Yakun Xu Date: Thu, 23 May 2024 10:35:02 +0800 Subject: [PATCH] Thread: allow ot-rcp on user build This commit adds sepolicy on user build so that Thread HAL simulation can run on cuttlefish user builds. Bug: 342154029 Test: presubmit Change-Id: I576f52a1bdf5b0966e73ee93e4b68bed613b0796 --- vendor/ot_rcp.te | 2 -- 1 file changed, 2 deletions(-) diff --git a/vendor/ot_rcp.te b/vendor/ot_rcp.te index f63037046..3d56bf43f 100644 --- a/vendor/ot_rcp.te +++ b/vendor/ot_rcp.te @@ -5,7 +5,6 @@ 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}; allow hal_threadnetwork_default ot_rcp:process signal; @@ -16,4 +15,3 @@ allow ot_rcp self:udp_socket { bind create ioctl read setopt write }; allow ot_rcp node:udp_socket node_bind; allow ot_rcp port:udp_socket name_bind; allow ot_rcp self:netlink_route_socket { nlmsg_read nlmsg_readpriv create read write }; -')