Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jan 2017 20:04:51 -0500
From:      Anton Yuzhaninov <citrin+bsd@citrin.ru>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to allow mlock(2) in jail?
Message-ID:  <ba024cae-82c1-8260-06e0-cd222f0c1577@citrin.ru>
In-Reply-To: <CAAoTqftm_mMDp27CVXns3FFJwJXAWUeiX0hqq-DQUgZC%2B=aGRQ@mail.gmail.com>
References:  <CAAoTqftm_mMDp27CVXns3FFJwJXAWUeiX0hqq-DQUgZC%2B=aGRQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 01/09/17 09:31, Pavel Timofeev wrote:
> I'm trying to deploy security/vault in freebsd jail.
> Usually this tool locks some memory for security reason.
>
> I can run vault on my bare system without any problems. But in jail it
> complains mlock(2) is not available.
> So my question is how to allow mlock(2) in jail?

Currently mlock(2) is not available inside jail.

I think it is possible to implement new jail parameter to allow mlock.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ba024cae-82c1-8260-06e0-cd222f0c1577>