sepolicy: f2fs: Allow fs_use_xattr
Change-Id: I458d464598777fa06751dad0aa9cfd4d903a4de1
diff --git a/sepolicy/fs_use b/sepolicy/fs_use
new file mode 100644
index 0000000..2001c9c
--- /dev/null
+++ b/sepolicy/fs_use
@@ -0,0 +1,3 @@
+# Label inodes via getxattr.
+fs_use_xattr f2fs u:object_r:labeledfs:s0;
+
diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk
index af929d9..d777804 100644
--- a/sepolicy/sepolicy.mk
+++ b/sepolicy/sepolicy.mk
@@ -8,5 +8,6 @@
BOARD_SEPOLICY_UNION += \
file_contexts \
+ fs_use \
seapp_contexts \
mac_permissions.xml