* commit '5f3c715e1a8331f13ea39264b24dfc03ac8db060': Set up crypto for user directories in init.
This commit is contained in:
commit
e8cbb421cd
1 changed files with 3 additions and 0 deletions
|
|
@ -320,6 +320,9 @@ on post-fs-data
|
||||||
mkdir /data/system/heapdump 0700 system system
|
mkdir /data/system/heapdump 0700 system system
|
||||||
mkdir /data/user 0711 system system
|
mkdir /data/user 0711 system system
|
||||||
|
|
||||||
|
# Set up the crypto policies on /data/user
|
||||||
|
exec -- /system/bin/vdc cryptfs setusercryptopolicies /data/user
|
||||||
|
|
||||||
# Reload policy from /data/security if present.
|
# Reload policy from /data/security if present.
|
||||||
setprop selinux.reload_policy 1
|
setprop selinux.reload_policy 1
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue