Bug 213421

Summary: vdso(7) misses the y2038 compliant gettime for ppc/32
Product: Documentation Reporter: Christophe Leroy (christophe.leroy)
Component: man-pagesAssignee: documentation_man-pages (documentation_man-pages)
Status: RESOLVED DOCUMENTED    
Severity: normal CC: alx
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Christophe Leroy 2021-06-12 07:13:49 UTC
https://man7.org/linux/man-pages/man7/vdso.7.html (2021-03-22)

In ppc32 functions section, the Y2038 compliant function __kernel_clock_gettime64() is missing.

It was added by commit d0e3fc69d00d ("powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32")
Comment 1 Alejandro Colomar 2021-07-03 16:59:27 UTC
Hi Christophe,

Thanks for the report.
I applied the following patch.

Thanks,

Alex

---
Author: Alejandro Colomar <alx.manpages@gmail.com>
Date:   Sat Jul 3 18:54:52 2021 +0200

    vdso.7: Add y2038 compliant gettime for ppc/32
    
    Christophe Leroy via Bugzilla:
    
    [
    https://man7.org/linux/man-pages/man7/vdso.7.html (2021-03-22)
    
    In ppc32 functions section, the Y2038 compliant function
    __kernel_clock_gettime64() is missing.
    
    It was added by commit d0e3fc69d00d
    ("powerpc/vdso: Provide __kernel_clock_gettime64() on vdso32")
    ]
    
    .../linux$ git describe d0e3fc69d00d
    v5.10-rc2-76-gd0e3fc69d00d
    
    Reported-by: Christophe Leroy <christophe.leroy@csgroup.eu>
    Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>

diff --git a/man7/vdso.7 b/man7/vdso.7
index 1d527c38e..5fb22ab5e 100644
--- a/man7/vdso.7
+++ b/man7/vdso.7
@@ -371,6 +371,7 @@ symbol      version
 _
 __kernel_clock_getres  LINUX_2.6.15
 __kernel_clock_gettime LINUX_2.6.15
+__kernel_clock_gettime64       LINUX_5.10
 __kernel_datapage_offset       LINUX_2.6.15
 __kernel_get_syscall_map       LINUX_2.6.15
 __kernel_get_tbfreq    LINUX_2.6.15