1type ramoops, domain; 2type ramoops_exec, exec_type, vendor_file_type, file_type; 3 4init_daemon_domain(ramoops); 5 6# kmod=crypto-gcm(aes) 7dontaudit ramoops kernel:system module_request; 8 9allow ramoops ramoops_exec:file rx_file_perms; 10allow ramoops vendor_shell_exec:file rx_file_perms; 11allow ramoops vendor_toolbox_exec:file rx_file_perms; 12 13# Set the sys.ramoops.decrypted property 14set_prop(ramoops, vendor_ramoops_prop); 15 16allow ramoops sysfs_pstore:file rw_file_perms; 17allow ramoops ramoops_device:chr_file rw_file_perms; 18allow ramoops ramoops_vendor_data_file:file create_file_perms; 19allow ramoops ramoops_vendor_data_file:dir rw_dir_perms; 20