policy package implementation with xar
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 0 repliesNew
- v23 patches 0 repliesSuperseded
- v13 patches 14 repliesSuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | policy package classlibpolicyrep/ | +72 | 0 replies | |
| 2/3 | policy package implementationlibpolicyrep/ | +463 | 0 replies | |
| 3/3 | semodule_package implementation in cpp for libpolicyreppolicycoreutils/ policycoreutils/ | +197 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [POLICYREP][patchv3 0/3] policy package implementation with xar
This uses xar <http://code.google.com/p/xar/> to implement policy packages. This brings in a fair number of dependancies, unfortunately, but provides a useful featureset in exchange. This includes transparent compression of files in the package, signature support and so on.
This one is updated to use xar file attributes to identify the kind of file, use semodule_package to create policy packages, to break up the classes for creating the package from a file (PolicyPackageArchive) and reading/writing them from a package class (PolicyPackage). It also has lots of cleanups, including throwing std errors.
Note: The tests have been pulled out of this patchset as we are currently reimplementing the tests using a testing infrastructure like boost or cppunit.
There is additional functionality in this set, for writing policy modules to the xar packages. I still need to implement a Parser constructor that reads from a char* for the reading functionality, I'll send this out later.
This set has fixed formatting, note to self: do not run lident on c++ code. Instead I used astyle with the following ~/.astylerc:
brackets=attach
indent=tab=8
break-blocks
preserve-date
pad=oper
unpad=paren
one-line=keep-statements
one-line=keep-blocks
Signature · 4 lines
-- 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.