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.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, 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 B6AB5C43332 for ; Sat, 16 Jan 2021 09:08:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 931F123A5E for ; Sat, 16 Jan 2021 09:08:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727110AbhAPJIP (ORCPT ); Sat, 16 Jan 2021 04:08:15 -0500 Received: from verein.lst.de ([213.95.11.211]:43015 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726533AbhAPJIG (ORCPT ); Sat, 16 Jan 2021 04:08:06 -0500 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 Cc: Arnd Bergmann , Christoph Hellwig , Ryan Houdek , Catalin Marinas , Will Deacon , Alexander Viro , Arnd Bergmann , Christian Brauner , Andrew Morton , Minchan Kim , Aleksa Sarai , Sargun Dhillon , Miklos Szeredi , Vincenzo Frascino , Amanieu d'Antras , Willem de Bruijn , YueHaibing , Xiaoming Ni , Heiko Carstens , "Eric W. Biederman" , Joe Perches , Jan Kara , David Rientjes , Arnaldo Carvalho de Melo , "David S. Miller" , Linux ARM , "linux-kernel@vger.kernel.org" , Linux FS-devel Mailing List , Linux API , linux-arch 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.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.