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:
parent
49500810a7
commit
cd25e76555
@ -1,3 +1,5 @@
|
|||||||
# Themed resources (bootanimation)
|
# Themed resources (bootanimation)
|
||||||
allow bootanim theme_data_file:dir search;
|
allow bootanim theme_data_file:dir search;
|
||||||
allow bootanim theme_data_file:file r_file_perms;
|
allow bootanim theme_data_file:file r_file_perms;
|
||||||
|
allow bootanim self:process execmem;
|
||||||
|
allow bootanim ashmem_device:chr_file execute;
|
2
sepolicy/surfaceflinger.te
Normal file
2
sepolicy/surfaceflinger.te
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
allow surfaceflinger self:process execmem;
|
||||||
|
allow surfaceflinger ashmem_device:chr_file execute;
|
Loading…
Reference in New Issue
Block a user