diff --git a/refpolicy/support/comment_move_decl.sed b/refpolicy/support/comment_move_decl.sed index 566c6f1..6ea2cea 100644 --- a/refpolicy/support/comment_move_decl.sed +++ b/refpolicy/support/comment_move_decl.sed @@ -4,7 +4,7 @@ # lines in require blocks are not moved /require \{/,/} # end require/b nextline -/^[[:blank:]]*(attribute|type) / s/^/# this line was moved by the build process: &/ +/^[[: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: &/ diff --git a/refpolicy/support/get_type_attr_decl.sed b/refpolicy/support/get_type_attr_decl.sed index 2a4cff5..6bb5ff3 100644 --- a/refpolicy/support/get_type_attr_decl.sed +++ b/refpolicy/support/get_type_attr_decl.sed @@ -4,7 +4,7 @@ /require \{/,/} # end require/b nextline -/^[[:blank:]]*(attribute|type) /{ +/^[[:blank:]]*(attribute|type(alias)?) /{ s/^[[:blank:]]+// p }