aboutsummaryrefslogtreecommitdiffstats
path: root/file.te
diff options
context:
space:
mode:
Diffstat (limited to 'file.te')
-rw-r--r--file.te7
1 files changed, 6 insertions, 1 deletions
diff --git a/file.te b/file.te
index 99dab9f..24ca895 100644
--- a/file.te
+++ b/file.te
@@ -31,7 +31,12 @@ type shm, fs_type;
type mqueue, fs_type;
type fuse, sdcard_type, fs_type, mlstrustedobject;
type vfat, sdcard_type, fs_type, mlstrustedobject;
-type sdcard_posix, sdcard_type, fs_type, mlstrustedobject;
+ifelse(shipping_build, `true',
+ # Dummy this out in shipping to avoid breaking code mentioning the label
+ `typealias vfat alias sdcard_posix;'
+,
+ `type sdcard_posix, sdcard_type, fs_type, mlstrustedobject;'
+)
typealias fuse alias sdcard_internal;
typealias vfat alias sdcard_external;
type debugfs, fs_type, mlstrustedobject;