selinux: Add a rule to label the extended keyhandler dex files

These should be treated as regular dex cache files, but they're
expanded outside of the normal cache dir

Change-Id: Id046e1b90116b35d2e7817ed4717fcef78135f08
This commit is contained in:
Ricardo Cerqueira 2014-11-27 18:17:06 +00:00
parent 09159ac7ce
commit fa63e50707
2 changed files with 4 additions and 0 deletions

View File

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

View File

@ -1 +1,2 @@
allow system_server wallpaper_file:file relabelto;
allow system_server dalvikcache_data_file:file write;