aboutsummaryrefslogtreecommitdiffstats
path: root/file.te
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2014-05-23 11:01:58 +0100
committerTorne (Richard Coles) <torne@google.com>2014-05-27 14:17:50 +0100
commit9786af2bcaaf0ba25c0a50c81c748a05793ec847 (patch)
tree6c7b0cd5f3f77479a14612a07d6ffc3ac01574f7 /file.te
parentccb9f7a1000c35721a28c501c52b0ae87dfcb775 (diff)
downloadandroid_external_sepolicy-9786af2bcaaf0ba25c0a50c81c748a05793ec847.tar.gz
android_external_sepolicy-9786af2bcaaf0ba25c0a50c81c748a05793ec847.tar.bz2
android_external_sepolicy-9786af2bcaaf0ba25c0a50c81c748a05793ec847.zip
Define SELinux policy for RELRO sharing support.
Define a domain and appropriate access rules for shared RELRO files (used for loading the WebView native library). Any app is permitted to read the files as they are public data, but only the shared_relro process is permitted to create/update them. Bug: 13005501 Change-Id: I9d5ba9e9eedb9b8c80fe6f84a3fc85a68553d52e
Diffstat (limited to 'file.te')
-rw-r--r--file.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/file.te b/file.te
index 00f1589..874f45f 100644
--- a/file.te
+++ b/file.te
@@ -75,6 +75,7 @@ type media_data_file, file_type, data_file_type;
type media_rw_data_file, file_type, data_file_type;
type nfc_data_file, file_type, data_file_type;
type radio_data_file, file_type, data_file_type;
+type shared_relro_file, file_type, data_file_type;
type systemkeys_data_file, file_type, data_file_type;
type vpn_data_file, file_type, data_file_type;
type wifi_data_file, file_type, data_file_type;