From 2e645853ce71d834e3be2eeaf9ebda400a4594d1 Mon Sep 17 00:00:00 2001 From: Hridya Valsaraju <hridya@google.com> Date: Fri, 12 Oct 2018 09:26:05 -0700 Subject: [PATCH] Allow fastbootd to read endpoint descriptor for fastboot usb device Test: fastboot flashall Bug: 78793464 Change-Id: I8e1e982e3a9e356738944df5bfa1e802794a6a25 --- public/fastbootd.te | 1 + 1 file changed, 1 insertion(+) diff --git a/public/fastbootd.te b/public/fastbootd.te index a1c407be0..b7e5fe132 100644 --- a/public/fastbootd.te +++ b/public/fastbootd.te @@ -14,6 +14,7 @@ recovery_only(` allow fastbootd functionfs:dir search; allow fastbootd functionfs:file rw_file_perms; + allowxperm fastbootd functionfs:file ioctl { FUNCTIONFS_ENDPOINT_DESC }; # Log to serial allow fastbootd kmsg_device:chr_file { open write }; -- GitLab