One difference between the userspaces in precise and trusty is that the
trusty version supports mount rules.

Also, Luis noticed that in aa_new_mount(), "struct path dev_path" is
redefined, and thus shadowed. He's doing a test kernel with the
following patch applied:

diff --git a/security/apparmor/mount.c b/security/apparmor/mount.c
index 076200ece0f5..f59937529ba4 100644
--- a/security/apparmor/mount.c
+++ b/security/apparmor/mount.c
@@ -517,8 +517,6 @@ int aa_new_mount(struct aa_label *label, const char 
*orig_dev_name,
                put_filesystem(fstype);
 
                if (requires_dev) {
-                       struct path dev_path;
-
                        if (!dev_name || !*dev_name) {
                                error = -ENOENT;
                                goto out;


** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1644302

Title:
  Possible regression on 3.13.0-102.149~precise1 x86_64 (gce)

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  This issue was found in the ubuntu_qrt_apparmor test, it failed with
  "kernel regression test" on 3.13.0-102.149~precise1

  Error message:
  11/21 17:51:18 ERROR| utils:0153| [stderr] Run kernel regression tests ... 
FAIL

  Full test log can be found here:
  
http://kernel.ubuntu.com/testing/3.13.0-102.149~precise1/gce--ubuntu-qrt-apparmor--precise__3.13.0-102.149~precise1__2016-11-21_17-39-00/ubuntu_qrt_apparmor/results/ubuntu_qrt_apparmor.test-apparmor.py/debug/ubuntu_qrt_apparmor.test-apparmor.py.DEBUG.html

  This issue did not occur on the last cycle, log can be found here:
  
http://kernel.ubuntu.com/testing/3.13.0-101.148~precise1/gce--ubuntu-qrt-apparmor--precise__3.13.0-101.148~precise1__2016-10-27_20-10-00/ubuntu_qrt_apparmor/results/ubuntu_qrt_apparmor.test-apparmor.py/debug/ubuntu_qrt_apparmor.test-apparmor.py.DEBUG.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1644302/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to