3 ms·
Sure you can. Use the mprotect() system call: http://pubs.opengroup.org/onlinepubs/7908799/xsh/mprotect.html http://pubs.opengroup.org/onlinepubs/7908799/xsh/mp
by scott_s 15y ago
Sure you can. Use the mprotect() system call: http://pubs.opengroup.org/onlinepubs/7908799/xsh/mprotect.html http://pubs.opengroup.org/onlinepubs/7908799/xsh/mprotect.ht...
- beagle3 15y agomprotect() doesn't let different threads have different read/write permissions to a page. You need different processes to achieve that.