1dump_hal(hal_thermal) 2dump_hal(hal_power) 3dump_hal(hal_power_stats) 4 5userdebug_or_eng(` 6 allow dumpstate debugfs_dma_bufinfo:file r_file_perms; 7 allow dumpstate proc_modules:file r_file_perms; 8 allow dumpstate proc_stat:file r_file_perms; 9 allow dumpstate persist_file:dir r_dir_perms; 10 allow dumpstate sysfs_leds:dir search; 11 allow dumpstate system_block_device:blk_file r_file_perms; 12 13 dontaudit dumpstate self:netlink_xfrm_socket create_socket_perms_no_ioctl; 14 15 binder_call(dumpstate, per_mgr) 16') 17 18# For collecting bugreports. 19allow dumpstate sysfs_scsi_devices_0000:file r_file_perms; 20allow dumpstate sysfs_scsi_devices_other:file r_file_perms; 21 22dontaudit dumpstate debugfs_dma_bufinfo:file r_file_perms; 23dontaudit dumpstate kernel:system module_request; 24dontaudit dumpstate misc_logd_file:dir r_dir_perms; 25