diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk index 194fd9a9..382e2414 100644 --- a/sepolicy/sepolicy.mk +++ b/sepolicy/sepolicy.mk @@ -30,6 +30,7 @@ BOARD_SEPOLICY_UNION += \ sysinit.te \ system.te \ system_app.te \ + system_server.te \ ueventd.te \ uncrypt.te \ userinit.te \ diff --git a/sepolicy/system_server.te b/sepolicy/system_server.te new file mode 100644 index 00000000..4728a44c --- /dev/null +++ b/sepolicy/system_server.te @@ -0,0 +1,2 @@ +allow system_server recovery_cache_file:dir rw_dir_perms; +allow system_server recovery_cache_file:file create_file_perms;