All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/11 v2] Various CIL patches
@ 2021-04-19 15:15 James Carter
  2021-04-19 15:15 ` [PATCH 01/11 v2] libsepol/cil: Fix out-of-bound read of file context pattern ending with "\" James Carter
                   ` (11 more replies)
  0 siblings, 12 replies; 14+ messages in thread
From: James Carter @ 2021-04-19 15:15 UTC (permalink / raw)
  To: selinux; +Cc: nicolas.iooss, James Carter

All of these patches (except the first) have been sent to the list in the
last month. The first patch is a slight modification of an earlier patch
sent by Nicolas Iooss. I also corrected a couple of whitespace errors and
updated one patch that would not apply cleanly with one of the earlier
patches applied.

v2:
- Remove redundant parenthesis from patch 7 "Exit with an error if
declaration name is a reserved word" to satisfy clang

James Carter (11):
  libsepol/cil: Fix out-of-bound read of file context pattern ending
    with "\"
  libsepol/cil: Destroy classperms list when resetting classpermission
  libsepol/cil: Destroy classperm list when resetting map perms
  libsepol/cil: cil_reset_classperms_set() should not reset
    classpermission
  libsepol/cil: Set class field to NULL when resetting struct
    cil_classperms
  libsepol/cil: More strict verification of constraint leaf expressions
  libsepol/cil: Exit with an error if declaration name is a reserved
    word
  libsepol/cil: Allow permission expressions when using map classes
  libsepol/cil: Refactor helper function for cil_gen_node()
  libsepol/cil: Create function cil_add_decl_to_symtab() and refactor
  libsepol/cil: Move check for the shadowing of macro parameters

 libsepol/cil/src/cil_build_ast.c | 132 ++++++++++++-------------------
 libsepol/cil/src/cil_build_ast.h |   2 +
 libsepol/cil/src/cil_copy_ast.c  |  26 +++---
 libsepol/cil/src/cil_post.c      |  11 +++
 libsepol/cil/src/cil_reset_ast.c |  11 ++-
 libsepol/cil/src/cil_verify.c    |  78 +++++++++++++++++-
 libsepol/cil/src/cil_verify.h    |   3 +-
 7 files changed, 160 insertions(+), 103 deletions(-)

-- 
2.26.3


^ permalink raw reply	[flat|nested] 14+ messages in thread
* [PATCH 00/11] Various CIL patches
@ 2021-04-08 19:16 James Carter
  2021-04-08 19:16 ` [PATCH 07/11 v2] libsepol/cil: Exit with an error if declaration name is a reserved word James Carter
  0 siblings, 1 reply; 14+ messages in thread
From: James Carter @ 2021-04-08 19:16 UTC (permalink / raw)
  To: selinux; +Cc: nicolas.iooss, James Carter

All of these patches (except the first) have been sent to the list in the
last month. The first patch is a slight modification of an earlier patch
sent by Nicolas Iooss. I also corrected a couple of whitespace errors and
updated one patch that would not apply cleanly with one of the earlier
patches applied.

James Carter (11):
  libsepol/cil: Fix out-of-bound read of file context pattern ending
    with "\"
  libsepol/cil: Destroy classperms list when resetting classpermission
  libsepol/cil: Destroy classperm list when resetting map perms
  libsepol/cil: cil_reset_classperms_set() should not reset
    classpermission
  libsepol/cil: Set class field to NULL when resetting struct
    cil_classperms
  libsepol/cil: More strict verification of constraint leaf expressions
  libsepol/cil: Exit with an error if declaration name is a reserved
    word
  libsepol/cil: Allow permission expressions when using map classes
  libsepol/cil: Refactor helper function for cil_gen_node()
  libsepol/cil: Create function cil_add_decl_to_symtab() and refactor
  libsepol/cil: Move check for the shadowing of macro parameters

 libsepol/cil/src/cil_build_ast.c | 132 ++++++++++++-------------------
 libsepol/cil/src/cil_build_ast.h |   2 +
 libsepol/cil/src/cil_copy_ast.c  |  26 +++---
 libsepol/cil/src/cil_post.c      |  11 +++
 libsepol/cil/src/cil_reset_ast.c |  11 ++-
 libsepol/cil/src/cil_verify.c    |  78 +++++++++++++++++-
 libsepol/cil/src/cil_verify.h    |   3 +-
 7 files changed, 160 insertions(+), 103 deletions(-)

-- 
2.26.3


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2021-04-19 18:25 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-19 15:15 [PATCH 00/11 v2] Various CIL patches James Carter
2021-04-19 15:15 ` [PATCH 01/11 v2] libsepol/cil: Fix out-of-bound read of file context pattern ending with "\" James Carter
2021-04-19 15:15 ` [PATCH 02/11 v2] libsepol/cil: Destroy classperms list when resetting classpermission James Carter
2021-04-19 15:15 ` [PATCH 03/11 v2] libsepol/cil: Destroy classperm list when resetting map perms James Carter
2021-04-19 15:15 ` [PATCH 04/11 v2] libsepol/cil: cil_reset_classperms_set() should not reset classpermission James Carter
2021-04-19 15:15 ` [PATCH 05/11 v2] libsepol/cil: Set class field to NULL when resetting struct cil_classperms James Carter
2021-04-19 15:15 ` [PATCH 06/11 v2] libsepol/cil: More strict verification of constraint leaf expressions James Carter
2021-04-19 15:15 ` [PATCH 07/11 v2] libsepol/cil: Exit with an error if declaration name is a reserved word James Carter
2021-04-19 15:15 ` [PATCH 08/11 v2] libsepol/cil: Allow permission expressions when using map classes James Carter
2021-04-19 15:15 ` [PATCH 09/11 v2] libsepol/cil: Refactor helper function for cil_gen_node() James Carter
2021-04-19 15:15 ` [PATCH 10/11 v2] libsepol/cil: Create function cil_add_decl_to_symtab() and refactor James Carter
2021-04-19 15:15 ` [PATCH 11/11 v2] libsepol/cil: Move check for the shadowing of macro parameters James Carter
2021-04-19 18:24 ` [PATCH 00/11 v2] Various CIL patches James Carter
  -- strict thread matches above, loose matches on Subject: below --
2021-04-08 19:16 [PATCH 00/11] " James Carter
2021-04-08 19:16 ` [PATCH 07/11 v2] libsepol/cil: Exit with an error if declaration name is a reserved word James Carter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.