Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1439387

Re: [PATCHv10 2/2] selftest/x86: add mremap vdso test

From Ingo Molnar <mingo@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCHv10 2/2] selftest/x86: add mremap vdso test
Date 2016-07-08 14:20 +0200
Message-ID <rSCVc-4Fq-19@gated-at.bofh.it> (permalink)
References <rOZx0-6qc-39@gated-at.bofh.it> <rSCVc-4Fq-21@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


* Dmitry Safonov <dsafonov@virtuozzo.com> wrote:

> Or print that mremap for vDSO is unsupported:
> [root@localhost ~]# ./test_mremap_vdso_32
> 	AT_SYSINFO_EHDR is 0xf773c000
> [NOTE]	Moving vDSO: [0xf773c000, 0xf773d000] -> [0xf7737000, 0xf7738000]
> [FAIL]	mremap() of the vDSO does not work on this kernel!

Hm, I tried this on a 64-bit kernel and got:

triton:~/tip/tools/testing/selftests/x86> ./test_mremap_vdso_32 
        AT_SYSINFO_EHDR is 0xf7773000
[NOTE]  Moving vDSO: [0xf7773000, 0xf7774000] -> [0xf776e000, 0xf776f000]
Segmentation fault

Thanks,

	Ingo

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCHv10 0/2] mremap vDSO for 32-bit Dmitry Safonov <dsafonov@virtuozzo.com> - 2016-06-28 13:40 +0200
  Re: [PATCHv10 1/2] x86/vdso: add mremap hook to vm_special_mapping Andy Lutomirski <luto@amacapital.net> - 2016-07-06 16:10 +0200
  Re: [PATCHv10 2/2] selftest/x86: add mremap vdso test Ingo Molnar <mingo@kernel.org> - 2016-07-08 14:20 +0200

csiph-web