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


Groups > linux.kernel > #1446519

Re: [PATCH] x86/vdso: Error out if the vDSO isn't a valid DSO

From Dmitry Safonov <0x7f454c46@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/vdso: Error out if the vDSO isn't a valid DSO
Date 2016-07-19 16:30 +0200
Message-ID <rWEc2-57V-9@gated-at.bofh.it> (permalink)
References <rWoAh-3iL-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2016-07-19 0:46 GMT+03:00 Andy Lutomirski <luto@kernel.org>:
> Some distros has been playing with toolchain changes that can affect
> the type of ELF objects built.  Occasionally, this goes wrong and
> the vDSO ends up not being a DSO at all.  This causes the kernel to
> end up broken in a surprisingly subtle way -- glibc apparently
> silently ignores a vDSO that isn't a DSO, so everything works,
> albeit slowly, until users try a different libc implementation.
>
> Make the kernel build process a bit more robust: fail outright if
> the vDSO isn't ET_DYN or is missing its PT_DYNAMIC segment.  I've
> never seen this in an unmodified kernel.
>
> See https://github.com/docker/docker/issues/23378

Heh, that's good, I've also saw the same kind of bug:
https://lists.openvz.org/pipermail/criu/2016-June/029153.html

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


Thread

[PATCH] x86/vdso: Error out if the vDSO isn't a valid DSO Andy Lutomirski <luto@kernel.org> - 2016-07-18 23:50 +0200
  [tip:x86/asm] x86/vdso: Error out if the vDSO isn't a valid DSO tip-bot for Andy Lutomirski <tipbot@zytor.com> - 2016-07-19 09:40 +0200
  Re: [PATCH] x86/vdso: Error out if the vDSO isn't a valid DSO Dmitry Safonov <0x7f454c46@gmail.com> - 2016-07-19 16:30 +0200

csiph-web