Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp8218924ybc; Fri, 29 Nov 2019 07:12:01 -0800 (PST) X-Google-Smtp-Source: APXvYqwvPKZElZmsKPaf12MwOpmBCjsFJbyxagQrrJGKrZUsEK1L7/+IKvJwA7Im6Cy9UvrFdtmC X-Received: by 2002:a17:906:7c5:: with SMTP id m5mr60945425ejc.231.1575040321433; Fri, 29 Nov 2019 07:12:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575040321; cv=none; d=google.com; s=arc-20160816; b=QMw4iVrOH09PO13pvWadTXRl8X38qII0Ty+cTa0+3LlOmhC2tiz1Zxh05MJA79uy4X J1UB9t91Lyq+hgtviwLdXZL9ZDAxNzxImDJiGWM5S70qYZ6VUpo0xxKxW9xHzvcx9ohJ xOED5F5uUEg+cISw/z3zUH5bJZG/dMx9/y28qRiniol6KSUDL8wDrMO5V4Z1WKQJY6+4 PAO/dhEqH16wBaxjR7gZW3CO7gh6pnvBZAE6O+R+pSfRoeGMI08OLnylJy8K9zs8Hm2Z zycRtm468xaptsm/NfQ3YDNf+0GYGZ+dX6VdjapyPJ+m2NLJoU0JzvsRGYrk40R8jKFf bpkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=0WKSQYG0YP5GIwNWknC0InKQVJvBVr74yYBpeas3RNM=; b=DaPKg0RrY1gwNl0YAaQ24vzjcmt0ongkpsf0IAQ0wilS1XefvSO4pMfvnVRVnsx5yZ JnR/7pSLBnWuXfVh+FuMMIcX4abDWW/UZfyfSCVLVCHdjJRvvPhCws4Tbci0T8oHBLKR YHMuLs9BA//0RE9iRMLudjAQBbjKdNtS/kIoTe6VIrsNY+khclfdZREB6wzG5UN04GVE N/q42VejVlsJmxdoaI84wphz6kvI/q5MhFRjLtSlfQPeIiRDHCRGhVDIRyTOHynM4+An WY2aZMO1Z5frNV5Xl0KC/FwJPDIQ2Rj0rQezl1y0KD+pNeU0ObpxPPNakSd8vkORMiHw eYXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=Uxyrhx29; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h24si14046899ejd.145.2019.11.29.07.11.36; Fri, 29 Nov 2019 07:12:01 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@goldelico.com header.s=strato-dkim-0002 header.b=Uxyrhx29; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727009AbfK2PJy (ORCPT + 99 others); Fri, 29 Nov 2019 10:09:54 -0500 Received: from mo4-p01-ob.smtp.rzone.de ([85.215.255.53]:31896 "EHLO mo4-p01-ob.smtp.rzone.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbfK2PJx (ORCPT ); Fri, 29 Nov 2019 10:09:53 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1575040192; s=strato-dkim-0002; d=goldelico.com; h=To:References:Message-Id:Cc:Date:In-Reply-To:From:Subject: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=0WKSQYG0YP5GIwNWknC0InKQVJvBVr74yYBpeas3RNM=; b=Uxyrhx294kdS1ofE8vxCwKw+LJs9d7S++dU237OTHePzyLZ2MVdQvl8yob9IU6SfCm 2Hx7rerm+w72XgfBH/VZP0pryXdVbZYrhXKlf5WLEU8quc1v9BLYN5757sNh1LLvuCoB //Wv3A6+agIuojUt6jUKYmt9Garp2rsFAunWJHLdeyq5BTOIq+RKr7IciQ9dGfV8XxBK +HHNeTfkvrBEq9DZzpFYEr0sRjHXJUuBomTU3pKewL9eoSYK6TUviOWOCODC+d7nvvZw s+rOPuNGDZzBbIhO50pLW6JSN89iJIRfsVUuA0bh858IC5RHrGJ8RgdCMUNWrQPJRyfj nAnQ== X-RZG-AUTH: ":JGIXVUS7cutRB/49FwqZ7WcJeFKiMgPgp8VKxflSZ1P34KBj7wpz8NMGH/vgwDeoHw==" X-RZG-CLASS-ID: mo00 Received: from imac.fritz.box by smtp.strato.de (RZmta 45.0.2 DYNA|AUTH) with ESMTPSA id y07703vATF9pTbf (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (curve X9_62_prime256v1 with 256 ECDH bits, eq. 3072 bits RSA)) (Client did not present a certificate); Fri, 29 Nov 2019 16:09:51 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH] mips: Fix gettimeofday() in the vdso library From: "H. Nikolaus Schaller" In-Reply-To: <0b64c6bb-ffc7-059d-3cb3-012092e0fcf0@arm.com> Date: Fri, 29 Nov 2019 16:09:51 +0100 Cc: Paul Burton , mips-creator-ci20-dev@googlegroups.com, letux-kernel@openphoenux.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <20191129143658.12224-1-vincenzo.frascino@arm.com> <307717BD-3233-4313-BAA8-7431F4C78773@goldelico.com> <0b64c6bb-ffc7-059d-3cb3-012092e0fcf0@arm.com> To: Vincenzo Frascino X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 29.11.2019 um 15:58 schrieb Vincenzo Frascino = : >=20 > On 11/29/19 2:52 PM, H. Nikolaus Schaller wrote: >>=20 >>> Am 29.11.2019 um 15:36 schrieb Vincenzo Frascino = : >>>=20 >>> 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. >>>=20 >>> With the introduction of the unified vDSO library on mips this = behavior >>> is not honored anymore by the kernel in the case of gettimeofday(). >>>=20 >>> The issue has been noticed and reported due to a dhclient failure on = the >>> CI20 board: >>>=20 >>> root@letux:~# dhclient >>> ../../../../lib/isc/unix/time.c:200: Operation not permitted >>> root@letux:~# >>>=20 >>> Restore the original behavior fixing gettimeofday() in the vDSO = library. >>>=20 >>> Cc: Paul Burton >>> Reported-by: H. Nikolaus Schaller >>> Testes-by: H. Nikolaus Schaller # CI20 with = JZ4780 >> ^^^ funny typo... -> Tested-by: >=20 > Ops, I copy-pasted it from your email ;) Can't trust you ;) No :) Well, typos happen and nobody seems to notice. My favourite: 5f9e832c137075045d15cd6899ab0505cfb2ca4b BR, Nikolaus