[CRIU] [PATCH cr 4/9] crtools: use pit_t for PIDs

Andrey Vagin avagin at openvz.org
Tue Sep 4 09:10:28 EDT 2012


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 at openvz.org>
---
 cr-dump.c                  |   10 +++++-----
 include/crtools.h          |    4 ++--
 include/parasite-syscall.h |    2 +-
 parasite-syscall.c         |    2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-crtools-use-pit_t-for-PIDs.patch
Type: text/x-patch
Size: 2444 bytes
Desc: not available
Url : http://openvz.org/pipermail/criu/attachments/20120904/55141b57/0004-crtools-use-pit_t-for-PIDs.bin


More information about the CRIU mailing list