smack-team/smack — pull request #116 by rafal-krypa (2014-12-21 15:18:38+00:00)
Title: libsmack: fix parsing of CIPSO settings

Adjust CIPSO parsing to expected kernel format:
- maximum number of categories is 184
- each category value must be between 1 and 184

To decrease size of struct cipso_mapping, categories are now stored in a bit array. Thanks to this, category bitmap occupies 96 bits instead of 736.