#
#=DESCRIPTION audit allow change_profile /onexec
#=EXRESULT PASS
#
/usr/bin/foo {
   audit allow change_profile /onexec -> /bin/*,
}

/usr/bin/foo2 {
   audit allow change_profile /onexec -> /bin/**,
}

/usr/bin/foo3 {
   audit allow change_profile /onexec -> /bin/?,
}

/usr/bin/foo4 {
   audit allow change_profile /onexec -> /bin/[ab],
}

/usr/bin/foo5 {
   audit allow change_profile /onexec -> /bin/[^ab],
}

