supported by Zeuner Solutions SourceForge.net Logo

documentation for the macro "factor_base"

This macro defines a basic stub to create a policy factor upon.

It is defined in the file licenses.m4.

m4 code:

define(`factor_base',
`define(`$1_types',
$1_free_t)dnl
permit_everything(needed_classes,$1_free_t,$1_free_t)dnl
define(`$1_roles',
$1_free_r)dnl
define(`drm_factors',patsubst(patsubst(notmember(`
$1
',patsubst(`drm_factors',`
',`)notmember(`
$1
',')),`
$',)
$1,^
,))dnl
define(`drm_substitute',
`patsubst(patsubst('`,X$1_free_t,),X$1_free_r,)')dnl
define(role_typesX$1_free_r,$1_free_t)dnl
')