Re: [PATCH] x86/ldt: correct ldt access in single stepping logic

From: Andy Lutomirski
Date: Thu Aug 06 2015 - 14:37:32 EST


On Thu, Aug 6, 2015 at 1:04 AM, Juergen Gross <jgross@xxxxxxxx> wrote:
> Commit 37868fe113ff ("x86/ldt: Make modify_ldt synchronous") introduced
> a new struct ldt_struct anchored at mm->context.ldt.
>
> convert_ip_to_linear() was changed to reflect this, but indexing into
> the ldt has to be changed as the pointer is no longer void *.

Good catch.

Reviewed-by: Andy Lutomirski <luto@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/