Revert "UBUNTU: SAUCE: (no-up) apparmor fix: remove unused cxt var for unix_sendmsg"

This reverts commit cd1cab56ab33eadc15ebb9e4e85e96ecd2f68dd9.

Signed-off-by: Tyler Hicks <tyhicks@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
This commit is contained in:
Tyler Hicks
2014-08-06 11:57:05 -05:00
committed by Tim Gardner
parent d59e028e68
commit 4cd9463019

View File

@@ -839,6 +839,7 @@ static int apparmor_unix_stream_connect(struct sock *sock, struct sock *other,
static int apparmor_unix_may_send(struct socket *sock, struct socket *other)
{
struct aa_sk_cxt *other_cxt = SK_CXT(other->sk);
struct aa_sk_cxt *cxt = SK_CXT(sock->sk);
struct aa_label *label = __aa_get_current_label();
int error;