Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965497AbXAWVyK (ORCPT ); Tue, 23 Jan 2007 16:54:10 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965500AbXAWVyJ (ORCPT ); Tue, 23 Jan 2007 16:54:09 -0500 Received: from 69-100-st.zelcom.ru ([80.92.100.69]:4498 "EHLO etherstorm.feelingofgreen.ru" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S965498AbXAWVyH (ORCPT ); Tue, 23 Jan 2007 16:54:07 -0500 Date: Wed, 24 Jan 2007 00:54:03 +0300 Message-ID: <873b618l50.wl@betelheise.deep.net> From: Samium Gromoff <_deepfire@feelingofgreen.ru> To: Jakub Jelinek Cc: Samium Gromoff <_deepfire@feelingofgreen.ru>, Alan , linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit In-Reply-To: <20070123211612.GJ29911@devserv.devel.redhat.com> References: <87r6toufpp.wl@betelheise.deep.net> <200701221520.l0MFKLdK032645@turing-police.cc.vt.edu> <871wlnq7ue.wl@betelheise.deep.net> <20070123084805.GB5560@ucw.cz> <87mz4996wg.wl@betelheise.deep.net> <20070123154127.57059632@localhost.localdomain> <877ivd8p42.wl@betelheise.deep.net> <20070123205017.GH29911@devserv.devel.redhat.com> <874pqh8nbu.wl@betelheise.deep.net> <20070123211612.GJ29911@devserv.devel.redhat.com> User-Agent: Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/23.0.51 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) X-Face: "P-:w!.&Hdk.h~~pT`!Q%H6;/8Cce^m&%vIn"W-SXb4h88dCgwD\_}N5:\}lowY2gxg0u^wVO*L\$C@MvBDRTmh/=,468w{W{OTc$kfq5O9Y!`pd+N}SMHrN+Gs>jXe5}}EL`cRbc0^_0cZ-}M\b~55I;Qe$1uL8M`M`82<_%CQ(GwLk."M>zBLn:-u>n,$kjH`~Uo[pH`08#\G!GVMd`%7![m9]*w5PMts4@m>=;lX41Z90N MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 986 Lines: 24 At Tue, 23 Jan 2007 16:16:12 -0500, Jakub Jelinek wrote: > > On Wed, Jan 24, 2007 at 12:06:45AM +0300, Samium Gromoff wrote: > > Should we introduce per-arch asm/elf.h files to hold the relevant flag definitions then? > > On some architectures there are no bits left. On others you'd need to go > through whomever maintains the relevant psABI to get a bit officially > allocated. Really, it is very bad idea to use e_flags for this. Currently arch_align_stack() and mmap_base() perform randomisation only on x86 and x86_64, so it is only two architectures anyway... > If all you care about is running setuid LISP programs, you'd much better put > your energy into fixing the buggy ELF dumper in it. > > Jakub regards, Samium Gromoff - 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/