vdso: When put vdso mark don't forget to make area writable

Otherwise kernel is not happy with attempt to write rx only
memory, causing dumpee to fail on restore.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
x86: Include stdbool.h in fpu.h

Otherwise when get used outside of criu code

 | ../../arch/x86/include/asm/fpu.h:98:2: error: unknown type name ‘bool’

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
vdso: asm -- Include protobuf/vma.pb-c.h

rhel6 compiler is not happy about preliminary
declaration of VmaEntry type yielding error on
building attempt, thus include protobuf header.

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
parasite: use a correct original registers

Use original registers, which belong to the executing thread.

Signed-off-by: Andrey Vagin <avagin@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>