Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Nov 2009 20:38:53 +0300
From:      pluknet <pluknet@gmail.com>
To:        Attilio Rao <attilio@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r199804 - in head: crypto/openssh usr.sbin/cron/cron usr.sbin/inetd usr.sbin/syslogd
Message-ID:  <a31046fc0911250938x648740bby47cf6acd0c2d670@mail.gmail.com>
In-Reply-To: <200911251512.nAPFCODO054109@svn.freebsd.org>
References:  <200911251512.nAPFCODO054109@svn.freebsd.org>

index | next in thread | previous in thread | raw e-mail

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


help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a31046fc0911250938x648740bby47cf6acd0c2d670>