mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-01-23 02:14:37 +00:00
crit: fix incorrect task state decoding
CRIU defines the following constants for task state in compel/include/uapi/task-state.h COMPEL_TASK_ALIVE = 0x01 COMPEL_TASK_STOPPED = 0x03 COMPEL_TASK_ZOMBIE = 0x06 Thus, we need to swap the values for "zombie" and "stopped" used in CRIT. Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
parent
71fe85ec90
commit
acf7fb4461
1 changed files with 2 additions and 2 deletions
|
|
@ -154,8 +154,8 @@ flags_maps = {
|
|||
gen_maps = {
|
||||
'task_state': {
|
||||
1: 'Alive',
|
||||
3: 'Zombie',
|
||||
6: 'Stopped'
|
||||
3: 'Stopped',
|
||||
6: 'Zombie',
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue