Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 12/28/2007 17:14:51
Module Name:	src
Committed By:	elad
Date:		Fri Dec 28 17:14:51 UTC 2007

Modified Files:
	src/sys/kern: exec_elf32.c kern_exec.c kern_pax.c
	src/sys/sys: exec.h

Log Message:
Provide 8 more bits of stack randomization, from the PaX author.

While here, don't make too much use of one random value, and call
arc4random() directly. Allows for the removal of 'ep_random' from the
exec_package.

Prompted by and okay christos@.


To generate a diff of this commit:
cvs rdiff -r1.129 -r1.130 src/sys/kern/exec_elf32.c
cvs rdiff -r1.261 -r1.262 src/sys/kern/kern_exec.c
cvs rdiff -r1.19 -r1.20 src/sys/kern/kern_pax.c
cvs rdiff -r1.119 -r1.120 src/sys/sys/exec.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.