On 01/11/2012 09:33 AM, Daniel P. Berrange wrote:
From: Daniel P. Berrange berra...@redhat.com
To allow the container to access /dev and /dev/pts when under
sVirt, set an explicit mount option. Also set a max size on
the /dev mount to prevent DOS on memory usage
* src/lxc/lxc_container.c:
On 01/24/2012 01:21 PM, Eric Blake wrote:
+if (virAsprintf(opts, mode=755,size=65536%%%s%s%s,
+con ? ,context=\ : ,
+con ? (const char *)con : ,
+con ? \ : ) 0) {
I would have split this:
if
From: Daniel P. Berrange berra...@redhat.com
To allow the container to access /dev and /dev/pts when under
sVirt, set an explicit mount option. Also set a max size on
the /dev mount to prevent DOS on memory usage
* src/lxc/lxc_container.c: Set /dev mount context
* src/lxc/lxc_controller.c: Set