{"push_id":1300231952,"size":11,"distinct_size":11,"ref":"refs/heads/add_pcre2_support","head":"f6dedcb011a6749fdc2ec003cc436301b261a5be","before":"327868ca95bb37393119cb4b333cfb49a15b4501","commits":[{"sha":"112f86d4899dd467454ead0069c1530603a3ebea","author":{"name":"Nicolas Iooss","email":"d3457e454cf019ca2de7f483c3d6bc52529b443c@m4x.org"},"message":"checkpolicy: add types associated to a role in the current scope when parsing\n\nThis fixes most of the errors reported in \"make -C libsepol test\":\n\n    ./libsepol-tests\n         CUnit - A unit testing framework for C - Version 2.1-3\n         http://cunit.sourceforge.net/\n    Suite: cond\n      Test: cond_expr_equal ...passed\n    Suite: linker\n      Test: linker_indexes ...passed\n      Test: linker_types ...passed\n      Test: linker_roles ...\n    role o1_b_role_1 has 0 types, 1 expected\n    role o1_b_role_1 has 0 types, 1 expected\n    role o1_m1_role_1 has 0 types, 1 expected\n    sym g_b_role_2 has 1 decls, 2 expected\n    Role o1_b_role_2 had type o1_b_type_1 not in types array\n    role o1_b_role_2 has 0 types, 1 expected\n    Role g_b_role_4 had type g_m1_type_2 not in types array\n    role g_b_role_4 has 0 types, 1 expected\n    role o3_b_role_1 has 0 types, 1 expected\n    role o3_b_role_1 has 0 types, 1 expected\n    role o4_b_role_1 has 0 types, 1 expected\n    Role o4_b_role_1 had type g_m1_type_1 not in types array\n\n    FAILED\n        1. test-common.c:216  - found == len\n        2. test-common.c:216  - found == len\n        3. test-common.c:216  - found == len\n        4. test-common.c:43  - scope->decl_ids_len == len\n        5. test-common.c:52  - found == 1\n        6. test-common.c:213  - new == 1\n        7. test-common.c:216  - found == len\n        8. test-common.c:213  - new == 1\n        9. test-common.c:216  - found == len\n        10. test-common.c:216  - found == len\n        11. test-common.c:216  - found == len\n        12. test-common.c:216  - found == len\n        13. test-common.c:213  - new == 1\n      Test: linker_cond ...passed\n    Suite: expander\n      Test: expander_indexes ...passed\n      Test: expander_attr_mapping ...passed\n      Test: expander_role_mapping ...passed\n      Test: expander_user_mapping ...passed\n      Test: expander_alias ...passed\n    Suite: deps\n      Test: deps_modreq_global ...passed\n      Test: deps_modreq_opt ...passed\n    Suite: downgrade\n      Test: downgrade ...passed\n\n    Run Summary:    Type  Total    Ran Passed Failed Inactive\n                  suites      5      5    n/a      0        0\n                   tests     13     13     12      1        0\n                 asserts   1269   1269   1256     13      n/a\n\nSigned-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/112f86d4899dd467454ead0069c1530603a3ebea"},{"sha":"3666bd9a99b1453aaba021741ddaf9798a5cee64","author":{"name":"Nicolas Iooss","email":"d3457e454cf019ca2de7f483c3d6bc52529b443c@m4x.org"},"message":"libsepol: tests: fix g_b_role_2 test\n\nEven though g_b_role_2 is used both in\ntests/policies/test-linker/small-base.conf and\ntests/policies/test-linker/module1.conf, it seems to only exists in the\nscope of the base policy.\n\nThis fixes the following failure of \"make -C libsepol test\":\n\n    ./libsepol-tests\n         CUnit - A unit testing framework for C - Version 2.1-3\n         http://cunit.sourceforge.net/\n    Suite: cond\n      Test: cond_expr_equal ...passed\n    Suite: linker\n      Test: linker_indexes ...passed\n      Test: linker_types ...passed\n      Test: linker_roles ...sym g_b_role_2 has 1 decls, 2 expected\n    FAILED\n        1. test-common.c:43  - scope->decl_ids_len == len\n        2. test-common.c:52  - found == 1\n      Test: linker_cond ...passed\n    Suite: expander\n      Test: expander_indexes ...passed\n      Test: expander_attr_mapping ...passed\n      Test: expander_role_mapping ...passed\n      Test: expander_user_mapping ...passed\n      Test: expander_alias ...passed\n    Suite: deps\n      Test: deps_modreq_global ...passed\n      Test: deps_modreq_opt ...passed\n    Suite: downgrade\n      Test: downgrade ...passed\n\n    Run Summary:    Type  Total    Ran Passed Failed Inactive\n                  suites      5      5    n/a      0        0\n                   tests     13     13     12      1        0\n                 asserts   1274   1274   1272      2      n/a\n\nSigned-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/3666bd9a99b1453aaba021741ddaf9798a5cee64"},{"sha":"2489b50a916215e6c993b9ae0a4a6134321c5317","author":{"name":"Nicolas Iooss","email":"d3457e454cf019ca2de7f483c3d6bc52529b443c@m4x.org"},"message":"libsepol: make \"make test\" fails when a CUnit test fails\n\nSigned-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/2489b50a916215e6c993b9ae0a4a6134321c5317"},{"sha":"542b528703d205ba286fb70b0cd997ae688f0494","author":{"name":"Stephen Smalley","email":"a113c662ba7e86bc1a8f97e28bfedcdc6b0de5bd@tycho.nsa.gov"},"message":"Updated checkpolicy and libsepol ChangeLogs\n\nSigned-off-by: Stephen Smalley <sds@tycho.nsa.gov>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/542b528703d205ba286fb70b0cd997ae688f0494"},{"sha":"e7fbb8b401b8af395d733069646d691015ee0fcc","author":{"name":"Guido Trentalancia","email":"e761dd0e22b2deb71f7943e137ca82ba38f5ba89@trentalancia.net"},"message":"Produce more meaningful error messages when conflicting type rules are found by libsepol.\n\nFixes Debian bug #832331 (https://bugs.debian.org/832331).\n\nSigned-off-by: Guido Trentalancia <guido@trentalancia.net>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/e7fbb8b401b8af395d733069646d691015ee0fcc"},{"sha":"c1d873e971e2e64562e72a029dde27532a58eb8f","author":{"name":"James Carter","email":"81a23ad70c957ea107796f41c953bf4630f25afa@tycho.nsa.gov"},"message":"Updated libsepol ChangeLog.\n\nSigned-off-by: James Carter <jwcart2@tycho.nsa.gov>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/c1d873e971e2e64562e72a029dde27532a58eb8f"},{"sha":"5e15a52aaa3a3446840255e668e196789677ef49","author":{"name":"William Roberts","email":"2ab0b34d0874dfdcd9c725c8b386e616dee80c4f@intel.com"},"message":"libselinux: clean up process file\n\nThe current process_file() code will open the file\ntwice on the case of a binary file, correct this.\n\nThe general flow through process_file() was a bit\ndifficult to read, streamline the routine to be\nmore readable.\n\nDetailed statistics of before and after:\n\nSource lines of code reported by cloc on modified files:\nbefore: 735\nafter: 742\n\nObject size difference:\nbefore: 195530 bytes\nafter:  195485 bytes\n\nSigned-off-by: William Roberts <william.c.roberts@intel.com>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/5e15a52aaa3a3446840255e668e196789677ef49"},{"sha":"0a0e5afbb40d70e7b7a38b797f649e5d56f91bf7","author":{"name":"Stephen Smalley","email":"a113c662ba7e86bc1a8f97e28bfedcdc6b0de5bd@tycho.nsa.gov"},"message":"libselinux: fix coding style problems with the prior commit\n\nSigned-off-by: Stephen Smalley <sds@tycho.nsa.gov>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/0a0e5afbb40d70e7b7a38b797f649e5d56f91bf7"},{"sha":"429041bfabafaed1a5360b7ad7e1ebb989e400ce","author":{"name":"Stephen Smalley","email":"a113c662ba7e86bc1a8f97e28bfedcdc6b0de5bd@tycho.nsa.gov"},"message":"Updated libselinux ChangeLog\n\nSigned-off-by: Stephen Smalley <sds@tycho.nsa.gov>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/429041bfabafaed1a5360b7ad7e1ebb989e400ce"},{"sha":"d10c8b81d4197f645762e28e42acd26a245bbcac","author":{"name":"Stephen Smalley","email":"a113c662ba7e86bc1a8f97e28bfedcdc6b0de5bd@tycho.nsa.gov"},"message":"sepolgen: fix make test\n\nmake test in sepolgen was broken because checkmodule now requires\nthe module name to match the file name.  Fix it.\n\nSigned-off-by: Stephen Smalley <sds@tycho.nsa.gov>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/d10c8b81d4197f645762e28e42acd26a245bbcac"},{"sha":"f6dedcb011a6749fdc2ec003cc436301b261a5be","author":{"name":"Janis Danisevskis","email":"d97e269b56b86a5031bc8a6005142810d76fe967@google.com"},"message":"libselinux: add support for pcre2\n\nThis patch moves all pcre1/2 dependencies into the new files regex.h\nand regex.c implementing the common denominator of features needed\nby libselinux. The compiler flag -DUSE_PCRE2 toggles between the\nused implementations.\n\nAs of this patch libselinux supports either pcre or pcre2 but not\nboth at the same time. The persistently stored file contexts\ninformation differs. This means libselinux can only load file\ncontext files generated by sefcontext_compile build with the\nsame pcre variant.\n\nAlso, for pcre2 the persistent format is architecture dependent.\nStored precompiled regular expressions can only be used on the\nsame architecture they were generated on. If pcre2 is used,\nsefcontext_compile now respects the \"-r\". This flag makes\nsefcontext_compile include the precompiled regular expressions\nin the output file. The default is to omit them, so that the\noutput remains portable at the cost of having to recompile\nthe regular expressions at load time, or rather on first use.\n\nSigned-off-by: Janis Danisevskis <jdanis@google.com>","distinct":true,"url":"https://api.github.com/repos/werwurm/selinux/commits/f6dedcb011a6749fdc2ec003cc436301b261a5be"}]}
{"actor":{"display_login":"werwurm"}}