History log of /external/libbrillo/policy/policy_util.cc
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a749d0b68c84ac8f9b6579c43aaa9d3993e08b43 20-Sep-2017 Igor <igorcov@chromium.org> libbrillo: policy: Increase resilience for policy read

The policy files will be stored with indexes as suffix to improve
resilience to disk corruptions. This change makes it possible to
read the policy data from new files and validate them.

Design doc:
https://docs.google.com/document/d/1RdUKb-deQCBiyc6Dpdf4RDBEPV-feb5WHu7uzY1YozQ/edit#heading=h.h0q5njx6l4xf

BUG=chromium:764337
TEST=Manual
CQ-DEPEND=CL:681939, CL:819250, CL:819353, CL:819412

Change-Id: I10f31d307925c6ccef3cfd0887a71b7c774139e2
Reviewed-on: https://chromium-review.googlesource.com/674935
Commit-Ready: Igor <igorcov@chromium.org>
Tested-by: Igor <igorcov@chromium.org>
Reviewed-by: Maksim Ivanov <emaxx@chromium.org>
Reviewed-by: Dan Erat <derat@chromium.org>
(cherry picked from commit d213a401f639649b3e38f6def5782ae2f1322fce)
/external/libbrillo/policy/policy_util.cc