fix some /opt regexes

This commit is contained in:
Chris PeBenito 2005-10-27 18:32:16 +00:00
parent 05c6f04d2e
commit f1baed733f
4 changed files with 7 additions and 7 deletions

View File

@ -54,11 +54,11 @@ ifdef(`targeted_policy',`
#
# /opt
#
/opt/(.*)?/bin(/.*)? gen_context(system_u:object_r:bin_t,s0)
/opt(/.*)?/bin(/.*)? gen_context(system_u:object_r:bin_t,s0)
/opt/(.*)?/libexec(/.*)? gen_context(system_u:object_r:bin_t,s0)
/opt(/.*)?/libexec(/.*)? gen_context(system_u:object_r:bin_t,s0)
/opt/(.*)?/sbin(/.*)? gen_context(system_u:object_r:sbin_t,s0)
/opt(/.*)?/sbin(/.*)? gen_context(system_u:object_r:sbin_t,s0)
#
# /usr

View File

@ -102,7 +102,7 @@ HOME_ROOT/lost\+found/.* <<none>>
#
/opt(/.*)? gen_context(system_u:object_r:usr_t,s0)
/opt/(.*)?/var/lib(64)?(/.*)? gen_context(system_u:object_r:var_lib_t,s0)
/opt(/.*)?/var/lib(64)?(/.*)? gen_context(system_u:object_r:var_lib_t,s0)
#
# /proc

View File

@ -17,8 +17,8 @@
#
# /opt
#
/opt/(.*)?/lib(64)?(/.*)? gen_context(system_u:object_r:lib_t,s0)
/opt/(.*)?/lib(64)?/.*\.so(\.[^/]*)* -- gen_context(system_u:object_r:shlib_t,s0)
/opt(/.*)?/lib(64)?(/.*)? gen_context(system_u:object_r:lib_t,s0)
/opt(/.*)?/lib(64)?/.*\.so(\.[^/]*)* -- gen_context(system_u:object_r:shlib_t,s0)
#
# /sbin

View File

@ -7,7 +7,7 @@
#
# /opt
#
/opt/(.*)?/man(/.*)? gen_context(system_u:object_r:man_t,s0)
/opt(/.*)?/man(/.*)? gen_context(system_u:object_r:man_t,s0)
#
# /srv