On Thu, Nov 23, 2017 at 11:42 AM, Eric Biggers wrote:
>> diff -puN arch/x86/kernel/ldt.c~kaiser-user-map-new-ldts
>> arch/x86/kernel/ldt.c
>> --- a/arch/x86/kernel/ldt.c~kaiser-user-map-new-ldts 2017-11-22
>> 15:45:49.059619739 -0800
>> +++ b/arch/x86/kernel/ldt.c 2017-11-22 15:45:49.06261973
> diff -puN arch/x86/kernel/ldt.c~kaiser-user-map-new-ldts arch/x86/kernel/ldt.c
> --- a/arch/x86/kernel/ldt.c~kaiser-user-map-new-ldts 2017-11-22
> 15:45:49.059619739 -0800
> +++ b/arch/x86/kernel/ldt.c 2017-11-22 15:45:49.062619739 -0800
> @@ -11,6 +11,7 @@
[...]
> + ret = kaiser_add_mapp
From: Dave Hansen
Normally, a process has a NULL mm->context.ldt. But, there is a
syscall for a process to set a new one. If a process does that,
the LDT be mapped into the user page tables, just like the
default copy.
The original KAISER patch missed this case.
Signed-off-by: Dave Hansen
C
3 matches
Mail list logo