freebsd jail /dev/kmem

So recently I've been working on a customized VPS system, starting with FreeBSD jails.

I have found something that I wanted to ask about here.

How do people here get apps that use /dev/kmem to work?

If you do add the /dev/kmem device, aren't you concerned about someone using it to break out of the jail?

I personally have been patching the source of the apps to not need it but `top` especially seems to rely on it. Oh you can get top to run without it just fine but it doesn't do a great job of monitoring the load averages without /dev/kmem.

So what do you do to fix it?

 

 

 

 

Top