Re: stack-register checking

2018-03-06 Thread Stuart Henderson
There are a couple of ports with bootstraps that include libpthread.so, these need regenerating to work with this. This includes devel/jdk (should build ok with FLAVOR=native_bootstrap if you have an already-installed copy of jdk) and lang/rust (I'm doing a test build where I've done make extract,

Re: stack-register checking

2018-03-06 Thread Theo de Raadt
BTW, this diff is in snapshots.

stack-register checking

2018-03-06 Thread Theo de Raadt
Almost 2 decades ago we started work on W^X. The concept was simple. Pages that are writeable, should not be executable. We applies this concept object by object, trying to seperate objects with different qualities to different pages. The first one we handled was the signal trampoline at the top