blob: 72448c4ee63220bbfa600c25e1a883119a63ce9e [file] [log] [blame]
userdebug_or_eng(`
# qxdmlogger rundiag perms
allow platform_app diag_logs:dir rw_dir_perms;
allow platform_app diag_logs:file create_file_perms;
allow platform_app diag_device:chr_file rw_file_perms;
allow platform_app cnss_diag_data_file:dir create_dir_perms;
allow platform_app cnss_diag_data_file:file create_file_perms;
allow platform_app ramdump_data_file:dir { getattr open read remove_name rmdir search write };
allow platform_app ramdump_data_file:file { getattr open read unlink write };
dontaudit platform_app proc_sysrq:file getattr;
dontaudit platform_app proc_iomem:file getattr;
set_prop(platform_app, cnss_diag_prop);
')