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>

next in thread | previous in thread | raw e-mail | index | archive | help
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:
> =A0Avoid sshd, cron, syslogd and inetd to be killed under high-pressure s=
wap
> =A0environments.
> =A0Please note that this can't be done while such processes run in jails.
>
> =A0Note: in future it would be interesting to find a way to do that
> =A0selectively for any desired proccess (choosen by user himself), probab=
illy
> =A0via a ptrace interface or whatever.

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

--=20
wbr,
pluknet



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