From 053b1805dacfe06e6a83411158c87644a0c35b00 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Tue, 29 Dec 2015 21:51:32 +0100 Subject: [PATCH] sepolicy: label exfat and ntfs mkfs executables Change-Id: Ic5e32818bc54993f4e8c2377cbec64f9444f6d8a --- sepolicy/file_contexts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index 33534d77..7024d1e0 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -14,8 +14,10 @@ /system/etc/init.d/90userinit u:object_r:userinit_exec:s0 /data/local/userinit.sh u:object_r:userinit_data_exec:s0 -# For F2FS partitions marked "formattable" +# For EXFAT/F2FS/NTFS partitions marked "formattable" +/system/bin/mkfs\.exfat u:object_r:mkfs_exec:s0 /system/bin/mkfs\.f2fs u:object_r:mkfs_exec:s0 +/system/bin/mkfs\.ntfs u:object_r:mkfs_exec:s0 # For minivold in recovery /sbin/minivold u:object_r:vold_exec:s0