Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp2669189pxk; Sun, 20 Sep 2020 12:29:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyxgtLUBaNBAPCk6+dXfzLVnbHVnFrtTPq/ZrpXIxpWN7ViIsaMG/6cHpw1og6EbPtmgDQ1 X-Received: by 2002:a50:fb99:: with SMTP id e25mr48704426edq.281.1600630193350; Sun, 20 Sep 2020 12:29:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600630193; cv=none; d=google.com; s=arc-20160816; b=ibNvXEsXdQmJ8d3MluXdDJHhQn4NsX2H3Zn5E3o9HivS1uyxXDzLd5oi/NZuilhCK8 BMUKinjIk5zM17eegYZ5VoM12sKWP2G6KpAN98ZSWQdI6JdE5IWFZIw1dIOaVqa8EJlT O8dNJ4+ySQ0Xc0pDZz5L1/4Pz2XTxF0YNML+/UYQVJuZUtM/bzPoLkhs2XTsg7WzDny0 zEW2u+XrodXKN7z2D2f+bNoeAXLEiy7zaazP2J2Dvp3f4iEsHnH3wE4HJUVVpS41pmqK +SlGMnOwBNcbamgl2/VWzBXckFaKqimxUp9E6YywVjuS+VKRMx1wGI3NCzki+rOuUBPS Zg+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=DURiQpu4DPVOdsw4fRDaTFOO9elwW7fG7hlQiT1E7WI=; b=IRLn6VEAzHPXRELxMrSAWPlU/kvHTg22AllxuGrYGXA1NbHlQBHDTAGc9fHP8eUBsI sGtrY7wHQo0iomfO5JrY7DIwl7iwqnEXzJkBlCJog9I0crM5FkNI0ir2MpF1Xpdjrk7b XRpy+LODa+b2Qkd5ibmq+yoYMYtgLNUGq75FIgQDfn2HLgDNZFMJhzkVRbdyVJe9IA5w YMwJuW0/3JV+oq6gM5Wq+iBAu4oXA4umKgkigiE2S4c3KVZ8+DxFzJKVVbbUPkkSpTpQ RKCRhxgfzJ4CN0Nwhkc7YtIvkA/zT5+wNbcngMFmBdHOOTs9v39/U9YbUnV/82BKfarj 2eIA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JjkWdzs8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dr7si6950849ejc.447.2020.09.20.12.29.29; Sun, 20 Sep 2020 12:29:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=JjkWdzs8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726151AbgITT2f (ORCPT + 99 others); Sun, 20 Sep 2020 15:28:35 -0400 Received: from mail.kernel.org ([198.145.29.99]:34124 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726109AbgITT2e (ORCPT ); Sun, 20 Sep 2020 15:28:34 -0400 Received: from mail-wr1-f52.google.com (mail-wr1-f52.google.com [209.85.221.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B83EB2145D for ; Sun, 20 Sep 2020 19:28:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1600630114; bh=MvoJlqBNzeGMhQj08qmauzE2jefx91WtS5O4xpiUc2w=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JjkWdzs8l4VG7axJD8j1N7zsDNyHx01VvIoenQP0XrkbTc8PSIPFDC+ocOwK5vc2K RrxibNtkQ6Bu2l0c6FA8qAmsm6Zk+9gHRRr0jrtaswknN6/RVSUvSl9tUHIGyxATeV mD5rOKF8ZZ6lwaLYgtTds2laysQr8iIjXXnAGF54= Received: by mail-wr1-f52.google.com with SMTP id c18so10566712wrm.9 for ; Sun, 20 Sep 2020 12:28:33 -0700 (PDT) X-Gm-Message-State: AOAM531FqzPBQrH1n3YdZYj+TojjfsRqo1j8lKHESZ7mIeylGt21FiFI 89w8WfXaiA6ZrmDphdmZ+clqiReTOPLSI74YbyUS8A== X-Received: by 2002:a5d:6a47:: with SMTP id t7mr48111800wrw.75.1600630112287; Sun, 20 Sep 2020 12:28:32 -0700 (PDT) MIME-Version: 1.0 References: <20200918124533.3487701-1-hch@lst.de> <20200918124533.3487701-2-hch@lst.de> <20200920151510.GS32101@casper.infradead.org> <20200920180742.GN3421308@ZenIV.linux.org.uk> <20200920190159.GT32101@casper.infradead.org> <20200920191031.GQ3421308@ZenIV.linux.org.uk> <20200920192259.GU32101@casper.infradead.org> In-Reply-To: <20200920192259.GU32101@casper.infradead.org> From: Andy Lutomirski Date: Sun, 20 Sep 2020 12:28:20 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/9] kernel: add a PF_FORCE_COMPAT flag To: Matthew Wilcox Cc: Al Viro , Christoph Hellwig , Andrew Morton , Jens Axboe , Arnd Bergmann , David Howells , linux-arm-kernel , X86 ML , LKML , "open list:MIPS" , Parisc List , linuxppc-dev , linux-s390 , sparclinux , linux-block , Linux SCSI List , Linux FS Devel , linux-aio , io-uring@vger.kernel.org, linux-arch , Linux-MM , Network Development , keyrings@vger.kernel.org, LSM List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Sep 20, 2020 at 12:23 PM Matthew Wilcox wrote: > > On Sun, Sep 20, 2020 at 08:10:31PM +0100, Al Viro wrote: > > IMO it's much saner to mark those and refuse to touch them from io_uring... > > Simpler solution is to remove io_uring from the 32-bit syscall list. > If you're a 32-bit process, you don't get to use io_uring. Would > any real users actually care about that? We could go one step farther and declare that we're done adding *any* new compat syscalls :) -- Andy Lutomirski AMA Capital Management, LLC