sepolicy: allow bootanim and surfaceflinger execmem and access to ashmem

This allows the device to boot with software rendering
using build/target/board/generic/sepolicy as reference

Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
This commit is contained in:
Wolfgang Wiedmeyer 2016-02-16 17:32:25 +01:00
parent 49500810a7
commit cd25e76555
No known key found for this signature in database
GPG Key ID: 5816A24C10757FC4
2 changed files with 4 additions and 0 deletions

View File

@ -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;

View File

@ -0,0 +1,2 @@
allow surfaceflinger self:process execmem;
allow surfaceflinger ashmem_device:chr_file execute;