From a9ec5414d16ac3d94fa87bd2eb055a77eaf788a5 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Jun 08 2005 13:11:47 +0000 Subject: add interface macro --- diff --git a/refpolicy/policy/support/loadable_module.spt b/refpolicy/policy/support/loadable_module.spt index 4520282..36bb673 100644 --- a/refpolicy/policy/support/loadable_module.spt +++ b/refpolicy/policy/support/loadable_module.spt @@ -28,6 +28,19 @@ define(`requires_block_template',` ############################## # +# In the future interfaces could be in loadable modules +# +# module_interface(name,rules) +# +define(`module_interface',` + define(`$1',` + requires_block_template(`$1'_depend) + $2 + ') +') + +############################## +# # Optional policy handling # define(`optional_policy',`