Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932678Ab1BYS6B (ORCPT ); Fri, 25 Feb 2011 13:58:01 -0500 Received: from smtp1.linux-foundation.org ([140.211.169.13]:40683 "EHLO smtp1.linux-foundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756279Ab1BYS6A (ORCPT ); Fri, 25 Feb 2011 13:58:00 -0500 MIME-Version: 1.0 In-Reply-To: <20110225175249.GC19059@redhat.com> References: <20101130200129.GG11905@redhat.com> <20101201182747.GB6143@redhat.com> <20110225175202.GA19059@redhat.com> <20110225175249.GC19059@redhat.com> From: Linus Torvalds Date: Fri, 25 Feb 2011 10:57:09 -0800 Message-ID: Subject: Re: [PATCH 2/5] exec: introduce "bool compat" argument To: Oleg Nesterov Cc: Andrew Morton , KOSAKI Motohiro , LKML , linux-mm , pageexec@freemail.hu, Solar Designer , Eugene Teo , Brad Spengler , Roland McGrath , Milton Miller Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 760 Lines: 20 On Fri, Feb 25, 2011 at 9:52 AM, Oleg Nesterov wrote: > No functional changes, preparation to simplify the review. I think this is wrong. If you introduce the "bool compat" thing, you should also change the type of the argument pointers to some opaque type at the same time. It's no longer really a const char __user *const __user * pointer at that point. Trying to claim it is, is just wrong. The type suddently becomes conditional on that 'compat' variable. Linus -- 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/