[PATCH] netlabel: fix a problem with netlbl_secattr_catmap_setrng()

2016-03-28 Thread Paul Moore
From: Janak Desai We try to be clever and set large chunks of the bitmap at once, when possible; unfortunately we weren't very clever when we wrote the code and messed up the if-conditional. Fix this bug and restore proper operation. Signed-off-by: Janak Desai Signed-off-by: Paul Moore --- n

Re: [PATCH] netlabel: fix a problem with netlbl_secattr_catmap_setrng()

2016-03-28 Thread Paul Moore
On Mon, Mar 28, 2016 at 11:10 AM, Paul Moore wrote: > From: Janak Desai > > We try to be clever and set large chunks of the bitmap at once, when > possible; unfortunately we weren't very clever when we wrote the code > and messed up the if-conditional. Fix this bug and restore proper > operation

Re: [PATCH] netlabel: fix a problem with netlbl_secattr_catmap_setrng()

2016-03-28 Thread David Miller
From: Paul Moore Date: Mon, 28 Mar 2016 11:17:28 -0400 > On Mon, Mar 28, 2016 at 11:10 AM, Paul Moore wrote: >> From: Janak Desai >> >> We try to be clever and set large chunks of the bitmap at once, when >> possible; unfortunately we weren't very clever when we wrote the code >> and messed up