diff --git a/file_contexts b/file_contexts
index 549138b7925eaedbb3fa33a850919c0e1bdb73e5..88e7a7bce6a1412aa274bbe7b889d6254f52e729 100644
--- a/file_contexts
+++ b/file_contexts
@@ -126,6 +126,7 @@
 #
 /system(/.*)?		u:object_r:system_file:s0
 /system/bin/e2fsck	--	u:object_r:fsck_exec:s0
+/system/bin/fsck\.f2fs	--	u:object_r:fsck_exec:s0
 /system/bin/toolbox	--	u:object_r:toolbox_exec:s0
 /system/bin/logcat	--	u:object_r:logcat_exec:s0
 /system/bin/sh		--	u:object_r:shell_exec:s0
diff --git a/fsck.te b/fsck.te
index d25517532922a4dcf6d3c2b40a9766a91b49ad80..dd696d51e3c184764dc5b18855552d2562a747aa 100644
--- a/fsck.te
+++ b/fsck.te
@@ -10,7 +10,7 @@ init_daemon_domain(fsck)
 allow fsck tmpfs:chr_file { read write ioctl };
 
 # Inherit and use pty created by android_fork_execvp_ext().
-allow fsck devpts:chr_file { read write ioctl };
+allow fsck devpts:chr_file { read write ioctl getattr };
 
 # Run e2fsck on block devices.
 # TODO:  Assign userdata and cache block device types to the corresponding