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:
Radostin Stoyanov 2026-01-11 14:56:49 +00:00 committed by Andrei Vagin
parent 71fe85ec90
commit 9885fb3c75

View file

@ -154,8 +154,8 @@ flags_maps = {
gen_maps = {
'task_state': {
1: 'Alive',
3: 'Zombie',
6: 'Stopped'
3: 'Stopped',
6: 'Zombie',
},
}