mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 22:35:33 +00:00
crtools: use pit_t for PIDs
Here is a bit mess, because we used unsigned int instead of pid_t. A negative value is used for uninitialized PID's variables. Signed-off-by: Andrey Vagin <avagin@openvz.org> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
committed by
Pavel Emelyanov
parent
7a65c70158
commit
9508e39e9b
@@ -203,8 +203,8 @@ struct rst_info {
|
||||
|
||||
struct pid
|
||||
{
|
||||
u32 real; /* used to peek/poke tasks during dump stage */
|
||||
u32 virt; /* used all over in the images and saved after restore */
|
||||
pid_t real; /* used to peek/poke tasks during dump stage */
|
||||
pid_t virt; /* used all over in the images and saved after restore */
|
||||
};
|
||||
|
||||
static inline int in_vma_area(struct vma_area *vma, unsigned long addr)
|
||||
|
Reference in New Issue
Block a user