Re: [PATCH v2 2/9] vdso/gettimeofday: Validate system call existence for time() and gettimeofday()
Philippe Mathieu-Daudé <[email protected]> Wed, 1 Jul 2026 09:47:32 +0200
| Newsgroups | gmane.linux.kernel.api,gmane.linux.kernel,gmane.linux.ports.arm.kernel,gmane.linux.ports.ppc64.devel,gmane.linux.ports.mips,gmane.linux.ports.sparc |
|---|---|
| Message-ID | <[email protected]> |
On 30/6/26 09:38, Thomas WeiÃschuh wrote: > Not all architectures have the system calls for time() and > gettimeofday(). When the system call is missing, the vDSO function > should also not be present. > > Validate that. > > Signed-off-by: Thomas Weißschuh <[email protected]> > --- > lib/vdso/gettimeofday.c | 10 ++++++++++ > 1 file changed, 10 insertions(+) Reviewed-by: Philippe Mathieu-Daudé <[email protected]>