Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0a3ac9b6 authored by Paul Crowley's avatar Paul Crowley Committed by Arne Coucheron
Browse files

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
parent cbb1c720
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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