aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <chpebeni@linux.microsoft.com>2020-07-10 09:07:52 -0400
committerJason Zaman <perfinion@gentoo.org>2020-08-09 19:58:46 -0700
commitf9b2881c8361e78c78c8dda12fb2c75d409022c7 (patch)
tree9baa960b3cd4199ea29461e63345d5530b094139 /support
parentopenvpn: Module version bump. (diff)
downloadhardened-refpolicy-f9b2881c8361e78c78c8dda12fb2c75d409022c7.tar.gz
hardened-refpolicy-f9b2881c8361e78c78c8dda12fb2c75d409022c7.tar.bz2
hardened-refpolicy-f9b2881c8361e78c78c8dda12fb2c75d409022c7.zip
Move user definitions to the right place during compilation.
This will allow user definitions in modules to work for monolithic policies and base module. Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com> Signed-off-by: Jason Zaman <perfinion@gentoo.org>
Diffstat (limited to 'support')
-rw-r--r--support/comment_move_decl.sed1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/comment_move_decl.sed b/support/comment_move_decl.sed
index 90813480d..58c10f15c 100644
--- a/support/comment_move_decl.sed
+++ b/support/comment_move_decl.sed
@@ -11,5 +11,6 @@
/^[[: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