Braces in path field breaks audit2allow (PROPOSED FIX)
t l
concert at europe.com
Thu Aug 12 21:47:16 UTC 2004
Sorry to make the first mod so complicated.
After looking at the Perl a bit, this is simpler, but
depends on 'important brace fields' starting with the
brace character. Is that correct?
If so, a patch follows.
tom
--- /usr/bin/audit2allow 2004-08-11 14:29:39.000000000 -0700
+++ a2a 2004-08-12 14:42:33.812606852 -0700
@@ -65,7 +65,7 @@
$command="";
foreach $i(0..$#types){
next if($types[$i]!~/[=\{]/);
- if($types[$i]=~/\{/){
+ if($types[$i]=~/^\{/){
$j=$i+1;
while($types[$j]!~/\}/){
$command.=" $types[$j]";
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
More information about the fedora-selinux-list
mailing list