mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
lib/py: add VMA_AREA_MEMFD constant
The VMA_AREA_MEMFD constant was introduced with commit
29a1a88bce
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
21992206b2
commit
e1cda9f074
2 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue