From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751898AbcGVPHS (ORCPT ); Fri, 22 Jul 2016 11:07:18 -0400 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:39272 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751058AbcGVPHQ convert rfc822-to-8bit (ORCPT ); Fri, 22 Jul 2016 11:07:16 -0400 Date: Fri, 22 Jul 2016 16:06:50 +0100 From: One Thousand Gnomes To: Greg Ungerer Cc: Nicolas Pitre , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, Alexander Viro , David Howells , Russell King Subject: Re: [PATCH v4 00/12] allow BFLT executables on systems with a MMU Message-ID: <20160722160650.0562e888@lxorguk.ukuu.org.uk> In-Reply-To: References: <1469042561-7360-1-git-send-email-nicolas.pitre@linaro.org> <6d7b45eb-8085-47fa-fc31-5fb26b7dd009@linux-m68k.org> Organization: Intel Corporation X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 22 Jul 2016 17:28:13 +1000 Greg Ungerer wrote: > On 22/07/16 00:48, Nicolas Pitre wrote: > > On Thu, 21 Jul 2016, Greg Ungerer wrote: > >> Hi Nicolas, > >> > >> On 21/07/16 05:22, Nicolas Pitre wrote: > >>> This series provides the necessary changes to allow "flat" executable > >>> binaries meant for no-MMU systems to actually run on systems with a MMU. > >>> Also thrown in are various cleanups to binfmt_flat.c. > >> > >> I got to the bottom of why I couldn't run m68k flat binaries on > >> an MMU enabled m68k system. I had to fix the regs setup, with the > >> patch below. With this I can now run flat binaries on my ColdFire > >> MMU enabled system. > > > > Excellent! > > > >> This change is completely independent of your patch series so I'll > >> push this separately via the linux-m68k list and my m68knommu git > >> tree. > > > > OK. > > > > Who should merge my patch series at this point? > > If no-one else wants to carry it I can take it in the m68knommu > git tree. But I would want to be sure everyone is good with it > first. > > Alan: are you happy with where this is at? >>From a first glance yes. I don't have time right now to give it a more detailed audit, but with the correct user accessors it looks as if all the ways you can mess up relocations simply result in faults or running a nonsense binary and the userspace failing. Alan