Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jan 2017 14:51:09 +0300
From:      Pavel Timofeev <timp87@gmail.com>
To:        Ernie Luzar <luzar722@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How to allow mlock(2) in jail?
Message-ID:  <CAAoTqftMuieMK0KTvrVtgoXhY8CR6a5G1T9dYP7sQaKnDwmvSQ@mail.gmail.com>
In-Reply-To: <58742F6C.8050801@gmail.com>
References:  <CAAoTqftm_mMDp27CVXns3FFJwJXAWUeiX0hqq-DQUgZC%2B=aGRQ@mail.gmail.com> <58742F6C.8050801@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
10 =D1=8F=D0=BD=D0=B2. 2017 =D0=B3. 3:48 =D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D0=
=BE=D0=B2=D0=B0=D1=82=D0=B5=D0=BB=D1=8C "Ernie Luzar" <luzar722@gmail.com>
=D0=BD=D0=B0=D0=BF=D0=B8=D1=81=D0=B0=D0=BB:

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.


Thank you for the reply!



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