mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-01-29 02:44:24 +00:00
Enable modem subsystem restart and ramdump Bug: 35859062 Change-Id: Ib23fe3d849e7a5b4ada0ba794107e12b661c7fdc Signed-off-by: Salmax_Chang <salmax_chang@htc.com>
19 lines
498 B
Plaintext
19 lines
498 B
Plaintext
type subsystem_ramdump, domain;
|
|
type subsystem_ramdump_exec, exec_type, file_type;
|
|
|
|
init_daemon_domain(subsystem_ramdump);
|
|
|
|
userdebug_or_eng(`
|
|
permissive subsystem_ramdump;
|
|
|
|
allow subsystem_ramdump device:dir r_dir_perms;
|
|
allow subsystem_ramdump ramdump_device:chr_file r_file_perms;
|
|
|
|
r_dir_file(subsystem_ramdump, sysfs_type);
|
|
|
|
allow subsystem_ramdump ramdump_data_file:dir rw_dir_perms;
|
|
allow subsystem_ramdump ramdump_data_file:file create_file_perms;
|
|
|
|
set_prop(subsystem_ramdump, ssr_prop);
|
|
')
|