summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Crowley <paulcrowley@google.com>2019-10-28 15:55:03 +0100
committerArne Coucheron <arco68@gmail.com>2021-02-01 00:55:26 +0100
commit0a3ac9b6969b47ac58aaf3b2b27dce1d1c83f4af (patch)
treed2171afe70a933d792ebf2a32c261239ce1f6c15
parentcbb1c720adb917c73f226c760afd65386450972a (diff)
adb_root: Make encryption action an argument to mkdir
FscryptSetDirectoryPolicy no longer tries to infer the action from the filename. Well mostly; it still assumes top-level directories in /data should be encrypted unless the mkdir arguments say otherwise, but it warns. Bug: 26641735 Test: boot, check log messages Change-Id: Id6d2cea7fb856f17323897d85cf6190c981b443c
-rw-r--r--adb/root/adb_root.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/root/adb_root.rc b/adb/root/adb_root.rc
index 080eb283a..462ebb9f9 100644
--- a/adb/root/adb_root.rc
+++ b/adb/root/adb_root.rc
@@ -4,4 +4,4 @@ service adb_root /system/bin/adb_root
group root
on post-fs-data
- mkdir /data/adbroot 0700 root root
+ mkdir /data/adbroot 0700 root root encryption=Require