[Letux-kernel] [PATCH] mips: Fix gettimeofday() in the vdso library

Paul Burton paulburton at kernel.org
Mon Dec 2 20:48:19 CET 2019


Vincenzo Frascino wrote:
> The libc provides a discovery mechanism for vDSO library and its
> symbols. When a symbol is not exposed by the vDSOs the libc falls back
> on the system calls.
> With the introduction of the unified vDSO library on mips this behavior
> is not honored anymore by the kernel in the case of gettimeofday().
> The issue has been noticed and reported due to a dhclient failure on the
> CI20 board:
> root at letux:~# dhclient
> ../../../../lib/isc/unix/time.c:200: Operation not permitted
> root at letux:~#
> Restore the original behavior fixing gettimeofday() in the vDSO library.

Applied to mips-fixes.

> commit 7d2aa4bb90f5
> https://git.kernel.org/mips/c/7d2aa4bb90f5
> Reported-by: H. Nikolaus Schaller <hns at goldelico.com>
> Tested-by: H. Nikolaus Schaller <hns at goldelico.com> # CI20 with JZ4780
> Signed-off-by: Vincenzo Frascino <vincenzo.frascino at arm.com>
> Signed-off-by: Paul Burton <paulburton at kernel.org>


[ This message was auto-generated; if you believe anything is incorrect
  then please email paulburton at kernel.org to report it. ]

More information about the Letux-kernel mailing list