]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
Revert "UBUNTU: SAUCE: apparmor: fix cross ns perm of unix domain sockets"
authorStefan Bader <stefan.bader@canonical.com>
Wed, 22 Mar 2017 08:52:58 +0000 (09:52 +0100)
committerStefan Bader <stefan.bader@canonical.com>
Wed, 22 Mar 2017 10:20:12 +0000 (11:20 +0100)
This reverts commit e6a5ccb5d0ac7d239bdaa65aa64d54a608f5fee8.

BugLink: https://bugs.launchpad.net/bugs/1666897
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
security/apparmor/af_unix.c

index 757df1ade9a099a6f81945c1004c70eff87a3e3e..8178498f0a2fb1bb91589cb7a8ca950a5616a68d 100644 (file)
@@ -515,7 +515,7 @@ static int profile_peer_perm(struct aa_profile *profile, const char *op, u32 req
                                      addr, len, &aad(sa)->info);
                if (!peer_label)
                        peer_label = peer_ctx->label;
-               return fn_for_each_in_ns(peer_label, peerp,
+               return fn_for_each(peer_label, peerp,
                                   match_label(profile, peerp, state, request,
                                               sa));
        }