1type ramoops, domain, coredomain; 2type ramoops_exec, exec_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 shell_exec:file rx_file_perms; 11allow ramoops toolbox_exec:file rx_file_perms; 12 13# Set the sys.ramoops.decrypted property 14typeattribute ramoops system_writes_vendor_properties_violators; 15set_prop(ramoops, ramoops_prop); 16 17allow ramoops sysfs_pstore:file rw_file_perms; 18allow ramoops ramoops_device:chr_file rw_file_perms; 19allow ramoops ramoops_data_file:file create_file_perms; 20allow ramoops ramoops_data_file:dir rw_dir_perms; 21