From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Sat, 16 Jan 2021 10:07:21 +0100 From: Christoph Hellwig 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: List-ID: 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 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.