Kangping Dong | 90495cc | 2024-02-29 23:43:34 +0800 | [diff] [blame] | 1 | # |
2 | # ot-ctl is a command line tool for controlling ot-daemon | ||||
3 | # | ||||
4 | |||||
5 | type ot_ctl, domain, coredomain; | ||||
6 | type ot_ctl_exec, exec_type, file_type, system_file_type; | ||||
7 | |||||
8 | # ot-ctl is available in only userdebug or eng build | ||||
9 | userdebug_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 | ') |