Merge "init.rc: set fsck log permission on post-fs-data"
am: e7d0c83d3c
Change-Id: I75bd75fc024c583516ed5aabd669b1c76e637f6f
This commit is contained in:
commit
d830060459
1 changed files with 4 additions and 0 deletions
|
|
@ -608,6 +608,10 @@ on post-fs-data
|
||||||
# IOCTLs on ashmem fds any more.
|
# IOCTLs on ashmem fds any more.
|
||||||
setprop sys.use_memfd false
|
setprop sys.use_memfd false
|
||||||
|
|
||||||
|
# Set fscklog permission
|
||||||
|
chown root system /dev/fscklogs/log
|
||||||
|
chmod 0770 /dev/fscklogs/log
|
||||||
|
|
||||||
# It is recommended to put unnecessary data/ initialization from post-fs-data
|
# It is recommended to put unnecessary data/ initialization from post-fs-data
|
||||||
# to start-zygote in device's init.rc to unblock zygote start.
|
# to start-zygote in device's init.rc to unblock zygote start.
|
||||||
on zygote-start && property:ro.crypto.state=unencrypted
|
on zygote-start && property:ro.crypto.state=unencrypted
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue