From 4c27ffa26f1196d47255bbfe19f1112632560aee Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju Date: Thu, 9 Aug 2018 10:21:33 -0700 Subject: [PATCH] Add device sepolicy for fastbootd This is required to allow flashing. Bug: 78793464 Test: adb reboot fastboot && fastboot flashall Change-Id: I5964d27ea1541a1c644d325b613db4423c4bf271 --- sepolicy/vendor/fastboot.te | 1 + 1 file changed, 1 insertion(+) create mode 100644 sepolicy/vendor/fastboot.te diff --git a/sepolicy/vendor/fastboot.te b/sepolicy/vendor/fastboot.te new file mode 100644 index 00000000..4c1bce2c --- /dev/null +++ b/sepolicy/vendor/fastboot.te @@ -0,0 +1 @@ +allow fastbootd ab_block_device:blk_file rw_file_perms;