How to allow mlock(2) in jail?
luzar722 at gmail.com
Tue Jan 10 00:48:46 UTC 2017
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?
> 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.
More information about the freebsd-questions