xref: /aosp_15_r20/system/sepolicy/private/ot_ctl.te (revision e4a36f4174b17bbab9dc043f4a65dc8d87377290)
1#
2# ot-ctl is a command line tool for controlling ot-daemon
3#
4
5type ot_ctl, domain, coredomain;
6type ot_ctl_exec, exec_type, file_type, system_file_type;
7
8# ot-ctl is available in only userdebug or eng build
9userdebug_or_eng(`
10  # ot-ctl connects to ot-daemon via the socket
11  allow ot_ctl ot_daemon_socket:sock_file rw_file_perms;
12')
13