Top "Mprotect" questions

How to write a signal handler to catch SIGSEGV?

I want to write a signal handler to catch SIGSEGV. I protect a block of memory for read or write …

c linux system-calls signal-handling mprotect