system_api: Support for temporary policy read
This contains two changes:
- Protobuf change in cryptohome to allow temporary user home mounts and
return their location.
- New method in login_manager to read policy from a temporary user home
mount.
Both changes are required to read user policy before actual cryptohome
mount, which will be necessary to decide if ext4 migration is allowed.
BUG=chromium:722371
TEST=none
Change-Id: If734b17b4c1ebd7e3ae1adf698f21493258f2b34
Reviewed-on: https://chromium-review.googlesource.com/562137
Commit-Ready: Pavol Marko <pmarko@chromium.org>
Tested-by: Pavol Marko <pmarko@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
Reviewed-by: Ryo Hashimoto <hashimoto@chromium.org>
Reviewed-by: Andrey Pronin <apronin@chromium.org>
2 files changed