(ported from Ib2e3cf498851c0c9e5e74aacc9bf391549c0ad1a) Bug: 244658328 Signed-off-by: Kyle Tso <kyletso@google.com> Change-Id: Idbfa55d4c7091ce2861600ff3881fcc7217ec662 Merged-In: Idbfa55d4c7091ce2861600ff3881fcc7217ec662
7 lines
418 B
Text
7 lines
418 B
Text
type disable-contaminant-detection-sh, domain;
|
|
type disable-contaminant-detection-sh_exec, vendor_file_type, exec_type, file_type;
|
|
init_daemon_domain(disable-contaminant-detection-sh)
|
|
|
|
allow disable-contaminant-detection-sh vendor_toolbox_exec:file execute_no_trans;
|
|
allow disable-contaminant-detection-sh sysfs_batteryinfo:dir r_dir_perms;
|
|
allow disable-contaminant-detection-sh sysfs_batteryinfo:file rw_file_perms;
|