diff options
| author | Andy Lutomirski <luto@amacapital.net> | 2014-03-29 16:15:35 -0400 |
|---|---|---|
| committer | H. Peter Anvin <hpa@zytor.com> | 2014-03-30 13:08:38 -0400 |
| commit | 37c975545ec63320789962bf307f000f08fabd48 (patch) | |
| tree | 31ff4742f5a1c6d852172d264cc4e959011e836f | |
| parent | b9a4a56c1e5c72eac92d18aa48250a8c965632be (diff) | |
x86, vdso: Fix the symbol versions on the 32-bit vDSO
The new symbols provide the same API as the 64-bit variants, so they
should have the same symbol version name. This can't break
userspace, since these symbols are new for 32-bit Linux.
Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Cc: Stefani Seibold <stefani@seibold.net>
Link: http://lkml.kernel.org/r/0a869bce03d25619565b1eee7d69a4fd15fd203a.1396124118.git.luto@amacapital.net
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| -rw-r--r-- | arch/x86/vdso/vdso32/vdso32.lds.S | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/arch/x86/vdso/vdso32/vdso32.lds.S b/arch/x86/vdso/vdso32/vdso32.lds.S index 28c460703bbc..aadb8b9994cd 100644 --- a/arch/x86/vdso/vdso32/vdso32.lds.S +++ b/arch/x86/vdso/vdso32/vdso32.lds.S | |||
| @@ -23,14 +23,18 @@ ENTRY(__kernel_vsyscall); | |||
| 23 | */ | 23 | */ |
| 24 | VERSION | 24 | VERSION |
| 25 | { | 25 | { |
| 26 | LINUX_2.6 { | ||
| 27 | global: | ||
| 28 | __vdso_clock_gettime; | ||
| 29 | __vdso_gettimeofday; | ||
| 30 | __vdso_time; | ||
| 31 | }; | ||
| 32 | |||
| 26 | LINUX_2.5 { | 33 | LINUX_2.5 { |
| 27 | global: | 34 | global: |
| 28 | __kernel_vsyscall; | 35 | __kernel_vsyscall; |
| 29 | __kernel_sigreturn; | 36 | __kernel_sigreturn; |
| 30 | __kernel_rt_sigreturn; | 37 | __kernel_rt_sigreturn; |
| 31 | __vdso_clock_gettime; | ||
| 32 | __vdso_gettimeofday; | ||
| 33 | __vdso_time; | ||
| 34 | local: *; | 38 | local: *; |
| 35 | }; | 39 | }; |
| 36 | } | 40 | } |
