blob: ad385db067792c593ed9ff2d3349a66bcbc500b2 [file] [log] [blame]
userdebug_or_eng(`
allow dumpstate proc_modules:file r_file_perms;
allow dumpstate proc_stat:file r_file_perms;
allow dumpstate persist_file:dir r_dir_perms;
allow dumpstate sysfs_leds:dir search;
allow dumpstate system_block_device:blk_file r_file_perms;
dontaudit dumpstate self:netlink_xfrm_socket create_socket_perms_no_ioctl;
binder_call(dumpstate, per_mgr)
')
allow hal_dumpstate sysfs_batteryinfo:dir search;
allow hal_dumpstate sysfs_batteryinfo:file rw_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 sysfs_devices_block_stat:file r_file_perms;
dontaudit dumpstate kernel:system module_request;