NetLabel: add the remaining CIPSO tag types from the IETF draft
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 5 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | NetLabel: convert to an extensibile/sparse category bitmapinclude/ net/ net/ +5 more | +568 | 0 replies | |
| 2/3 | NetLabel: add the enumerated tag to the CIPSOv4 protocolnet/ | +233 | 0 replies | |
| 3/3 | NetLabel: add the ranged tag to the CIPSOv4 protocolnet/ | +268 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] NetLabel: add the remaining CIPSO tag types from the IETF draft
This patchset consists of three patches that add support for the remaining two tag types from the CIPSO draft specification, the enumerated and range tags. The most significant part about adding these two tags is that NetLabel now has the ability to represent more than 240 categories (limitation imposed by the current restricted bitmap tag).
In addition, the first patch in the set converts NetLabel's contiguous char string category bitmap stored in network friendly bit/byte order into a sparse bitmap stored in host friendly bit/byte order. While this change was not required to support the new CIPSO tags, it should make life much easier as the old category bitmap would have proven problematic as the number of usable categories increases with the new tag types. It also has a side effect of making the LSM specific code much less ugly.
During testing I have not seen any regressions with this patchset; please consider this for net-2.6.20. Thanks.
--
paul moore
linux security @ hp
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.