blob: ef4c7bf3d02f032972df83888b30982ee73251bf [file] [log] [blame]
Pierre-Hugues Husson8a07d2c2018-02-16 22:41:03 +01001type vndk_detect, coredomain, domain;
2type vndk_detect_exec, exec_type, file_type;
3
4init_daemon_domain(vndk_detect);
5allow vndk_detect sepolicy_file:file r_file_perms;
6set_prop(vndk_detect,system_prop);
7
8allow vndk_detect shell_exec:file rx_file_perms;
9allow vndk_detect toolbox_exec:file rx_file_perms;
10#/system/bin/grep
11allow vndk_detect system_file:file rx_file_perms;