commit | 3e506bda3b46452df3467e9392362e4e32beb966 | [log] [tgz] |
---|---|---|
author | Ondrej Mosnacek <[email protected]> | Tue May 14 10:14:16 2019 +0200 |
committer | James Carter <[email protected]> | Mon May 20 14:00:32 2019 -0400 |
tree | dc7ef7491d91e17135c357d263b857182038bb03 | |
parent | baf8a1de163abf0c46c507d06b9aa000e2ba162b [diff] |
libsepol: add ebitmap_for_each_set_bit macro Most of the users of ebitmap_for_each_bit() macro only care for the set bits, so introduce a new ebitmap_for_each_positive_bit() macro that skips the unset bits. Replace uses of ebitmap_for_each_bit() with the new macro where appropriate. Signed-off-by: Ondrej Mosnacek <[email protected]>