2009/11/25 Attilio Rao <atti...@freebsd.org>:
> Author: attilio
> Date: Wed Nov 25 15:12:24 2009
> New Revision: 199804
> URL: http://svn.freebsd.org/changeset/base/199804
>
> Log:
>  Avoid sshd, cron, syslogd and inetd to be killed under high-pressure swap
>  environments.
>  Please note that this can't be done while such processes run in jails.
>
>  Note: in future it would be interesting to find a way to do that
>  selectively for any desired proccess (choosen by user himself), probabilly
>  via a ptrace interface or whatever.

There is an existing (though it does different things) interface in Solaris.
Look at getpflags(2)/setpflags(2).

-- 
wbr,
pluknet
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to