[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <873b618l50.wl@betelheise.deep.net>
Date: Wed, 24 Jan 2007 00:54:03 +0300
From: Samium Gromoff <_deepfire@...lingofgreen.ru>
To: Jakub Jelinek <jakub@...hat.com>
Cc: Samium Gromoff <_deepfire@...lingofgreen.ru>,
Alan <alan@...rguk.ukuu.org.uk>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] Define the EF_AS_NO_RANDOM e_flag bit
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists