|
@@ -876,6 +876,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
|
|
if (err)
|
|
if (err)
|
|
break;
|
|
break;
|
|
}
|
|
}
|
|
|
|
+ mutex_unlock(&audit_cmd_mutex);
|
|
audit_log_common_recv_msg(&ab, msg_type);
|
|
audit_log_common_recv_msg(&ab, msg_type);
|
|
if (msg_type != AUDIT_USER_TTY)
|
|
if (msg_type != AUDIT_USER_TTY)
|
|
audit_log_format(ab, " msg='%.*s'",
|
|
audit_log_format(ab, " msg='%.*s'",
|
|
@@ -893,6 +894,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
|
|
}
|
|
}
|
|
audit_set_portid(ab, NETLINK_CB(skb).portid);
|
|
audit_set_portid(ab, NETLINK_CB(skb).portid);
|
|
audit_log_end(ab);
|
|
audit_log_end(ab);
|
|
|
|
+ mutex_lock(&audit_cmd_mutex);
|
|
}
|
|
}
|
|
break;
|
|
break;
|
|
case AUDIT_ADD_RULE:
|
|
case AUDIT_ADD_RULE:
|