Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp8202306ybc; Fri, 29 Nov 2019 07:00:34 -0800 (PST) X-Google-Smtp-Source: APXvYqyHVusPOMv/ArJ+42tBIMYZbQUyh9DdPDcfo9RFvXkaiaLZ3A/n0TB5FigMaMLOq8Tr3kB7 X-Received: by 2002:a17:906:c2d6:: with SMTP id ch22mr62872876ejb.262.1575039634052; Fri, 29 Nov 2019 07:00:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575039634; cv=none; d=google.com; s=arc-20160816; b=c/1l2Zs8DlUJEsQy53qEd4y+HK0jlbjUwWzvw0I6vETV++BUJBx+BRvX5DXz9j7Mto AP+ts8v9sbFA+5nI0KxafiIuF0NDvS96bFNkn/+sc3OjQPJ6md8m2J/iJTidBaz2LKNp jjKNoyW8xiN/fKE54K2Xy/MpbX2ZnOMmhAdfHf7RcJHZ+aJ72uqJYbMKST70WYCE14j9 DruvhFNB7ccnrSFLjgmMJhs2OrXOuStyZ74fLAnM95AacreQPtoW27Iv7IcWHCBDeFmd 0/CFE7e14lFAC+YPUpzmjO9hZrWUdJOfVNyUY3q4ruTML/AZs2h6+AJ/Tj28pWDycoYm B9ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=wheYKfMs7JYmlAc2zaR6p49KHfggspAen//Rdl463bs=; b=ccJoPdyLQBRlJkq4XHCE+WKZM3yJdGwwshQgolaRXblL/5pxjrPFBUb1stToK0bpQt DW8y1yNLkSHmQP2A9Kp8JCtP8jY+DCO2zPdUyzUWgd/KBeddLK4uoITJSFDWIrB26e7f Xz/50Mov/e0fyRHXP+X8whivWbGWrhSFaT0CZyhhChYwEBUPTFUHSLM3EwtQEtSMXRXp sT3XTc1XPGoIxkr4K7lwjKFiQYnAN79X2+gv7u06rRnMBAhYrv3j4xT94IyxT3fngU/d qNcMpDI/4zJYyNbdDiVqwucfoP1qhB/0PTz5neO2vd80Qn1X1/HPTlkPHwUywJ+0haXP oMVA== ARC-Authentication-Results: i=1; mx.google.com; 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 dk20si9245068edb.413.2019.11.29.07.00.09; Fri, 29 Nov 2019 07:00:34 -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; 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 S1727008AbfK2O4Z (ORCPT + 99 others); Fri, 29 Nov 2019 09:56:25 -0500 Received: from foss.arm.com ([217.140.110.172]:49006 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbfK2O4Z (ORCPT ); Fri, 29 Nov 2019 09:56:25 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1659C30E; Fri, 29 Nov 2019 06:56:25 -0800 (PST) Received: from [10.37.10.52] (unknown [10.37.10.52]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id E20143F68E; Fri, 29 Nov 2019 06:56:23 -0800 (PST) Subject: Re: [PATCH] mips: Fix gettimeofday() in the vdso library To: "H. Nikolaus Schaller" Cc: Paul Burton , mips-creator-ci20-dev@googlegroups.com, letux-kernel@openphoenux.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org References: <20191129143658.12224-1-vincenzo.frascino@arm.com> <307717BD-3233-4313-BAA8-7431F4C78773@goldelico.com> From: Vincenzo Frascino Message-ID: <0b64c6bb-ffc7-059d-3cb3-012092e0fcf0@arm.com> Date: Fri, 29 Nov 2019 14:58:52 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <307717BD-3233-4313-BAA8-7431F4C78773@goldelico.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/29/19 2:52 PM, H. Nikolaus Schaller wrote: > >> Am 29.11.2019 um 15:36 schrieb Vincenzo Frascino : >> >> 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. >> >> Cc: Paul Burton >> Reported-by: H. Nikolaus Schaller >> Testes-by: H. Nikolaus Schaller # CI20 with JZ4780 > ^^^ funny typo... -> Tested-by: Ops, I copy-pasted it from your email ;) Can't trust you ;) -- Regards, Vincenzo