Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932632AbbLHFBy (ORCPT ); Tue, 8 Dec 2015 00:01:54 -0500 Received: from mail-wm0-f54.google.com ([74.125.82.54]:35639 "EHLO mail-wm0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750750AbbLHFBx (ORCPT ); Tue, 8 Dec 2015 00:01:53 -0500 Date: Tue, 8 Dec 2015 06:01:48 +0100 From: Ingo Molnar To: Al Viro Cc: Arnd Bergmann , Andy Lutomirski , Linus Torvalds , X86 ML , "linux-kernel@vger.kernel.org" , linux-arch , David Miller Subject: Re: [PSEUDOPATCH] rename is_compat_task Message-ID: <20151208050148.GA3968@gmail.com> References: <11525805.FykVOSlruZ@wuerfel> <20151208043648.GA2182@gmail.com> <20151208044937.GK20997@ZenIV.linux.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151208044937.GK20997@ZenIV.linux.org.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1309 Lines: 29 * Al Viro wrote: > On Tue, Dec 08, 2015 at 05:36:49AM +0100, Ingo Molnar wrote: > > > So are there any deep objections to doing this rename in a single, quick, > > pain-minimized fashion right at the end of the next merge window, when the > > amount of pending patches in various maintainer trees is at a cyclical > > minimum? We can also keep an is_compat_task() migratory define for one more > > cycle just in case. > > Again, what about sparc? There we have both 64bit and 32bit syscalls possible > to issue from the same process *and* no indication which trap had been used; how > do you implement is_compat_syscall() there? There's a TIF_32BIT, which is used > by mmap() and friends, signal delivery, etc., but that's not a matter of which > syscall flavour had been issued. Said that, arch/sparc doesn't use > is_compat_task(); it's open-coded everywhere... Hm, so if Sparc has no notion of compat-ness of the system call then how does it implement runtime compat checks, such as AUDIT_ARCH et al? Thanks, Ingo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/