🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: gmane.linux.kernel
1 messages
1 total messages Started by Bart Oldeman Sat, 17 Sep 2005 22:44
[patch] bug fix: tss->io_bitmap_owner is never set to non-NULL.
#307658
Author: Bart Oldeman
Date: Sat, 17 Sep 2005 22:44
18 lines
637 bytes
Hi,

it appears that there is exists a field io_bitmap_owner in the TSS that is
only checked, but never set to anything else but NULL.

The below patch corrects this.

Signed-off-by: Bart Oldeman <bartoldeman@users.sourceforge.net>

--- arch/i386/kernel/traps.c.org	2005-09-17 17:20:19.000000000 +1200
+++ arch/i386/kernel/traps.c	2005-09-17 22:33:00.000000000 +1200
@@ -489,6 +489,7 @@ fastcall void __kprobes do_general_prote
  				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_owner = thread;
  		put_cpu();
  		return;
  	}
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads