]> git.ipfire.org Git - people/stevee/selinux-policy.git/blobdiff - Rules.monolithic
trunk: Add support for setting the unknown permissions handling.
[people/stevee/selinux-policy.git] / Rules.monolithic
index c6973fbc54f5ee98f53503aba53391ed4fd6da77..d93524ea9e93985c6785a49d6ce976719eb2f667 100644 (file)
@@ -63,6 +63,9 @@ resetlabels:  $(fcpath)
 #
 # Build a binary policy locally
 #
+ifneq "$(UNK_PERMS)" ""
+$(polver): CHECKPOLICY += -U $(UNK_PERMS)
+endif
 $(polver): $(policy_conf)
        @echo "Compiling $(NAME) $(polver)"
 ifneq ($(pv),$(kv))
@@ -76,6 +79,9 @@ endif
 #
 # Install a binary policy
 #
+ifneq "$(UNK_PERMS)" ""
+$(loadpath): CHECKPOLICY += -U $(UNK_PERMS)
+endif
 $(loadpath): $(policy_conf)
        @mkdir -p $(policypath)
        @echo "Compiling and installing $(NAME) $(loadpath)"