Comment 4 for bug 1163259

Revision history for this message
johnw.chrome (johnw-chrome) wrote :

Ok, thank you to submit the patch.

I added two line to aa-notify to silent the popup message (for inet6),
maybe someone want it too.

--- /ramdisk/aa-notify 2013-04-04 10:12:43.397396990 +0800
+++ /usr/bin/aa-notify 2013-04-02 22:31:31.244835017 +0800
@@ -272,6 +272,9 @@
my $sock_type = LibAppArmor::aa_log_record::swig_net_sock_type_get($test);
LibAppArmorc::free_record($test);

+ if ($family =~ /inet6/) { return (); }
+ return ($profile, $operation, $name, $denied, $family, $sock_type, $date);
+
err:
LibAppArmorc::free_record($test);
return ();