1type vendor_ia_crash_dump, domain;
2type vendor_ia_crash_dump_exec, exec_type, vendor_file_type, file_type;
3init_daemon_domain(vendor_ia_crash_dump);
4
5userdebug_or_eng(`
6  # allow to read source crash log in dev/
7  allow vendor_ia_crash_dump audio_device:chr_file rw_file_perms;
8
9  # allow socket connection
10  allow vendor_ia_crash_dump self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;
11
12  # allow to write property and write data to ramdump directory
13  allow vendor_ia_crash_dump ramdump_vendor_data_file:dir w_dir_perms;
14  allow vendor_ia_crash_dump ramdump_vendor_data_file:file create_file_perms;
15  set_prop(vendor_ia_crash_dump, vendor_ssr_prop)
16')
17