CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/05/29 20:11:21
Modified files:
lib/libc/arch/i386/gen: _setjmp.S setjmp.S sigsetjmp.S
Log message:
Do setjmp cookies for eip, esp, and ebp. For bonus points, mix how
the cookies are used in setjmp/_setjmp/sigsetjmp so that mixing
calls (e.g., longjmp on a _setjmp buffer) will scramble all three
registers and jump you to a random location on a random stack!
ok deraadt@
