vold: Grant root group
When using make_f2fs to format a filesystem with quota enabled, make_f2fs will write quota record with group id equtal to make_f2fs's execution group id. Vold shall run as root group so that make_f2fs forked by vold will enherit vold's root group. Make_f2fs can then write quota record with group id for root group and therefore kernel quota driver can find quota record for root group. Bug: 111775499 Change-Id: I0c1fef760597d1695586d24365200b25e2cf07e6 Signed-off-by: Light Hsieh <light.hsieh@mediatek.com> Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
This commit is contained in:
parent
7fcaa13d4c
commit
c0eea5736e
1 changed files with 1 additions and 1 deletions
2
vold.rc
2
vold.rc
|
@ -5,4 +5,4 @@ service vold /system/bin/vold \
|
||||||
ioprio be 2
|
ioprio be 2
|
||||||
writepid /dev/cpuset/foreground/tasks
|
writepid /dev/cpuset/foreground/tasks
|
||||||
shutdown critical
|
shutdown critical
|
||||||
group reserved_disk
|
group root reserved_disk
|
||||||
|
|
Loading…
Reference in a new issue