selinux-policy/refpolicy/support/comment_move_decl.sed
2006-03-21 16:06:19 +00:00

13 lines
546 B
Sed

# comment out lines that are moved by the build
# process, so line numbers provided by m4 are preserved.
# lines in require blocks are not moved
/require \{/,/} # end require/b nextline
/^[[:blank:]]*(attribute|type(alias)?) / s/^/# this line was moved by the build process: &/
/^[[:blank:]]*(port|node|netif|genfs)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: &/
:nextline