mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
Add comments on VMA area status flags
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
a49ac47f90
commit
30f002d21c
1 changed files with 6 additions and 4 deletions
|
|
@ -47,18 +47,20 @@ struct pipe_entry {
|
|||
u8 data[0];
|
||||
} __packed;
|
||||
|
||||
#define VMA_AREA_REGULAR (1 << 0)
|
||||
#define VMA_AREA_REGULAR (1 << 0) /* Dumpable area */
|
||||
#define VMA_AREA_STACK (1 << 1)
|
||||
#define VMA_AREA_VSYSCALL (1 << 2)
|
||||
#define VMA_AREA_VDSO (1 << 3)
|
||||
#define VMA_FORCE_READ (1 << 4)
|
||||
#define VMA_FORCE_READ (1 << 4) /* VMA changed to be readable */
|
||||
#define VMA_AREA_HEAP (1 << 5)
|
||||
|
||||
#define VMA_FILE_PRIVATE (1 << 6)
|
||||
#define VMA_FILE_SHARED (1 << 7)
|
||||
#define VMA_ANON_SHARED (1 << 8)
|
||||
#define VMA_ANON_PRIVATE (1 << 9)
|
||||
#define VMA_FORCE_WRITE (1 << 10)
|
||||
#define VMA_DUMP_ALL (1 << 11)
|
||||
#define VMA_FORCE_WRITE (1 << 10) /* VMA changed to be writable */
|
||||
|
||||
#define VMA_DUMP_ALL (1 << 11) /* Dump the whole VMA area pages */
|
||||
|
||||
#define vma_entry_has(vma, s) (((vma)->status & (s)) == (s))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue