forked from Lainports/freebsd-ports
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/ PR: 131423 Submitted by: Denis Barov <dindin at dindin dot ru>
5 lines
93 B
Text
5 lines
93 B
Text
bin/scprotect
|
|
etc/rc.d/scprotect
|
|
@cwd /
|
|
%%KMODDIR%%/scprotect.ko
|
|
@unexec kldxref %%KMODDIR%%
|