criu/compel/include
Cyrill Gorcunov 07da7b0f42 compel -- Use unsigned long for arguments
When checkpointing applications with really big memory slab
(like in our vz7 test with 920G of memory) the int type get
cutted, we should use long int instead, just like we do in
other code pieces.

Otherwise get

 | pie: 756: Daemon waits for command
 | (01.193097) Wait for ack 12 on daemon socket
 | (01.193112) Fetched ack: 12 12 0
 | (01.193164) 988065 fdinfo 0: pos:                0 flags:           100002/0
 | (01.193201) fdinfo: type: 0xb flags: 0100002/0 pos:        0 fd: 0
 | (01.193279) 988065 fdinfo 1: pos:                0 flags:           100002/0
 | (01.193307) fdinfo: type: 0xb flags: 0100002/0 pos:        0 fd: 1
 | (01.193341) 988065 fdinfo 2: pos:                0 flags:           100002/0
 | (01.193365) fdinfo: type: 0xb flags: 0100002/0 pos:        0 fd: 2
 | (01.193375) ----------------------------------------
 | (01.193405) Error (criu/parasite-syscall.c:243): BUG at criu/parasite-syscall.c:243
 | pie: 756: Error (criu/pie/parasite.c:676): Trimmed message received (1>

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2018-10-30 19:27:58 +03:00
..
uapi compel -- Use unsigned long for arguments 2018-10-30 19:27:58 +03:00
compel-cpu.h compel: fpu -- Add compel_test_fpu_cap helper 2018-10-30 19:27:55 +03:00
elf32-types.h compel: Reshuffle the directories structure 2017-03-14 23:58:09 +03:00
elf64-types.h compel: Reshuffle the directories structure 2017-03-14 23:58:09 +03:00
errno.h infect: Move errno.h to compel 2017-03-15 00:06:01 +03:00
infect-priv.h compel: Add ctx flags to get_task_regs() 2018-03-02 21:52:13 +03:00
log.h compel_print_on_level(): annotate with printf 2017-03-15 09:36:06 +03:00
piegen.h compel hgen: drop -u option 2017-03-15 00:06:17 +03:00
ptrace.h compel: return ptrace area helpers back to uapi 2017-04-02 18:12:10 +03:00
rpc-pie-priv.h compel/criu: Add ARCH_HAS_LONG_PAGES to PIE binaries 2018-07-04 03:17:17 +03:00
shmem.h compel: plugins -- Add shmem plugin 2017-03-14 23:58:09 +03:00