x86/arch_prctl/vdso: Add ARCH_MAP_VDSO_*
authorDmitry Safonov <dsafonov@virtuozzo.com>
Mon, 5 Sep 2016 13:33:05 +0000 (16:33 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 14 Sep 2016 19:28:09 +0000 (21:28 +0200)
commit2eefd8789698e89c4a5d610921dc3c1b66e3bd0d
treef9f1fe811f7f2c5395b4c5ba2bb9d6b54ea026cd
parent576ebfefd37bd41e965787f60684c8e4b7f79457
x86/arch_prctl/vdso: Add ARCH_MAP_VDSO_*

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 <dsafonov@virtuozzo.com>
Acked-by: Andy Lutomirski <luto@kernel.org>
Cc: 0x7f454c46@gmail.com
Cc: oleg@redhat.com
Cc: linux-mm@kvack.org
Cc: gorcunov@openvz.org
Cc: xemul@virtuozzo.com
Link: http://lkml.kernel.org/r/20160905133308.28234-4-dsafonov@virtuozzo.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/entry/vdso/vma.c
arch/x86/include/asm/vdso.h
arch/x86/include/uapi/asm/prctl.h
arch/x86/kernel/process_64.c
include/linux/mm.h
mm/mmap.c