Re: [libvirt] [PATCH 1/4] util: Allow virProcessSetNamespaces() to have sparse FD list

2015-08-27 Thread Daniel P. Berrange
On Thu, Aug 27, 2015 at 03:06:51AM +0200, Michal Privoznik wrote: > So far, the virProcessSetNamespaces() takes an array of FDs that > it tries to set namespace on. However, in the very next commit > this array may be sparse, having some -1's in it. Teach the > function to cope with that. > > Sign

[libvirt] [PATCH 1/4] util: Allow virProcessSetNamespaces() to have sparse FD list

2015-08-26 Thread Michal Privoznik
So far, the virProcessSetNamespaces() takes an array of FDs that it tries to set namespace on. However, in the very next commit this array may be sparse, having some -1's in it. Teach the function to cope with that. Signed-off-by: Michal Privoznik --- src/util/virprocess.c | 3 +++ 1 file change