criu/compel/include/uapi
Kir Kolyshkin 735ffc1d7e Sanitize TASK_ values
First, TASK_* defines provided by compel should be prefixed
with COMPEL_. The complication is, same constants are also used
by CRIU, some are even writted into images (meaning we should
not change their values).

One way to solve this would be to untie compel values from CRIU ones,
using some mapping between the two sets when needed (i.e. in calls to
compel_wait_task() and compel_resume_task()).

Fortunately, we can avoid implementing this mapping by separating
the ranges used by compel and criu. With this patch, compel is using
values in range 0x01..0x7f, and criu is reusing those, plus adding
more values in range 0x80..0xff for its own purposes.

Note tha the values that are used inside images are not changed
(as, luckily, they were all used by compel).

travis-ci: success for compel uapi cleanups (rev2)
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
2017-03-15 09:36:05 +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: add compel_ prefix to cpu_has_feature 2017-03-15 09:36:05 +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: Move in parasite engine 2017-03-15 00:06:06 +03:00
infect.h Sanitize TASK_ values 2017-03-15 09:36:05 +03:00
ksigset.h criu: Fix headers for non-x86 arches. 2017-03-15 00:06:03 +03:00
log.h compel: Move log-related stuff into include/uapi/log.h 2017-03-15 00:06:09 +03:00
loglevels.h compel: Add callback-based log engine 2017-03-15 00:06:02 +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 compel: split sanitize ptrace.h 2017-03-15 09:36:04 +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