]> git.baikalelectronics.ru Git - kernel.git/commit
s390/vdso: map vdso also for statically linked binaries
authorHeiko Carstens <heiko.carstens@de.ibm.com>
Wed, 7 Aug 2019 12:31:59 +0000 (14:31 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Fri, 9 Aug 2019 09:03:28 +0000 (11:03 +0200)
commita4755dddc26f46d73163393bc30c2ec9156311be
treebb5aedd91edcb90d3d1099bf3b5f1c647d35cdfd
parent6ed5705c4cf5359ecb732b09431d6df460eb6748
s390/vdso: map vdso also for statically linked binaries

s390 does not map the vdso for statically linked binaries, assuming
that this doesn't make sense. See commit 9bd807a96b55 ("[S390]
arch_setup_additional_pages arguments").

However with glibc commit d665367f596d ("linux: Enable vDSO for static
linking as default (BZ#19767)") and commit 5e855c895401 ("s390: Enable
VDSO for static linking") the vdso is also used for statically linked
binaries - if the kernel would make it available.

Therefore map the vdso always, just like all other architectures.

Reported-by: Stefan Liebler <stli@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/kernel/vdso.c