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