* Question - non-exec stack
@ 2003-11-28 13:29 Breno
2003-11-28 13:44 ` Måns Rullgård
0 siblings, 1 reply; 4+ messages in thread
From: Breno @ 2003-11-28 13:29 UTC (permalink / raw)
To: Kernel List
Hi,
I´d like to know how non-exec stack can run on 32 bits processor. On 32bits
processor vm_exec and vm_read has the same flags . So your tasks will not
run very well.
att,
Breno Silva Pinto
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question - non-exec stack
2003-11-28 13:29 Question - non-exec stack Breno
@ 2003-11-28 13:44 ` Måns Rullgård
2003-11-28 13:57 ` Breno
0 siblings, 1 reply; 4+ messages in thread
From: Måns Rullgård @ 2003-11-28 13:44 UTC (permalink / raw)
To: linux-kernel
"Breno" <brenosp@brasilsec.com.br> writes:
> I´d like to know how non-exec stack can run on 32 bits processor. On 32bits
> processor vm_exec and vm_read has the same flags . So your tasks will not
> run very well.
This doesn't have anything to do with the CPU word size, does it? I
guess you mean 32 bit Intel processors.
--
Måns Rullgård
mru@kth.se
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question - non-exec stack
2003-11-28 13:44 ` Måns Rullgård
@ 2003-11-28 13:57 ` Breno
2003-11-28 21:16 ` William Lee Irwin III
0 siblings, 1 reply; 4+ messages in thread
From: Breno @ 2003-11-28 13:57 UTC (permalink / raw)
To: linux-kernel, Måns Rullgård
Yes , 32 bit Intel processors
Breno
----- Original Message -----
From: "Måns Rullgård" <mru@kth.se>
To: <linux-kernel@vger.kernel.org>
Sent: Friday, November 28, 2003 11:44 AM
Subject: Re: Question - non-exec stack
"Breno" <brenosp@brasilsec.com.br> writes:
> I´d like to know how non-exec stack can run on 32 bits processor. On
32bits
> processor vm_exec and vm_read has the same flags . So your tasks will not
> run very well.
This doesn't have anything to do with the CPU word size, does it? I
guess you mean 32 bit Intel processors.
--
Måns Rullgård
mru@kth.se
-
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/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Question - non-exec stack
2003-11-28 13:57 ` Breno
@ 2003-11-28 21:16 ` William Lee Irwin III
0 siblings, 0 replies; 4+ messages in thread
From: William Lee Irwin III @ 2003-11-28 21:16 UTC (permalink / raw)
To: Breno; +Cc: linux-kernel, M?ns Rullg?rd
On Fri, Nov 28, 2003 at 11:57:09AM -0200, Breno wrote:
> Yes , 32 bit Intel processors
Due to the really hard drugs the processor designers must have been
on, the only way to implement this is via the particularly nasty flavor
of segmentation on Intel processors (sane forms just use bits in pointers).
c.f. pax and exec-shield for examples of how to do it in Linux (please
do not start that debate; the only relevant point here is they use the
segmentation stuff). I suspect OpenBSD might also implement it.
-- wli
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-11-28 21:17 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28 13:29 Question - non-exec stack Breno
2003-11-28 13:44 ` Måns Rullgård
2003-11-28 13:57 ` Breno
2003-11-28 21:16 ` William Lee Irwin III
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).