commit | 1cee2ed2397b173b04d25c51d65aeb03cee3cb00 | [log] [tgz] |
---|---|---|
author | Konstantin Vyshetsky <vkon@google.com> | Thu Mar 17 17:57:28 2022 -0700 |
committer | Konstantin Vyshetsky <vkon@google.com> | Mon Mar 28 10:57:03 2022 -0700 |
tree | 600b60bd505b125df3d0f830ad543383f345e364 | |
parent | b3e18294212a0f5ec3666fe6e6b0c42f254f3c37 [diff] |
fastbootd: add support to reset fd by handle There are cases where the flags the file descriptor was opened with need to be modified. This CL adds functionality to reset the file descriptor held by a PartitionHandle, reopening with new flags and repositioning file offset to previous. Bug: 225108941 Signed-off-by: Konstantin Vyshetsky <vkon@google.com> Change-Id: I9adb0e7696bc6af74e14dd61a6cb0ef10b4c98c8