|author||Xiaochu Liu <firstname.lastname@example.org>||Mon Nov 13 21:59:12 2017|
|committer||chrome-bot <email@example.com>||Sat Nov 18 04:18:47 2017|
Support umount in helper_process Currently mount points cleanup is called directly in imageloader_main without sandboxing. In order for cleanup to work in non-root user in sandboxed environment (dbus call), I provide a method in helper_process to perform umount in sandbox as root. It also fixes a bug in message deserialization where message could be cut shorter accidentally due to encoding with string delimeter in the middle. BUG=chromium:784031,chromium:782334 TEST=unittest, mount/umount images on DuT Change-Id: Ib4c7522c96165c6ffae4cb0342137f8a0bdcc07b Reviewed-on: https://chromium-review.googlesource.com/767024 Commit-Ready: Xiaochu Liu <firstname.lastname@example.org> Tested-by: Xiaochu Liu <email@example.com> Reviewed-by: Greg Kerr <firstname.lastname@example.org>
This aims to provide a generic utility to verify and load (mount) signed disk images through DBUS IPC.
imageloader handles the mounting of disk images.
imageloader should be executed via the
imageloader_wrapper script, which ensures that imageloader's storage exists and is owned by
imageloaderd user. When
imageloader is not running, DBus will automatically invoke it. After 20 seconds of inactivity, the service exits.