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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user