]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/main.c
main: load Smack policy before IMA policy (#3859)
authorIsmo Puustinen <ismo.puustinen@intel.com>
Tue, 2 Aug 2016 12:58:30 +0000 (15:58 +0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Aug 2016 12:58:30 +0000 (08:58 -0400)
commit96694e998be1f631861c8c72de67c581a5306afa
tree2ddbeffbc8469ef44f290f7e027da05ff1c5787a
parent98d2d46876c08d6f2ae63284ec5a28f90cbbb8ac
main: load Smack policy before IMA policy (#3859)

IMA wiki says: "If the IMA policy contains LSM labels, then the LSM
policy must be loaded prior to the IMA policy." Right now, in case of
Smack, the IMA policy is loaded before the Smack policy. Move the order
around to allow Smack labels to be used in IMA policy.
src/core/main.c