userdebug_or_eng(` | |
#allow dumpstate smlog_dump_file:dir create_dir_perms; | |
#allow dumpstate smlog_dump_file:file create_file_perms; | |
') | |
# For collecting bugreports. | |
allow dumpstate sysfs_scsi_devices_0000:file r_file_perms; | |
allow dumpstate sysfs_scsi_devices_other:file r_file_perms; | |
allow dumpstate persist_file:dir getattr; | |
dontaudit dumpstate kernel:system module_request; |