How to allow mlock(2) in jail?

Anton Yuzhaninov citrin+bsd at citrin.ru
Tue Jan 10 01:04:56 UTC 2017


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.



More information about the freebsd-questions mailing list