diff options
author | Brint E. Kriebel <bekit@cyngn.com> | 2014-11-03 18:09:19 -0800 |
---|---|---|
committer | Brint E. Kriebel <bekit@cyngn.com> | 2014-11-03 18:09:19 -0800 |
commit | 92db6ff5df16332928738acb273921d7351d9de9 (patch) | |
tree | 51728ca03ea964b3dd2ff84274082d8348788218 | |
parent | cad26b897cb9ef168bd913a6c46ee84aa679a7d6 (diff) | |
parent | 1400258553c9fed0dfce40bae6d27939c1023d8c (diff) | |
download | android_external_sepolicy-shipping/cm-11.0.tar.gz android_external_sepolicy-shipping/cm-11.0.tar.bz2 android_external_sepolicy-shipping/cm-11.0.zip |
Merge branch 'cm-11.0' into stable/cm-11.0cm-11.0-XNPH05Q-tomato-9828f8e9cccm-11.0-XNPH05Q-bacon-5229c4ef56stable/cm-11.0-XNF9Xstable/cm-11.0-XNF8Ystable/cm-11.0shipping/cm-11.0
-rw-r--r-- | app.te | 7 | ||||
-rw-r--r-- | system.te | 4 |
2 files changed, 11 insertions, 0 deletions
@@ -13,6 +13,13 @@ unix_socket_connect(appdomain, keystore, keystore) # Receive and use open file descriptors inherited from zygote. allow appdomain zygote:fd use; +# gdbserver for ndk-gdb reads the zygote. +# valgrind needs mmap exec for zygote +allow appdomain zygote_exec:file rx_file_perms; + +# gdbserver for ndk-gdb ptrace attaches to app process. +allow appdomain self:process ptrace; + # Read system properties managed by zygote. allow appdomain zygote_tmpfs:file read; @@ -8,6 +8,10 @@ permissive system; unconfined_domain(system); relabelto_domain(system); +# Relabel /data/anr. +allow system system_data_file:dir relabelfrom; +allow system anr_data_file:dir relabelto; + # Create a socket for receiving info from wpa. type_transition system wifi_data_file:sock_file system_wpa_socket; allow system self:zygote { specifyids specifyrlimits specifyseinfo }; |