Y
Hacker News
new
|
ask
|
show
|
jobs
by
scott_s
5434 days ago
Sure you can. Use the mprotect() system call:
http://pubs.opengroup.org/onlinepubs/7908799/xsh/mprotect.ht...
1 comments
beagle3
5434 days ago
mprotect() doesn't let different threads have different read/write permissions to a page. You need different processes to achieve that.
link