mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-29 05:18:00 +00:00
crit-recode: skip (not try to parse) nftables raw image
We should ignore (not parse) images that has non-crtool format, that images has no magic number (RAW_IMAGE_MAGIC equals 0). nftables images has format compatible with `nft -f /proc/self/fd/0` input format. Reported-by: Mr Jenkins Signed-off-by: Alexander Mikhalitsyn (Virtuozzo) <alexander@mihalicyn.com>
This commit is contained in:
parent
1f74f8d770
commit
b9c8e957d8
@ -47,6 +47,8 @@ for imgf in find.stdout.readlines():
|
||||
continue
|
||||
if imgf_b.startswith(b'ip6tables-'):
|
||||
continue
|
||||
if imgf_b.startswith(b'nftables-'):
|
||||
continue
|
||||
if imgf_b.startswith(b'route-'):
|
||||
continue
|
||||
if imgf_b.startswith(b'route6-'):
|
||||
|
Loading…
x
Reference in New Issue
Block a user