Merge pull request #320 from 0-wiz-0/master

Support NetBSD with mprotect.