diff options
author | David Anderson <dvander@google.com> | 2019-06-19 19:03:28 -0700 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2019-06-20 13:39:11 -0700 |
commit | 1bfcd580c8cca48e0202129281581ec3865fbbda (patch) | |
tree | 556751880aaf5f97c9653f08663a22fa8ee24e06 /debuggerd/debuggerd_test.cpp | |
parent | 3215fd93c7a335a7368020c9d60efb467d8c943a (diff) |
libfiemap_writer: Improve device unwrapping to support simple linear devices.
Normally we reject complex dm targets that would invalidate or shift the
block mappings returned via FIEMAP/FIBMAP. Currently the only targets
allowed are crypt, default-key, and bow. This patch adds support for
"linear" as long as there is only one linear target and it targets
sector 0 of the underlying block device.
This is useful for testing gsid, so we can simulate how a
metadata-encrypted device works without having to create a dm-crypt or
dm-default-key node.
Bug: 134536978
Test: manual test
Change-Id: I7c12bc20d95ff4c90402e66bafb4cf2fce7818e2
Diffstat (limited to 'debuggerd/debuggerd_test.cpp')
0 files changed, 0 insertions, 0 deletions