Justin Lundy wrote:

"Add a possibility to add a random offset to the stack on exec. This makes
it slightly harder to write generic buffer overflows. This doesn't really
give any real security, but it raises the bar for script-kiddies and it's
really cheap.

This idea can also be used within applications.
Just use

  alloca(<random value>)

to randomize the stack location.  No kernel
changes needed.  There are more portable ways
to do this, of course, for those who dislike alloca.

Tim Kientzle


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to