summaryrefslogtreecommitdiff
path: root/drivers/platform/mips
diff options
context:
space:
mode:
authorVincenzo Frascino <vincenzo.frascino@arm.com>2019-11-29 17:36:58 +0300
committerPaul Burton <paulburton@kernel.org>2019-12-02 21:50:37 +0300
commit7d2aa4bb90f5f6f1b8de8848c26042403f2d7bf9 (patch)
tree27d4180d0551ee83d6689a95a9f10e789365ac2c /drivers/platform/mips
parent87f67cc4c7b81273fd1d9f775192eeb3124562f9 (diff)
downloadlinux-7d2aa4bb90f5f6f1b8de8848c26042403f2d7bf9.tar.xz
mips: Fix gettimeofday() in the vdso library
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@letux:~# dhclient ../../../../lib/isc/unix/time.c:200: Operation not permitted root@letux:~# Restore the original behavior fixing gettimeofday() in the vDSO library. Reported-by: H. Nikolaus Schaller <hns@goldelico.com> Tested-by: H. Nikolaus Schaller <hns@goldelico.com> # CI20 with JZ4780 Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: mips-creator-ci20-dev@googlegroups.com Cc: letux-kernel@openphoenux.org Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
Diffstat (limited to 'drivers/platform/mips')
0 files changed, 0 insertions, 0 deletions