Skip to content

Another round of secilc-fuzzer problems fixed

James Carter selinux 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 2 repliesIn review
  2. v15 patches 7 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5libsepol/cil: Properly check for loops in setslibsepol/cil/src/cil_verify.c+32 -160 replies
2/5libsepol/cil: Fix syntax checking of defaultrange rulelibsepol/cil/src/cil_build_ast.c+10 -00 replies
3/5libsepol/cil: Check for empty list when marking neverallow attributeslibsepol/cil/src/cil_post.c+4 -00 replies
4/5libsepol/cil: Reduce the initial symtab sizes for blockslibsepol/cil/src/cil.c+1 -10 replies
5/5libsepol/cil: Improve degenerate inheritance checklibsepol/cil/src/cil_internal.h libsepol/cil/src/cil_resolve_ast.c+151 -800 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchNicolas Iooss
SeriesA-b
1/5A-b
2/5
3/5A-b
4/5A-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH 0/5 v2] Another round of secilc-fuzzer problems fixed

Patch 1 fixes the check for self-referential loops that didn't work in all cases Patches 2 and 3 fix a couple of bugs
Patches 4 and 5 make it harder to create small policies that expand into large policies that consume all of a system's memory.

Only patches 2 and 5 are changed in v2.

James Carter (5):
libsepol/cil: Properly check for loops in sets libsepol/cil: Fix syntax checking of defaultrange rule libsepol/cil: Check for empty list when marking neverallow attributes libsepol/cil: Reduce the initial symtab sizes for blocks libsepol/cil: Improve degenerate inheritance check

 libsepol/cil/src/cil.c             |   2 +-
 libsepol/cil/src/cil_build_ast.c   |  10 ++
 libsepol/cil/src/cil_internal.h    |   5 +-
 libsepol/cil/src/cil_post.c        |   4 +
 libsepol/cil/src/cil_resolve_ast.c | 226 +++++++++++++++++++----------
 libsepol/cil/src/cil_verify.c      |  48 ++++--
 6 files changed, 198 insertions(+), 97 deletions(-)
Signature · 1 line
2.26.3