__vdso_gettimeofday on x86 32bit app on 64bit kernel
Sharath
sharath.b814 at gmail.com
Fri Jan 13 16:34:48 EST 2017
I am trying to get __vdso_gettimeofday() for 32bit applications on a 64bit
kernel. The changes I have tried is below, with these changes I am not able
to get this working. what am I missing.? on the same kernel
__vdso_gettimeofday for 64bit apps is able to use it.
My kernel version is :- 3.4.91
diff --git a/arch/x86/vdso/vdso32/vdso32.lds.S
b/arch/x86/vdso/vdso32/vdso32.lds.S
index 976124b..2ee34b3 100644
--- a/arch/x86/vdso/vdso32/vdso32.lds.S
+++ b/arch/x86/vdso/vdso32/vdso32.lds.S
@@ -19,11 +19,21 @@ ENTRY(__kernel_vsyscall);
*/
VERSION
{
+ LINUX_2.6 {
+ global:
+ __vdso_clock_gettime;
+ __vdso_gettimeofday;
+ __vdso_time;
+ };
+
LINUX_2.5 {
global:
__kernel_vsyscall;
__kernel_sigreturn;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170114/fd291cd8/attachment.html
More information about the Kernelnewbies
mailing list