scprotect is implementation of system call for setting or unsetting P_PROTECTED flag. It's similar to madvise(2) 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. WWW: http://dindin.ru/scprotect/