1userdebug_or_eng(`
2  allow dumpstate proc_modules:file r_file_perms;
3  allow dumpstate proc_stat:file r_file_perms;
4  allow dumpstate persist_file:dir r_dir_perms;
5  allow dumpstate sysfs_leds:dir search;
6  allow dumpstate system_block_device:blk_file r_file_perms;
7
8  dontaudit dumpstate self:netlink_xfrm_socket create_socket_perms_no_ioctl;
9
10  binder_call(dumpstate, per_mgr)
11')
12
13# For collecting bugreports.
14allow dumpstate sysfs_scsi_devices_0000:file r_file_perms;
15allow dumpstate sysfs_scsi_devices_other:file r_file_perms;
16allow dumpstate sysfs_devices_block:file r_file_perms;
17dontaudit dumpstate kernel:system module_request;
18