summaryrefslogtreecommitdiffstats
path: root/sepolicy
diff options
context:
space:
mode:
authordhacker29 <dhackerdvm@gmail.com>2015-12-06 22:53:52 -0500
committerEthan Chen <intervigil@gmail.com>2015-12-17 15:43:00 -0800
commit076a1ea54adf57da01936ac26b13ac87cc5df526 (patch)
treebd56fe7a7497cc4953b6fea1ea76356fa9c2caa3 /sepolicy
parent322cc5ae59c6ab388c362d02f17d25725d42d048 (diff)
downloadvendor_replicant-076a1ea54adf57da01936ac26b13ac87cc5df526.zip
vendor_replicant-076a1ea54adf57da01936ac26b13ac87cc5df526.tar.gz
vendor_replicant-076a1ea54adf57da01936ac26b13ac87cc5df526.tar.bz2
sepolicy: Set the context for fsck.exfat/ntfs to fsck_exec
This matches the policy for fsck.f2fs, although it still needs to run as fsck_untrusted for public volumes Change-Id: Ia04e7f8902e53a9926a87f0c99e603611cc39c5d
Diffstat (limited to 'sepolicy')
-rw-r--r--sepolicy/file_contexts4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index e5ae776..33534d7 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -45,3 +45,7 @@
/sys/devices/virtual/graphics/fb0/cabc u:object_r:livedisplay_sysfs:s0
/sys/devices/virtual/graphics/fb0/rgb u:object_r:livedisplay_sysfs:s0
/sys/devices/virtual/graphics/fb0/sre u:object_r:livedisplay_sysfs:s0
+
+# fsck
+/system/bin/fsck\.ntfs u:object_r:fsck_exec:s0
+/system/bin/fsck\.exfat u:object_r:fsck_exec:s0