selinux/checkpolicy
Christian Göttsche 58a444fb84 checkpolicy/dismod: avoid duplicate initialization and fix module linking
Avoid duplicate policydb initialization when reading a kernel policy.
One caller, main(), already performs the initialization.  The other one,
link_module(), needs to do it also for the module policy case.

Also set the target platform to enable module linking.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2023-12-06 13:32:42 -05:00
..
test checkpolicy/dismod: avoid duplicate initialization and fix module linking 2023-12-06 13:32:42 -05:00
tests checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
.gitignore checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
checkmodule.8 checkpolicy,libselinux,libsepol,policycoreutils,semodule-utils: update my email 2023-08-04 13:57:01 -04:00
checkmodule.c Revert "checkpolicy,libsepol: move filename transitions to avtab" 2023-08-04 13:47:42 -04:00
checkpolicy.8 checkpolicy,libselinux,libsepol,policycoreutils,semodule-utils: update my email 2023-08-04 13:57:01 -04:00
checkpolicy.c checkpolicy,libselinux,libsepol,policycoreutils,semodule-utils: update my email 2023-08-04 13:57:01 -04:00
checkpolicy.h checkpolicy: remove unused te_assertions 2020-01-27 10:51:21 -05:00
LICENSE docs: provide a top level LICENSE file 2022-10-05 08:20:38 -04:00
Makefile checkpolicy: add round-trip tests 2023-11-07 16:27:26 -05:00
module_compiler.c Revert "checkpolicy,libsepol: move filename transition rules to avrule" 2023-08-04 13:47:39 -04:00
module_compiler.h Revert "checkpolicy,libsepol: move filename transition rules to avrule" 2023-08-04 13:47:39 -04:00
parse_util.c libsepol: Populate and use policy name 2022-02-24 10:44:46 -05:00
parse_util.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
policy_define.c checkpolicy: Remove support for role dominance rules 2023-08-16 13:34:20 -04:00
policy_define.h checkpolicy: Remove support for role dominance rules 2023-08-16 13:34:20 -04:00
policy_parse.y checkpolicy: Remove support for role dominance rules 2023-08-16 13:34:20 -04:00
policy_scan.l checkpolicy,libselinux,libsepol,policycoreutils,semodule-utils: update my email 2023-08-04 13:57:01 -04:00
queue.c checkpolicy,libselinux,libsepol,policycoreutils,semodule-utils: update my email 2023-08-04 13:57:01 -04:00
queue.h checkpolicy,libselinux,libsepol,policycoreutils,semodule-utils: update my email 2023-08-04 13:57:01 -04:00
VERSION Update VERSIONs to 3.6-rc2 for release. 2023-11-22 16:01:56 +01:00