[PATCH] x86: initialise tss->io_bitmap_owner to something
There exists a field io_bitmap_owner in the TSS that is only checked, but never set to anything else but NULL. Signed-off-by: Bart Oldeman <bartoldeman@users.sourceforge.net> Acked-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
08967f941a
commit
d5cd4aadd3
|
@ -488,6 +488,7 @@ fastcall void __kprobes do_general_protection(struct pt_regs * regs,
|
||||||
tss->io_bitmap_max - thread->io_bitmap_max);
|
tss->io_bitmap_max - thread->io_bitmap_max);
|
||||||
tss->io_bitmap_max = thread->io_bitmap_max;
|
tss->io_bitmap_max = thread->io_bitmap_max;
|
||||||
tss->io_bitmap_base = IO_BITMAP_OFFSET;
|
tss->io_bitmap_base = IO_BITMAP_OFFSET;
|
||||||
|
tss->io_bitmap_owner = thread;
|
||||||
put_cpu();
|
put_cpu();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue