May 26, 2018
Protect process from killing when the swap space is exhausted
scprotect is implementation of system call for setting or unsetting P_PROTECTED flag. It’s similar to madvise2 behaviour MADV_PROTECT, but may be used for already running processes. Also rc.d/scprotect scripts allow you to set protection flag even if process was restarted by user.