commit: 7b3f359e242a5ec1b31229ccfa3e6dec82b69a87 Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> AuthorDate: Sun Feb 15 17:37:15 2015 +0000 Commit: Sven Vermeulen <swift <AT> gentoo <DOT> org> CommitDate: Sun Feb 15 17:37:15 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=7b3f359e
Add validate target for monolithic policy --- Rules.monolithic | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Rules.monolithic b/Rules.monolithic index d2de916..c2c2147 100644 --- a/Rules.monolithic +++ b/Rules.monolithic @@ -207,6 +207,15 @@ $(ncpath): $(net_contexts) ######################################## # +# Validate file contexts +# +validate: $(fc) $(polver) + @echo "Validating $(NAME) file_contexts." + $(verbose) $(SETFILES) -q -c $(polver) $(fc) + @echo "Success." + +######################################## +# # Run policy source checks # check: $(builddir)check.res