Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2002 10:22:16 +0100
From:      dslb@tiscali.dk
To:        hackers@freebsd.org
Subject:   The stack and heap
Message-ID:  <3D9FE83900007F16@cpfe4.be.tisc.dk>

index | next in thread | raw e-mail

Hi all

I just have a few question about execution of code on the stack or heap.
It is possible in FreeBSD right? But why does the stack and heap need to
be executable?

I have read about mprotect(), but can you change the stack and heap permissions
with that? If yes how? (the man page tells you almost nothing).

Btw does the ia32 have both read and execution permissions for the memory
or is read and execution the same? If it is the same, have this changed
in ia64?

Hope someone can answer these :-)

br
socketd


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D9FE83900007F16>