diff --git a/sepolicy/bootanim.te b/sepolicy/bootanim.te index 164231b0..8739a870 100644 --- a/sepolicy/bootanim.te +++ b/sepolicy/bootanim.te @@ -1,3 +1,5 @@ # Themed resources (bootanimation) allow bootanim theme_data_file:dir search; allow bootanim theme_data_file:file r_file_perms; +allow bootanim self:process execmem; +allow bootanim ashmem_device:chr_file execute; \ No newline at end of file diff --git a/sepolicy/surfaceflinger.te b/sepolicy/surfaceflinger.te new file mode 100644 index 00000000..4c354697 --- /dev/null +++ b/sepolicy/surfaceflinger.te @@ -0,0 +1,2 @@ +allow surfaceflinger self:process execmem; +allow surfaceflinger ashmem_device:chr_file execute;