mirror of
https://github.com/torvalds/linux.git
synced 2026-11-27 08:52:27 +00:00
Add API to change vdso blob type with arch_prctl. As this is usefull only by needs of CRIU, expose this interface under CONFIG_CHECKPOINT_RESTORE. Signed-off-by: Dmitry Safonov <[email protected]> Acked-by: Andy Lutomirski <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
16 lines
331 B
C
16 lines
331 B
C
#ifndef _ASM_X86_PRCTL_H
|
|
#define _ASM_X86_PRCTL_H
|
|
|
|
#define ARCH_SET_GS 0x1001
|
|
#define ARCH_SET_FS 0x1002
|
|
#define ARCH_GET_FS 0x1003
|
|
#define ARCH_GET_GS 0x1004
|
|
|
|
#ifdef CONFIG_CHECKPOINT_RESTORE
|
|
# define ARCH_MAP_VDSO_X32 0x2001
|
|
# define ARCH_MAP_VDSO_32 0x2002
|
|
# define ARCH_MAP_VDSO_64 0x2003
|
|
#endif
|
|
|
|
#endif /* _ASM_X86_PRCTL_H */
|