diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2022-12-17 12:12:05 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2022-12-22 10:11:08 +0100 |
| commit | a0df376348d2ad1d3e557ea221e75c78a5d9fd96 (patch) | |
| tree | b15ead346eb5f9f01e71dca1f4f4d1966da3e0cf /executor/common_linux.h | |
| parent | 09ff16760eac2d6f03e93bd7d50892a6d536ed1b (diff) | |
pkg/image: make Decompress easier to use
Change DecompressWriter to DecompressCheck: checking validity
of the image is the only useful use of DecompressWriter.
Change Decompress to MustDecompress which does not return an error.
We check validity during program deserialization, so all other
uses already panic on errors.
Also add dtor return value in preparation for subsequent changes.
Diffstat (limited to 'executor/common_linux.h')
0 files changed, 0 insertions, 0 deletions
