Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp2208402ybi; Sun, 28 Jul 2019 04:15:32 -0700 (PDT) X-Google-Smtp-Source: APXvYqyONKjm1qtNvYhpsq7Hg5z+Kn18lzi0ds26qL0MAGtTon98/bLaGRJYMGrQyQz3b5Wp6/Bl X-Received: by 2002:a17:902:8696:: with SMTP id g22mr102261527plo.249.1564312532546; Sun, 28 Jul 2019 04:15:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564312532; cv=none; d=google.com; s=arc-20160816; b=gHarDpZW8tJaUcuViVUimWXn4FZVWt7mWqlE1yYaYPMylEZPYriVI7AztohTMNnqmH ++kWEQwxfAkFMLmacclPgrv6JIcrWEBnXCAqndh7DfTmBveufeSzyzALhL9ZdfjoWfyE lSSnYagFyL5UDcoMxelCQzyUPtq76brEV0hCIx9rAMXcwGwYwbvbCUlo4PAffEhreUO1 X0O54iD+vhiGIvouQcglBCADaCAxqXhc+AijQkfNJ81IQwW8C0siSCJnr7djg1SCnwdS iI/TcWFzDLICH0CebruPxulZtIOqipVYuRsrwuahK/0QGbQ5C0xaE76F+kN7w1PTzOOY C/Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=VvKSjs5y+1lkiy0X3vRLGDhaR9jxcwkCvISRuDGJnEc=; b=uPIs339S9x0KHZjxqh7RdP9tQ29DNst9V0NFBBLeOH9X6DtO10HL3CwyQAnhmphuBC oJs9pfIlppWEKxXpLXNNGxMawSbAQ55RQxEU+w8Mysy8DCqAqBrRsOghP5Gcn7Q9qiCT U0blxvG/+q5avd8PambmHJK9GnyeqiFeW80pVuB3P7VWxDu//ER5vny/3uNAXjvaReyr rVgm2jcIv302s9O9He6FIwNFpYtpJ5xQpzKO09A/bPLaxARFqmTsJonRvm5hxtn0ZR9A J5XGx+ti4HXvWtcKy4j05lx99bOL78N9c7cB8ul2jdGlOMWxg2hlEc6ovkTv1KVnTH++ Jgqw== 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 e96si22059421plb.123.2019.07.28.04.14.49; Sun, 28 Jul 2019 04:15:32 -0700 (PDT) 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 S1726032AbfG1LNR (ORCPT + 99 others); Sun, 28 Jul 2019 07:13:17 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:51559 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725978AbfG1LNR (ORCPT ); Sun, 28 Jul 2019 07:13:17 -0400 Received: from pd9ef1cb8.dip0.t-ipconnect.de ([217.239.28.184] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1hrh6x-00022G-Ah; Sun, 28 Jul 2019 13:13:07 +0200 Date: Sun, 28 Jul 2019 13:13:06 +0200 (CEST) From: Thomas Gleixner To: Arnd Bergmann cc: Andy Lutomirski , Sean Christopherson , Kees Cook , Vincenzo Frascino , X86 ML , LKML , Paul Bolle Subject: Re: [5.2 REGRESSION] Generic vDSO breaks seccomp-enabled userspace on i386 In-Reply-To: Message-ID: References: <201907221012.41504DCD@keescook> <201907221135.2C2D262D8@keescook> <201907221620.F31B9A082@keescook> <201907231437.DB20BEBD3@keescook> <201907231636.AD3ED717D@keescook> <20190726180103.GE3188@linux.intel.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII 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 On Sun, 28 Jul 2019, Arnd Bergmann wrote: > We also need to decide what to do about __cvdso_clock_gettime32() > once we add a compile-time option to make all time32 syscalls > to return an error. Returning -ENOSYS from the clock_gettime32() > fallback is probably a good idea, but for consistency the > __vdso_clock_gettime() call should either always return the > same in that configuration, or be left out from the vdso build > endirely. Either way works and it does not make a difference :) Thanks, tglx