2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

fd: Sanitize fd_parms fd_name field

It used to be ulong, but it can be int now (no mapping addresses there). And the
name fd is better than fd_name (reason is the same).

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-04-10 17:49:39 +04:00
parent 9a39482875
commit 6af08c3326
3 changed files with 12 additions and 12 deletions

View File

@@ -8,7 +8,7 @@
#include "image.h"
struct fd_parms {
unsigned long fd_name;
int fd;
unsigned long pos;
unsigned int flags;
unsigned int type;