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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

-- 
universe-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/universe-bugs

Reply via email to