From a9ec5414d16ac3d94fa87bd2eb055a77eaf788a5 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 8 Jun 2005 13:11:47 +0000 Subject: [PATCH] add interface macro --- refpolicy/policy/support/loadable_module.spt | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/refpolicy/policy/support/loadable_module.spt b/refpolicy/policy/support/loadable_module.spt index 4520282fd..36bb6732b 100644 --- a/refpolicy/policy/support/loadable_module.spt +++ b/refpolicy/policy/support/loadable_module.spt @@ -26,6 +26,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