From b67fafc20c8d4974b638fcefa7395615e6e04ffc Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Mar 21 2006 16:06:19 +0000 Subject: move typealias statements up too --- 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 }