Re: __vdso_gettimeofday on x86 32bit app on 64bit kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx> 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@xxxxxxxxxxxxxx>
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.



_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux