Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4297892ybl; Mon, 13 Jan 2020 11:12:36 -0800 (PST) X-Google-Smtp-Source: APXvYqxk0opjbXHd8kealoBANE7+H2TQ/wei4j+uN+ySnZinAoU2rFCP3qimAZxoFpQP2eZ96eAQ X-Received: by 2002:aca:dc04:: with SMTP id t4mr13277762oig.51.1578942756834; Mon, 13 Jan 2020 11:12:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578942756; cv=none; d=google.com; s=arc-20160816; b=KO3NraGGDcKir0ysQOyRIOcpImkjRFj2ysWo3oQFx9AUZywJ+LtuJ/IM8lFkBRZ0ex KxZHpR8N6iz87mOrj9Ktf+a+eZzPtScvQ8PNKYoGJmRF+KCEk0D7BVMCpmp0/PgBCYsk vOcnbwvE9beg9ZFH2/xQx/PgcWpky6sNdmwA6MShqmwX0DEOn6833wQ/Q08nRb84R8Pl yeuIx9lDJI4qcpbXSEZUe9JyCeo/Cm/IHIzMzV39NyAT2b5OoO5J1RE85cAcan0i6FOP pvnis7SWogdEnxLVDRAcRMawkLmfKgwy9qiN4lKFERv656TCq07sGyfgX9YauVSd75cX lZpg== 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=jerNPyQo7c3FpHERSNe/Zyh0cYN8e90lqm3/IpCSHr8=; b=p2thBMmRSqwR4sgDzm33GwMXubLZFMSptGnMSZcmtIyTtTPGHTI+wuqxZNkn20+ApU NmSJN5NhRmmHAUl2gftlA7qFQviAWuR4wnlJUDr2DMbcakSZBB9TV3e+eXF4z5F0vmFb l/5pBiZA7J61Xofg/4KrIYWPoOmf5JJYAr5zr6xH2x8iulrzrpOOoenFUAoAg9nF9HVy Ap8e4IrNhyVY/65oyGuLxiftkAwiaqw9HY9fIQ2XVQZfFXiaAcUUx92NZAjIC4XJiCwA VH44x0aUSvzEku+ps7R9SylqBSagcR2WUmt3CduMRVmgSw1YJAGlNsSHY8KnZTEu+RBU fqvg== 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 b18si6001833oib.170.2020.01.13.11.12.24; Mon, 13 Jan 2020 11:12:36 -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 S1729219AbgAMTKa (ORCPT + 99 others); Mon, 13 Jan 2020 14:10:30 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:40008 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729027AbgAMTJy (ORCPT ); Mon, 13 Jan 2020 14:09:54 -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 1ir55y-0001Cr-My; Mon, 13 Jan 2020 20:09:50 +0100 Received: from [127.0.1.1] (localhost [IPv6:::1]) by tip-bot2.lab.linutronix.de (Postfix) with ESMTP id B109B1C18F2; Mon, 13 Jan 2020 20:09:33 +0100 (CET) Date: Mon, 13 Jan 2020 19:09:33 -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: <157894257349.19145.11717813977643248791.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: 746bc1f8e7efa210881405c52ee3729406fa4e95 Gitweb: https://git.kernel.org/tip/746bc1f8e7efa210881405c52ee3729406fa4e95 Author: Vincenzo Frascino AuthorDate: Fri, 30 Aug 2019 14:58:58 +01:00 Committer: Thomas Gleixner CommitterDate: Fri, 10 Jan 2020 21:14:05 +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;