aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRandall Huang <huangrandall@google.com>2023-04-20 16:22:18 +0800
committerRandall Huang <huangrandall@google.com>2023-04-20 09:08:07 +0000
commitf55b2ffc2e6a6331b8b25a48bd0de764c89b7df4 (patch)
tree541f39d4f728267eff6349cdb3351d8cd998f5e5
parenta43ff6f9b4a56d1dfa118d8dd558bfb285389f31 (diff)
downloadgs-common-f55b2ffc2e6a6331b8b25a48bd0de764c89b7df4.tar.gz
storage: add fastbootd sepolicy
We need to format the /metadata partition in fastbootd mode. This CL aims to include the necessary SELinux rules. Bug: 264489957 Test: rom flashing Change-Id: Ib94dbcb580c0a16395b48b8eeef6e431a637d235 Signed-off-by: Randall Huang <huangrandall@google.com>
-rw-r--r--storage/sepolicy/fastbootd.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/sepolicy/fastbootd.te b/storage/sepolicy/fastbootd.te
new file mode 100644
index 0000000..35bac15
--- /dev/null
+++ b/storage/sepolicy/fastbootd.te
@@ -0,0 +1 @@
+allow fastbootd devpts:chr_file rw_file_perms;