From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 53BCBC433DB for ; Sat, 16 Jan 2021 09:09:36 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1F9B423A59 for ; Sat, 16 Jan 2021 09:09:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1F9B423A59 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=lst.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=U3WvbhkR80u5hn8wlJNFI+ntFxxGvj8pGJlxz64jXxs=; b=N8pVm13QSgUVGXa/iHHS6RjQJ SkhyrKO5Mn0C58MVE8cTcWdvroST98TAcQWM4YRY9gg/Y8EiFb3eHmUbvYCHBXDrWw5T/pJZvbE3t A3eKbcBHGVzldvzWBpwOvrSxX7pXaYgvvA59KJ6knNYGOVRznyVCxZ954WoT9Z2jPo9rHvjhUJYv9 6cOT5/QGISfJqJuXM0Oej6TmeLLgUI+H43ZbpLqLgiDT81hQd+QS7vQlSR+Vqdp2s2cAXl/iv+FYs xnokBuyUe+d+V/zeqdq7YZgZwfKdb1kVaa3w8+S66eJi3NpYGvdOS3ZIxL6LJU/vI527cd20beR26 SHJD0ikHw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0hYc-00088g-EG; Sat, 16 Jan 2021 09:07:42 +0000 Received: from verein.lst.de ([213.95.11.211]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l0hYQ-00080R-Kl for linux-arm-kernel@lists.infradead.org; Sat, 16 Jan 2021 09:07:31 +0000 Received: by verein.lst.de (Postfix, from userid 2407) id 2912A6736F; Sat, 16 Jan 2021 10:07:22 +0100 (CET) Date: Sat, 16 Jan 2021 10:07:21 +0100 From: Christoph Hellwig To: Andy Lutomirski Subject: Re: [PATCH] Adds a new ioctl32 syscall for backwards compatibility layers Message-ID: <20210116090721.GA30277@lst.de> References: <20210106064807.253112-1-Sonicadvance1@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210116_040730_863378_1621214D X-CRM114-Status: GOOD ( 13.51 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jan Kara , Catalin Marinas , Christian Brauner , Vincenzo Frascino , Will Deacon , Christoph Hellwig , linux-arch , YueHaibing , David Rientjes , Miklos Szeredi , Arnd Bergmann , Ryan Houdek , Heiko Carstens , Arnaldo Carvalho de Melo , Joe Perches , Aleksa Sarai , Alexander Viro , Xiaoming Ni , Linux ARM , Arnd Bergmann , Willem de Bruijn , Amanieu d'Antras , Linux API , "linux-kernel@vger.kernel.org" , Minchan Kim , "Eric W. Biederman" , Sargun Dhillon , Linux FS-devel Mailing List , Andrew Morton , "David S. Miller" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Fri, Jan 15, 2021 at 04:07:46PM -0800, Andy Lutomirski wrote: > Finally, I'm not convinced that this patch works correctly. We have > in_compat_syscall(), and code that uses it may well be reachable from > ioctl. ioctls are the prime user of in_compat_syscall(). > I personally would like to see in_compat_syscall() go away, > but some other people (Hi, Christoph!) disagree, and usage seems to be > increasing, not decreasing. I'm absolutely against it going away. in_compat_syscall helped to remove so much crap compared to the explicit compat syscalls. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel