Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932755AbbLHFPN (ORCPT ); Tue, 8 Dec 2015 00:15:13 -0500 Received: from zeniv.linux.org.uk ([195.92.253.2]:38963 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751345AbbLHFPK (ORCPT ); Tue, 8 Dec 2015 00:15:10 -0500 Date: Tue, 8 Dec 2015 05:15:05 +0000 From: Al Viro To: Ingo Molnar 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: <20151208051505.GL20997@ZenIV.linux.org.uk> References: <11525805.FykVOSlruZ@wuerfel> <20151208043648.GA2182@gmail.com> <20151208044937.GK20997@ZenIV.linux.org.uk> <20151208050148.GA3968@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151208050148.GA3968@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 698 Lines: 14 On Tue, Dec 08, 2015 at 06:01:48AM +0100, Ingo Molnar wrote: > 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? Badly. Things like compat_sys_ioctl() vs. ioctl() work (we use different arrays of function pointers in 32bit and 64bit traps), but anything dynamic assumes that things match the task. Not that we had a lot of such dynamic checks, actually... -- 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/