Run the updater with dedicated user/group
Let the firmware updater run with user and group 'goodixfwupdate'
to reduce safety risks. And before run the jail use chown/chmod
give access to necessary device nodes.
BUG=chromium:815399
TEST=Tested with retrofitted Yoga 710.
CQ-DEPEND=CL:1034172
Change-Id: Iaaeb6830571f83bc0f56ec6419b259b88fa407bc
Reviewed-on: https://chromium-review.googlesource.com/1034041
Commit-Ready: Charles Wang <charles.goodix@gmail.com>
Tested-by: Charles Wang <charles.goodix@gmail.com>
Reviewed-by: Jingkui Wang <jkwang@google.com>
Reviewed-by: Chirantan Ekbote <chirantan@chromium.org>
3 files changed