mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-22 01:51:51 +00:00
lib/py: add VMA_AREA_MEMFD constant
The VMA_AREA_MEMFD constant was introduced with commit 29a1a88bcebaf9d83591077d2bec424da82c0e71 memfd: add memory mapping support This patch extends the status map used in CRIT and coredump with the value of this constant to recognize it. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
d3b955e578
commit
d1096e3b31
@ -53,6 +53,7 @@ status = {
|
||||
"VMA_AREA_SOCKET": 1 << 11,
|
||||
"VMA_AREA_VVAR": 1 << 12,
|
||||
"VMA_AREA_AIORING": 1 << 13,
|
||||
"VMA_AREA_MEMFD": 1 << 14,
|
||||
"VMA_AREA_UNSUPP": 1 << 31
|
||||
}
|
||||
|
||||
|
@ -102,6 +102,7 @@ mmap_status_map = [
|
||||
('VMA_AREA_SOCKET', 1 << 11),
|
||||
('VMA_AREA_VVAR', 1 << 12),
|
||||
('VMA_AREA_AIORING', 1 << 13),
|
||||
('VMA_AREA_MEMFD', 1 << 14),
|
||||
('VMA_UNSUPP', 1 << 31),
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user