Commit e5de8986 authored by Dmitry Safonov's avatar Dmitry Safonov Committed by Pavel Emelyanov

x86/32: don't unmap vdso_rt after redirecting calls there

We need to leave this part of restorer in restored task in case
of inserted redirected calls. Jump trampolines from old vdso lead
here - it would be painful to land nowhere.
Signed-off-by: 's avatarDmitry Safonov <dsafonov@virtuozzo.com>
Signed-off-by: 's avatarAndrei Vagin <avagin@virtuozzo.com>
parent 684dbef1
...@@ -935,6 +935,7 @@ asm ( ...@@ -935,6 +935,7 @@ asm (
" .code32\n" " .code32\n"
" mov bootstrap_start, %ebx\n" " mov bootstrap_start, %ebx\n"
" mov bootstrap_len, %ecx\n" " mov bootstrap_len, %ecx\n"
" sub vdso_rt_size, %ecx\n"
" movl $"__stringify(__NR32_munmap)", %eax\n" " movl $"__stringify(__NR32_munmap)", %eax\n"
" int $0x80\n" " int $0x80\n"
" .code64\n" " .code64\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment