diff options
Diffstat (limited to 'sepolicy')
-rw-r--r-- | sepolicy/file_contexts | 3 | ||||
-rw-r--r-- | sepolicy/system.te | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index dc770f2..7d7a2b4 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -19,3 +19,6 @@ # Superuser's control sockets /dev/com.android.settings.daemon(/.*)? u:object_r:superuser_device:s0 /dev/com.android.settings(/.*)? u:object_r:superuser_device:s0 + +# Expansion of these hooks is a bit unconventional +/cache/com.cyanogenmod.keyhandler.dex u:object_r:dalvikcache_data_file:s0 diff --git a/sepolicy/system.te b/sepolicy/system.te index 4c6de38..01972d4 100644 --- a/sepolicy/system.te +++ b/sepolicy/system.te @@ -1 +1,2 @@ allow system_server wallpaper_file:file relabelto; +allow system_server dalvikcache_data_file:file write; |