From 0e479700b51943684017e8dca06b031f779eb109 Mon Sep 17 00:00:00 2001
From: Jin Qian <jinqian@google.com>
Date: Wed, 5 Jul 2017 12:11:48 -0700
Subject: [PATCH] Revert "allow recovery to run mke2fs tools"

This reverts commit 7e57731898fe3ef5f36d7c41607261d61e72ca56.
---
 public/recovery.te | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/public/recovery.te b/public/recovery.te
index 6e1cc2b02..fe0b20e4e 100644
--- a/public/recovery.te
+++ b/public/recovery.te
@@ -29,9 +29,6 @@ recovery_only(`
   allow recovery unlabeled:filesystem ~relabelto;
   allow recovery contextmount_type:filesystem relabelto;
 
-  # Format ext4 filesystem
-  allow recovery e2fs_exec:file rx_file_perms;
-
   # Create and relabel files and directories under /system.
   allow recovery exec_type:{ file lnk_file } { create_file_perms relabelfrom relabelto };
   allow recovery { system_file }:{ file lnk_file } { create_file_perms relabelfrom relabelto };
-- 
GitLab