Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5186802ybl; Tue, 14 Jan 2020 05:04:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzL10EX1chc5s/oeHBynyEAbRhl/SGOdgRTE+r4O/ux/Z994yu6Zuyo/OgOgFXAz6HjTh5A X-Received: by 2002:aca:3241:: with SMTP id y62mr16244495oiy.31.1579007085491; Tue, 14 Jan 2020 05:04:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579007085; cv=none; d=google.com; s=arc-20160816; b=YFlYUl7sVyyMvzv4JyAsLrs2PPcMY2O/s+FGKVfbVCVCpAU2HdoS8i0UjEW15o/5BM mSRzVtnn0ZH5QzKKuTRjlbGWxCc1Qx9/oiLwj3BEW16qmfb8gLQU7IAQjzlDEBAYdkGx C6bpD6zIbF8pSHOsYoUBjABXdrfVeDcVy+mzNj7fPs74ujmzGj8XbYpLwnTLB7DEVc52 3tMJ1Jl5nfM9jktrNIOJw+0vrOHfqXLAEBB6DoOj/BGaUdzgsiB+YhnpS9YqE6XLIM8p aYohvDL7XgaYk7yeGBO6ECqs0Y14jsSh1JTs2WXePpl4rdoyrSwV3cwlh7MGdFf+Q+sd qTMw== 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 :robot-unsubscribe:robot-id:message-id:mime-version:references :in-reply-to:cc:subject:to:reply-to:from:date; bh=i4yws5YSQoUOdimxTwRxdbmIyzToSIYx4N5PnaWtpWU=; b=A0TSnOQzDnsRPsxn3r5vrHMokNPGnQix+G4fc9kbSi/IbXijcqbYEVh4bf6xUjrlQZ aYti6jW94FAbxZg6Oh1tuX/TMG6GZ0Ndodib2274SDPwzRAO6Eywh6mt9k3sm6cl9SaS BbrVNUhyAMofEnqMe+Sk8dZ5T44YRxaj2m7HeJ5VG42kOj/K3e+K/wN70WZmkOSPyfuk qOEOJReKyUsiFd1KR/Ig8CM6KBbFZq9LNbzdn8nHtqBo82+g816Vwsh1SiV8+BRvRljO 25szCcit2n/0VJ/HgGAFrdacBV8GhzBEu01nlypw7t1zBAKP8UoG/7vKAsdky+i8wnHo atiA== 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 i12si7287292oik.171.2020.01.14.05.04.33; Tue, 14 Jan 2020 05:04:45 -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 S1729222AbgANNDG (ORCPT + 99 others); Tue, 14 Jan 2020 08:03:06 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:43282 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729075AbgANNCq (ORCPT ); Tue, 14 Jan 2020 08:02:46 -0500 Received: from [5.158.153.53] (helo=tip-bot2.lab.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1irLqE-0004qj-IA; Tue, 14 Jan 2020 14:02:42 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id BCAAE1C0859; Tue, 14 Jan 2020 14:02:23 +0100 (CET) Date: Tue, 14 Jan 2020 13:02:23 -0000 From: "tip-bot2 for Vincenzo Frascino" Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] lib/vdso: Remove VDSO_HAS_32BIT_FALLBACK Cc: Vincenzo Frascino , Thomas Gleixner , x86 , LKML In-Reply-To: <20190830135902.20861-5-vincenzo.frascino@arm.com> References: <20190830135902.20861-5-vincenzo.frascino@arm.com> MIME-Version: 1.0 Message-ID: <157900694361.396.14575643195272387916.tip-bot2@tip-bot2> X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The following commit has been merged into the timers/core branch of tip: Commit-ID: b767081c07a400ff1c6f95b87639a9405886e7a6 Gitweb: https://git.kernel.org/tip/b767081c07a400ff1c6f95b87639a9405886e7a6 Author: Vincenzo Frascino AuthorDate: Fri, 30 Aug 2019 14:58:58 +01:00 Committer: Thomas Gleixner CommitterDate: Tue, 14 Jan 2020 12:20:44 +01:00 lib/vdso: Remove VDSO_HAS_32BIT_FALLBACK VDSO_HAS_32BIT_FALLBACK was introduced to address a regression which caused seccomp to deny access to the applications to clock_gettime64() and clock_getres64() because they are not enabled in the existing filters. The purpose of VDSO_HAS_32BIT_FALLBACK was to simplify the conditional implementation of __cvdso_clock_get*time32() variants. Now that all the architectures that support the generic vDSO library have been converted to support the 32 bit fallbacks the conditional can be removed. Signed-off-by: Vincenzo Frascino Signed-off-by: Thomas Gleixner Link: https://lore.kernel.org/r/20190830135902.20861-5-vincenzo.frascino@arm.com References: c60a32ea4f45 ("lib/vdso/32: Provide legacy syscall fallbacks") --- lib/vdso/gettimeofday.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lib/vdso/gettimeofday.c b/lib/vdso/gettimeofday.c index 8e77071..cd3aacf 100644 --- a/lib/vdso/gettimeofday.c +++ b/lib/vdso/gettimeofday.c @@ -126,13 +126,8 @@ __cvdso_clock_gettime32(clockid_t clock, struct old_timespec32 *res) ret = __cvdso_clock_gettime_common(clock, &ts); -#ifdef VDSO_HAS_32BIT_FALLBACK if (unlikely(ret)) return clock_gettime32_fallback(clock, res); -#else - if (unlikely(ret)) - ret = clock_gettime_fallback(clock, &ts); -#endif if (likely(!ret)) { res->tv_sec = ts.tv_sec; @@ -242,13 +237,8 @@ __cvdso_clock_getres_time32(clockid_t clock, struct old_timespec32 *res) ret = __cvdso_clock_getres_common(clock, &ts); -#ifdef VDSO_HAS_32BIT_FALLBACK if (unlikely(ret)) return clock_getres32_fallback(clock, res); -#else - if (unlikely(ret)) - ret = clock_getres_fallback(clock, &ts); -#endif if (likely(!ret && res)) { res->tv_sec = ts.tv_sec;