criu/compel/include/uapi
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
..
asm compel: make include/uapi/asm symlink permanent 2017-03-15 00:09:56 +03:00
common compel: uapi -- Add common symlink 2017-03-15 00:06:12 +03:00
compel compel: make include/uapi symlink permanent 2017-03-15 00:09:55 +03:00
compel.h compel: Move relocs stuff into include/uapi/handle-elf.h 2017-03-15 00:06:09 +03:00
cpu.h compel: fpu -- Add compel_fpu_feature_offset helper 2018-10-30 19:27:55 +03:00
handle-elf.h compel: rm COMPEL_H_PARASITE_* macros 2017-03-15 00:06:16 +03:00
infect-rpc.h compel: Move in parasite engine 2017-03-15 00:06:06 +03:00
infect-util.h compel: Add recv fd helper 2017-03-15 09:36:09 +03:00
infect.h compel -- Use unsigned long for arguments 2018-10-30 19:27:58 +03:00
ksigset.h compel/ksigset: fix ksigaddset() UB and flushing mask 2017-03-15 09:36:09 +03:00
log.h compel/uapi: add prefix to log levels 2017-03-15 09:36:06 +03:00
loglevels.h compel/uapi: add prefix to log levels 2017-03-15 09:36:06 +03:00
plugins compel: Include compel headers as system ones 2017-03-15 00:06:02 +03:00
plugins.h compel: Add plugins header 2017-03-14 23:58:09 +03:00
ptrace.h seccomp: Use own seccomp_metadata_t type 2018-07-09 18:26:51 +03:00
sigframe-common.h compel: Move sigframe code into compel 2017-03-15 00:06:05 +03:00
task-state.h Sanitize TASK_ values 2017-03-15 09:36:05 +03:00