CIL Cleanups and Improved Argument handling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest9 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | libsepol/cil: Use struct cil_db * instead of void *libsepol/ libsepol/ | +350 | 6 replies | |
| 2/9 | libsepol/cil: Refactor and improve handling of order ruleslibsepol/ libsepol/ libsepol/ +8 more | +347 | 0 replies | |
| 3/9 | libsepol/cil: Allow IP address and mask values to be directly writtenlibsepol/ | +31 | 0 replies | |
| 4/9 | secilc/docs: Update syntax for IP addresses and nodeconsecilc/ | +3 | 0 replies | |
| 5/9 | libsepol/cil: Refactor Named Type Transition Filename Creationlibsepol/ libsepol/ libsepol/ +7 more | +115 | 0 replies | |
| 6/9 | libsepol/cil: Allow paths in filecon rules to be passed as argumentslibsepol/ libsepol/ libsepol/ +4 more | +34 | 0 replies | |
| 7/9 | secilc/docs: Fix and update the documentation for macro parameterssecilc/ | +5 | 0 replies | |
| 8/9 | libsepol/cil: Add pointers to datums to improve writing out ASTlibsepol/ libsepol/ libsepol/ +2 more | +96 | 0 replies | |
| 9/9 | libsepol/cil: Give warning for name that has different flavorlibsepol/ | +5 | 0 replies |
Reviews trailers per patch
1 of 9 patches has a Reviewed-by or Acked-by.
| Patch | Daniel Burgener | Petr Lautrbach |
|---|---|---|
| 1/9 | R-b | A-b |
| 2/9 | ||
| 3/9 | ||
| 4/9 | ||
| 5/9 | ||
| 6/9 | ||
| 7/9 | ||
| 8/9 | ||
| 9/9 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/9] CIL Cleanups and Improved Argument handling
Patches 1 and 2 are cleanups
Patch 3 allows IP address and mask values to be directly written. Patches 4 and 7 update and fix the CIL documentation.
Patch 5 improves the handling of strings passed into a call for named
type transitions.
Patch 6 allows the path of a filecon rule to be passed as an argument
in a call.
Patch 8 improves writing out statements in macros and macro arguments. Patch 9 adds a warning when an identifier has the same name as a call
argument even though it has a different flavor.
See the individual patches for more details.
James Carter (9):
libsepol/cil: Use struct cil_db * instead of void * libsepol/cil: Refactor and improve handling of order rules libsepol/cil: Allow IP address and mask values to be directly written secilc/docs: Update syntax for IP addresses and nodecon libsepol/cil: Refactor Named Type Transition Filename Creation libsepol/cil: Allow paths in filecon rules to be passed as arguments secilc/docs: Fix and update the documentation for macro parameters libsepol/cil: Add pointers to datums to improve writing out AST libsepol/cil: Give warning for name that has different flavor
libsepol/cil/src/cil.c | 108 +- libsepol/cil/src/cil_build_ast.c | 461 +++----- libsepol/cil/src/cil_build_ast.h | 13 +- libsepol/cil/src/cil_copy_ast.c | 96 +- libsepol/cil/src/cil_copy_ast.h | 5 +- libsepol/cil/src/cil_flavor.h | 2 +- libsepol/cil/src/cil_fqn.c | 2 +- libsepol/cil/src/cil_internal.h | 58 +- libsepol/cil/src/cil_policy.c | 5 +- libsepol/cil/src/cil_post.c | 14 +- libsepol/cil/src/cil_reset_ast.c | 16 +- libsepol/cil/src/cil_resolve_ast.c | 1027 +++++++---------- libsepol/cil/src/cil_resolve_ast.h | 124 +- libsepol/cil/src/cil_verify.c | 80 +- libsepol/cil/src/cil_verify.h | 1 + libsepol/cil/src/cil_write_ast.c | 125 +- secilc/docs/cil_call_macro_statements.md | 6 +- .../docs/cil_network_labeling_statements.md | 6 +- 18 files changed, 982 insertions(+), 1167 deletions(-)
Signature · 1 line
2.41.0