mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: Fix the symbol versions on the 32-bit vDSO
@ 2014-03-29 20:15 Andy Lutomirski
  2014-03-30  6:33 ` Stefani Seibold
  2014-03-30 17:28 ` [tip:x86/vdso] x86, vdso: " tip-bot for Andy Lutomirski
  0 siblings, 2 replies; 7+ messages in thread
From: Andy Lutomirski @ 2014-03-29 20:15 UTC (permalink / raw)
  To: H. Peter Anvin, X86 ML; +Cc: Stefani Seibold, linux-kernel, Andy Lutomirski

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>
---
 arch/x86/vdso/vdso32/vdso32.lds.S | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/arch/x86/vdso/vdso32/vdso32.lds.S b/arch/x86/vdso/vdso32/vdso32.lds.S
index 28c4607..aadb8b9 100644
--- a/arch/x86/vdso/vdso32/vdso32.lds.S
+++ b/arch/x86/vdso/vdso32/vdso32.lds.S
@@ -23,14 +23,18 @@ ENTRY(__kernel_vsyscall);
  */
 VERSION
 {
+	LINUX_2.6 {
+	global:
+		__vdso_clock_gettime;
+		__vdso_gettimeofday;
+		__vdso_time;
+	};
+
 	LINUX_2.5 {
 	global:
 		__kernel_vsyscall;
 		__kernel_sigreturn;
 		__kernel_rt_sigreturn;
-		__vdso_clock_gettime;
-		__vdso_gettimeofday;
-		__vdso_time;
 	local: *;
 	};
 }
-- 
1.9.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-03-30 19:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-29 20:15 [PATCH] x86: Fix the symbol versions on the 32-bit vDSO Andy Lutomirski
2014-03-30  6:33 ` Stefani Seibold
2014-03-30  6:49   ` Andy Lutomirski
2014-03-30 16:59   ` H. Peter Anvin
2014-03-30 19:00     ` Stefani Seibold
2014-03-30 19:09       ` H. Peter Anvin
2014-03-30 17:28 ` [tip:x86/vdso] x86, vdso: " tip-bot for Andy Lutomirski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome