Re: [PATCH] netlabel: handle sparse category maps in netlbl_catmap_getlong()

2016-06-13 Thread Paul Moore
On Mon, Jun 13, 2016 at 10:16 AM, Paul Moore wrote: > From: Paul Moore > > In cases where the category bitmap is sparse enough that gaps exist > between netlbl_lsm_catmap structs, callers to netlbl_catmap_getlong() > could find themselves prematurely

[PATCH] netlabel: handle sparse category maps in netlbl_catmap_getlong()

2016-06-13 Thread Paul Moore
From: Paul Moore In cases where the category bitmap is sparse enough that gaps exist between netlbl_lsm_catmap structs, callers to netlbl_catmap_getlong() could find themselves prematurely ending their search through the category bitmap. Further, the methods used to