[apparmor] PATCH [2/3] - report status changes
John Johansen
john.johansen at canonical.com
Thu Sep 9 17:08:45 BST 2010
This patch causes apparmor_notify to report status changes. I am actually
not sure this one should be applied yet, as it feels like this should
be an option.
Index: utils/apparmor_notify
===================================================================
--- utils.orig/apparmor_notify 2010-09-09 08:48:08.164193401 -0700
+++ utils/apparmor_notify 2010-09-09 09:00:11.264193402 -0700
@@ -230,7 +230,8 @@
# ignore all but status and denied messages
my $type = LibAppArmor::aa_log_record::swig_event_get($test);
- $type == $LibAppArmor::AA_RECORD_DENIED or return ();
+ $type == $LibAppArmor::AA_RECORD_DENIED ||
+ $type == $LibAppArmor::AA_RECORD_STATUS or return ();
my $profile = LibAppArmor::aa_log_record::swig_profile_get($test);
my $operation = LibAppArmor::aa_log_record::swig_operation_get($test);
More information about the AppArmor
mailing list