From b67fafc20c8d4974b638fcefa7395615e6e04ffc Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Tue, 21 Mar 2006 16:06:19 +0000 Subject: [PATCH] move typealias statements up too --- refpolicy/support/comment_move_decl.sed | 2 +- refpolicy/support/get_type_attr_decl.sed | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/refpolicy/support/comment_move_decl.sed b/refpolicy/support/comment_move_decl.sed index 566c6f15..6ea2ceae 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 2a4cff59..6bb5ff33 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 }