aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fsck.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/fsck.te b/fsck.te
index ab313eb..22ff7b1 100644
--- a/fsck.te
+++ b/fsck.te
@@ -12,6 +12,7 @@ allow fsck tmpfs:chr_file { read write ioctl };
allow fsck devpts:chr_file { read write ioctl getattr };
# Run e2fsck on block devices.
+allow fsck block_device:dir search;
allow fsck userdata_block_device:blk_file rw_file_perms;
allow fsck cache_block_device:blk_file rw_file_perms;