aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin F. Haggerty <haggertk@lineageos.org>2017-09-15 17:55:28 -0600
committerdoc HD <doc.divxm@gmail.com>2017-09-27 19:50:52 +0300
commitca223f5e8673ac95d4f7422500104888d4d4852f (patch)
tree0b1ee10847ec446819fb3fcf7e70725034aaa918
parent20fddd11e6e40da6cdda3fa1eff0c7d43300ddaf (diff)
sepolicy: Allow exfat and ntfs access for sdcardn7.1
* This is necessary if using kernel exfat or ntfs for external sdcard or USB OTG * This exception is only valid on non-shipping builds Change-Id: I1f3025f28ef6d22f4e1c0d73e0edcccf59e3101d
-rw-r--r--untrusted_app.te4
1 files changed, 3 insertions, 1 deletions
diff --git a/untrusted_app.te b/untrusted_app.te
index 8dd0f3f5c..1089e61de 100644
--- a/untrusted_app.te
+++ b/untrusted_app.te
@@ -192,9 +192,11 @@ neverallow untrusted_app {
-sdcardfs # sdcard
-vfat
-# For exfat and f2fs/ext4 sdcards via sdcardfs
+# For exfat, f2fs/ext4, and ntfs storage via sdcardfs
ifelse(shipping_build, `true', ,`
+ -exfat
-fuseblk
+ -ntfs
-sdcard_posix
')