Module Name: src Committed By: bouyer Date: Tue Aug 31 10:55:34 UTC 2010
Modified Files: src/sys/kern [netbsd-5-0]: exec_subr.c kern_pax.c Log Message: Pull up following revision(s) (requested by christos in ticket #1444): sys/kern/kern_pax.c: revision 1.24 sys/kern/exec_subr.c: revision 1.65 Fix issues with stack allocation and pax aslr: - since the size is unsigned, don't check just that it is > 0, but limit it to the MAXSSIZ - if the stack size is reduced because of aslr, make sure we reduce the actual allocation by the same size so that the size does not wrap around. NB: Must be pulled up to 5.x! To generate a diff of this commit: cvs rdiff -u -r1.61.8.1 -r1.61.8.1.2.1 src/sys/kern/exec_subr.c cvs rdiff -u -r1.22 -r1.22.14.1 src/sys/kern/kern_pax.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.