type subsystem_ramdump, domain; | |
type subsystem_ramdump_exec, exec_type, file_type; | |
init_daemon_domain(subsystem_ramdump); | |
userdebug_or_eng(` | |
allow subsystem_ramdump ramdump_device:chr_file r_file_perms; | |
allow subsystem_ramdump sysfs:file w_file_perms; | |
') |