commit | 0cd09dcb4449e0afcaf74cbbd5a993846e906e51 | [log] [tgz] |
---|---|---|
author | Igor <igorcov@chromium.org> | Wed Sep 20 15:56:08 2017 +0200 |
committer | Sen Jiang <senj@google.com> | Thu Jan 11 14:09:03 2018 -0800 |
tree | 952188b7d5d0bc6cf1601731a7aadd1f7cf4345e | |
parent | b91af3b238d0e3dc69a736f4977b65ce6bb264ff [diff] |
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) Merged-In: I10f31d307925c6ccef3cfd0887a71b7c774139e2