Bug 213421 - vdso(7) misses the y2038 compliant gettime for ppc/32
Summary: vdso(7) misses the y2038 compliant gettime for ppc/32
Status: RESOLVED DOCUMENTED
Alias: None
Product: Documentation
Classification: Unclassified
Component: man-pages (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: documentation_man-pages@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-12 07:13 UTC by Christophe Leroy
Modified: 2021-07-03 16:59 UTC (History)
1 user (show)

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.