[Bug 427966] Re: aa-logprof doesn't handle "open" log entries

Marc Deslauriers marc.deslauriers at ubuntu.com
Thu Sep 17 15:26:48 UTC 2009


Proposed patch:

diff -u apparmor-2.3.1+1403/utils/SubDomain.pm apparmor-2.3.1+1403/utils/SubDomain.pm
--- apparmor-2.3.1+1403/utils/SubDomain.pm
+++ apparmor-2.3.1+1403/utils/SubDomain.pm
@@ -2770,6 +2770,18 @@
                      $e->{name},
 		     "",
                    );
+    } elsif ($e->{operation} eq "open") {
+        add_to_tree( $e->{pid},
+		     $e->{parent},
+                     "path",
+                     $profile,
+                     $hat,
+                     $prog,
+                     $sdmode,
+                     $e->{denied_mask},
+                     $e->{name},
+		     "",
+                   );
     } elsif ($e->{operation} eq "capable") {
         add_to_tree( $e->{pid},
 		     $e->{parent},

-- 
aa-logprof doesn't handle "open" log entries
https://bugs.launchpad.net/bugs/427966
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list