diff options
author | David Anderson <dvander@google.com> | 2018-10-11 19:10:02 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2018-10-17 16:15:41 -0700 |
commit | 692049259c28c333c69ddd49913d28e205914499 (patch) | |
tree | 8736486953e8420a00aa29031436ed73bb42491d /libcutils/sockets_unix.cpp | |
parent | f2eaefe368f4807cf63fd5b0368501bc9227dc4a (diff) |
liblp: Reserve the first logical block of the super partition.
Traditionally the first 512 bytes of a partition can be interpreted as
an MBR. To prevent any compatibility issues, we explicitly zero the
first 4096 bytes of the super partition (one logical block, on most
systems).
Bug: 116802789
Test: liblp_test gtest
device with super partition flashes and boots
Change-Id: I29688ca75dbb52442f1464e8ab35893678a4f79e
Diffstat (limited to 'libcutils/sockets_unix.cpp')
0 files changed, 0 insertions, 0 deletions