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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1644302

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

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

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

Reply via email to