Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2017 08:48:44 +0800
From:      Ernie Luzar <luzar722@gmail.com>
To:        Pavel Timofeev <timp87@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to allow mlock(2) in jail?
Message-ID:  <58742F6C.8050801@gmail.com>
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
Pavel Timofeev wrote:
> Hello!
> 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?
> 
> P. S. I know, I can disable mlock(2) use in vault config as workaround.
>

A jail has no kernel so no memory to lock.





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