__vdso_gettimeofday on x86 32bit app on 64bit kernel

Sharath sharath.b814 at gmail.com
Fri Jan 13 17:08:52 EST 2017


hi,

yes, I have fixed both parts of the commit
"37c975545ec63320789962bf307f000f08fabd48".
Actually the changes under "LINUX_2.5 {" was not needed in my case cause
those symbols were not there in base kernel.

These changes seems to be not enough.

Well this is a production env & hence moving to newer version will be
little late.

Thanks
SB

On Sat, Jan 14, 2017 at 3:19 AM, <Valdis.Kletnieks at vt.edu> wrote:

> 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 at 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.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20170114/e638164f/attachment.html 


More information about the Kernelnewbies mailing list