platform_system_sepolicy/private/ot_ctl.te
Yakun Xu 07429e39ee add sepolicy rules for Thread network
bug: 257371610
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0fd52fd521b8167b0ec8836dac3765a16fd6863b)
Merged-In: I2c90639f4baecb010230b3aa60f2f09c0ddd9e4f
Change-Id: I2c90639f4baecb010230b3aa60f2f09c0ddd9e4f
2023-06-07 07:04:19 +00:00

11 lines
330 B
Text

#
# 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};