On Sat, 14 Jan 2017 03:04:48 +0530, Sharath said:
> 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
You might want to do a 'git show 37c975545ec63320789962bf307f000f08fabd48'
and make sure you include *both* parts of the patch. You only did half the job.
Also, you may want to upgrade to a kernel that's not a half-decade old, so
you don't have to keep re-fixing stuff that was fixed 5 years ago.
commit 37c975545ec63320789962bf307f000f08fabd48
Author: Andy Lutomirski <luto@amacapital.net>
Date: Sat Mar 29 13:15:35 2014 -0700
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.