Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure you can. Use the mprotect() system call: http://pubs.opengroup.org/onlinepubs/7908799/xsh/mprotect.ht...


mprotect() doesn't let different threads have different read/write permissions to a page. You need different processes to achieve that.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: