Skip to content

Revert the prefix/suffix filename transition patches

James Carter selinux 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Revert "libsepol/cil: add support for prefix/suffix filename transtions to CIL"libsepol/cil/src/cil.c libsepol/cil/src/cil_binary.c libsepol/cil/src/cil_build_ast.c +5 more+10 -640 replies
2/8Revert "checkpolicy,libsepol: add prefix/suffix support to module policy"checkpolicy/policy_define.c checkpolicy/policy_define.h checkpolicy/policy_parse.y +13 more+43 -1500 replies
3/8Revert "checkpolicy,libsepol: add prefix/suffix support to kernel policy"checkpolicy/test/dispol.c libsepol/include/sepol/policydb/avtab.h libsepol/include/sepol/policydb/policydb.h +7 more+30 -2110 replies
4/8Revert "libsepol: implement new module binary format of avrule"libsepol/include/sepol/policydb/policydb.h libsepol/src/policydb.c libsepol/src/write.c+4 -510 replies
5/8Revert "libsepol: implement new kernel binary format for avtab"libsepol/include/sepol/policydb/policydb.h libsepol/src/avtab.c libsepol/src/policydb.c +1 more+21 -1640 replies
6/8Revert "checkpolicy,libsepol: move filename transition rules to avrule"checkpolicy/checkpolicy.c checkpolicy/module_compiler.c checkpolicy/module_compiler.h +13 more+580 -1540 replies
7/8Revert "checkpolicy,libsepol: move filename transitions to avtab"checkpolicy/checkmodule.c checkpolicy/checkpolicy.c checkpolicy/policy_define.c +15 more+822 -8040 replies
8/8Revert "checkpolicy,libsepol: move transition to separate structure in avtab"checkpolicy/test/dispol.c libsepol/cil/src/cil_binary.c libsepol/include/sepol/policydb/avtab.h +8 more+18 -930 replies

Reviews trailers per patch

None of the 8 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr Lautrbach
SeriesA-b
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8

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

Read the v1 thread

Cover letter [PATCH 0/8] Revert the prefix/suffix filename transition patches

Since the kernel patches have not been accepted yet, it seems better to revert these patches while they can still be cleanly reverted just in case the kernel patches are not accepted.

If the kernel patches get accepted, then I will re-apply these patches.

I should have waited for the kernel patches to be accepted before committing these in the first place.

James Carter (8):
Revert "libsepol/cil: add support for prefix/suffix filename
transtions to CIL"
Revert "checkpolicy,libsepol: add prefix/suffix support to module
policy"
Revert "checkpolicy,libsepol: add prefix/suffix support to kernel
policy"
Revert "libsepol: implement new module binary format of avrule" Revert "libsepol: implement new kernel binary format for avtab" Revert "checkpolicy,libsepol: move filename transition rules to
avrule"
Revert "checkpolicy,libsepol: move filename transitions to avtab" Revert "checkpolicy,libsepol: move transition to separate structure in
avtab"

 checkpolicy/checkmodule.c                  |   9 -
 checkpolicy/module_compiler.c              |  12 +
 checkpolicy/module_compiler.h              |   1 +
 checkpolicy/policy_define.c                | 211 +++++-
 checkpolicy/policy_define.h                |   3 +-
 checkpolicy/policy_parse.y                 |  13 +-
 checkpolicy/policy_scan.l                  |   4 -
 checkpolicy/test/dismod.c                  |  39 +-
 checkpolicy/test/dispol.c                  | 106 ++-
 libsepol/cil/src/cil.c                     |   6 -
 libsepol/cil/src/cil_binary.c              |  63 +-
 libsepol/cil/src/cil_build_ast.c           |  26 +-
 libsepol/cil/src/cil_copy_ast.c            |   1 -
 libsepol/cil/src/cil_internal.h            |   4 -
 libsepol/cil/src/cil_policy.c              |  17 +-
 libsepol/cil/src/cil_resolve_ast.c         |  10 -
 libsepol/cil/src/cil_write_ast.c           |   2 -
 libsepol/include/sepol/policydb/avtab.h    |  19 +-
 libsepol/include/sepol/policydb/hashtab.h  |   8 -
 libsepol/include/sepol/policydb/policydb.h |  50 +-
 libsepol/src/avrule_block.c                |   1 +
 libsepol/src/avtab.c                       | 338 +---------
 libsepol/src/conditional.c                 |   6 +-
 libsepol/src/expand.c                      | 153 +++--
 libsepol/src/kernel_to_cil.c               | 182 +++--
 libsepol/src/kernel_to_common.h            |  10 -
 libsepol/src/kernel_to_conf.c              | 178 +++--
 libsepol/src/link.c                        |  57 +-
 libsepol/src/module_to_cil.c               |  86 ++-
 libsepol/src/optimize.c                    |   8 -
 libsepol/src/policydb.c                    | 479 +++++++++++---
 libsepol/src/policydb_validate.c           | 101 ++-
 libsepol/src/services.c                    |   5 +-
 libsepol/src/write.c                       | 735 +++++----------------
 34 files changed, 1390 insertions(+), 1553 deletions(-)
Signature · 1 line
2.41.0