__vdso_gettimeofday on x86 32bit app on 64bit kernel

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

 



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;
_______________________________________________
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