d41607c714
This will allow user definitions in modules to work for monolithic policies and base module. Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
17 lines
890 B
Sed
17 lines
890 B
Sed
# comment out lines that are moved by the build
|
|
# process, so line numbers provided by m4 are preserved.
|
|
|
|
# lines in require and optional blocks are not moved
|
|
/require \{/,/} # end require/b nextline
|
|
/optional \{/,/} # end optional/b nextline
|
|
|
|
/^[[:blank:]]*(attribute(_role)?|type(alias)?) /s/^/# this line was moved by the build process: &/
|
|
/^[[:blank:]]*(port|node|netif|genfs|ibpkey|ibendport)con /s/^/# this line was moved by the build process: &/
|
|
/^[[:blank:]]*fs_use_(xattr|task|trans) /s/^/# this line was moved by the build process: &/
|
|
/^[[:blank:]]*sid /s/^/# this line was moved by the build process: &/
|
|
/^[[:blank:]]*bool /s/^/# this line was moved by the build process: &/
|
|
/^[[:blank:]]*role[[:blank:]]+[a-zA-Z_]+[[:blank:]]*;/s/^/# this line was moved by the build process: &/
|
|
/^[[:blank:]]*user [a-zA-Z_]+ roles /s/^/# this line was moved by the build process: &/
|
|
|
|
:nextline
|