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