Pierre-Hugues Husson | 8a07d2c | 2018-02-16 22:41:03 +0100 | [diff] [blame^] | 1 | type vndk_detect, coredomain, domain; |
2 | type vndk_detect_exec, exec_type, file_type; | ||||
3 | |||||
4 | init_daemon_domain(vndk_detect); | ||||
5 | allow vndk_detect sepolicy_file:file r_file_perms; | ||||
6 | set_prop(vndk_detect,system_prop); | ||||
7 | |||||
8 | allow vndk_detect shell_exec:file rx_file_perms; | ||||
9 | allow vndk_detect toolbox_exec:file rx_file_perms; | ||||
10 | #/system/bin/grep | ||||
11 | allow vndk_detect system_file:file rx_file_perms; |