Add XOR cookies for lr and sp. Stop saving/restoring r12 to/from the jmpbuf.
authorguenther <guenther@openbsd.org>
Sun, 7 Aug 2016 02:02:57 +0000 (02:02 +0000)
committerguenther <guenther@openbsd.org>
Sun, 7 Aug 2016 02:02:57 +0000 (02:02 +0000)
commitb29bfccfbd743c6a3f975a0b53be981613ec5ee3
treecbe70a0a0099afccc02af643e9f37add134b8062
parentfc1500daad8f83ddf3d235be42765e04ac724ba4
Add XOR cookies for lr and sp.  Stop saving/restoring r12 to/from the jmpbuf.
Switch from calling obsolete sig{block,setmask} to directly using the
sigprocmask syscall.

ok deraadt@ kettenis@
lib/libc/arch/arm/gen/_setjmp.S
lib/libc/arch/arm/gen/setjmp.S
sys/arch/arm/include/setjmp.h