svn commit: r199804 - in head: crypto/openssh usr.sbin/cron/cron usr.sbin/inetd usr.sbin/syslogd

pluknet pluknet at gmail.com
Wed Nov 25 17:38:56 UTC 2009


2009/11/25 Attilio Rao <attilio at 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


More information about the svn-src-all mailing list