Merge "[Thread] move ot-ctl to vendor" into main am: 1348776bed

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2737114

Change-Id: I133f6f04d542130cbbd80a3a941991d560eb3ca5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Kangping Dong 2023-09-07 08:25:53 +00:00 committed by Automerger Merge Worker
commit 07bc7d3243
2 changed files with 0 additions and 12 deletions

View file

@ -1,3 +1,2 @@
(/.*)? u:object_r:system_file:s0
/bin/ot-daemon u:object_r:ot_daemon_exec:s0
/bin/ot-ctl u:object_r:ot_ctl_exec:s0

View file

@ -1,11 +0,0 @@
#
# ot_ctl is the commandline tool for controling the native Thread network daemon (ot_daemon).
#
type ot_ctl, domain, coredomain;
type ot_ctl_exec, exec_type, system_file_type, file_type;
init_daemon_domain(ot_ctl)
# Allow the ot_ctl to read/write the socket file.
allow ot_ctl threadnetwork_data_file:sock_file {read write};