Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264540AbUAJA2h (ORCPT ); Fri, 9 Jan 2004 19:28:37 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264542AbUAJA2h (ORCPT ); Fri, 9 Jan 2004 19:28:37 -0500 Received: from AGrenoble-101-1-5-161.w80-11.abo.wanadoo.fr ([80.11.136.161]:52172 "EHLO awak.dyndns.org") by vger.kernel.org with ESMTP id S264540AbUAJA2b convert rfc822-to-8bit (ORCPT ); Fri, 9 Jan 2004 19:28:31 -0500 Subject: Re: [PATCH][RFC] invalid ELF binaries can execute - better sanity checking From: Xavier Bestel To: Christoph Hellwig Cc: Maciej Zenczykowski , Jesper Juhl , Valdis.Kletnieks@vt.edu, Andrew Morton , Linux Kernel Mailing List In-Reply-To: <20040109204150.A28436@infradead.org> References: <20040109204150.A28436@infradead.org> Content-Type: text/plain; charset=iso-8859-15 Message-Id: <1073694475.6189.176.camel@nomade> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Sat, 10 Jan 2004 01:27:56 +0100 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 895 Lines: 20 Le ven 09/01/2004 ? 21:41, Christoph Hellwig a ?crit : > On Fri, Jan 09, 2004 at 09:20:53PM +0100, Maciej Zenczykowski wrote: > > I think this points to an 'issue', if we're going to increase the checks > > in the ELF-loader (and thus increase the size of the minimal valid ELF > > file we can load, thus effectively 'bloating' (lol) some programs) we > > should probably allow some sort of direct binary executable files [i.e. > > header 'XBIN386\0' followed by Read/Execute binary code to execute by > > Like binfmt_flat? :) .. or even zflat. Not that I'm proud of it, but it can effectively manage to produce rather compact executables :) Xav - 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/