mirror of
https://github.com/Evolution-X-Devices/device_google_wahoo
synced 2026-02-01 03:40:35 +00:00
Bug: 36463595 Test: lunch walleye-userdebug && make -j48 sepolicy Change-Id: Idbc83b06edcb3eb2ea548a16ed93f711cda150c1 Signed-off-by: Sandeep Patil <sspatil@google.com>
18 lines
516 B
Plaintext
18 lines
516 B
Plaintext
type subsystem_ramdump_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
userdebug_or_eng(`
|
|
type subsystem_ramdump, domain;
|
|
|
|
init_daemon_domain(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_vendor_data_file:dir rw_dir_perms;
|
|
allow subsystem_ramdump ramdump_vendor_data_file:file create_file_perms;
|
|
|
|
set_prop(subsystem_ramdump, ssr_prop);
|
|
')
|