[libvirt] [PATCH 6/8] Pull code which finds a free MCS label out into its own method

2012-08-10 Thread Daniel P. Berrange
From: "Daniel P. Berrange" The code for picking a MCS label is about to get significantly more complicated, so it deserves to be in a standlone method, instead of a switch/case body. Signed-off-by: Daniel P. Berrange --- src/security/security_selinux.c | 75 ++--

Re: [libvirt] [PATCH 6/8] Pull code which finds a free MCS label out into its own method

2012-08-10 Thread Eric Blake
On 08/10/2012 07:48 AM, Daniel P. Berrange wrote: > From: "Daniel P. Berrange" > > The code for picking a MCS label is about to get significantly > more complicated, so it deserves to be in a standlone method, > instead of a switch/case body. > > Signed-off-by: Daniel P. Berrange > --- > src/s

Re: [libvirt] [PATCH 6/8] Pull code which finds a free MCS label out into its own method

2012-08-14 Thread Daniel P. Berrange
On Fri, Aug 10, 2012 at 03:02:24PM -0600, Eric Blake wrote: > On 08/10/2012 07:48 AM, Daniel P. Berrange wrote: > > From: "Daniel P. Berrange" > > > > The code for picking a MCS label is about to get significantly > > more complicated, so it deserves to be in a standlone method, > > instead of a