[CRIU] [PATCH 05/11] headers: Move prctl constants to prctl.h

Cyrill Gorcunov gorcunov at openvz.org
Thu Nov 14 07:19:53 PST 2013


Move prctl constants into own header. They are
arch independent.

The x86 specific ARCH_SET_GS should be fetched from <asm/prctl.h>
(instead of defining own ones).

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 arch/arm/include/asm/types.h | 25 -------------------------
 arch/x86/include/asm/types.h | 31 -------------------------------
 arch/x86/restorer.c          |  1 +
 cr-check.c                   |  1 +
 include/prctl.h              | 41 +++++++++++++++++++++++++++++++++++++++++
 pie/parasite.c               |  1 +
 pie/restorer.c               |  1 +
 7 files changed, 45 insertions(+), 56 deletions(-)
 create mode 100644 include/prctl.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-headers-Move-prctl-constants-to-prctl.h.patch
Type: text/x-patch
Size: 4335 bytes
Desc: not available
URL: <http://lists.openvz.org/pipermail/criu/attachments/20131114/5b90c132/attachment.bin>


More information about the CRIU mailing list