Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 12314 Details for
Bug 21269
GLSA: Kernel hash table attack
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ioperm-bitmap.patch
ioperm-bitmap.patch (text/plain), 890 bytes, created by
Daniel Ahlberg (RETIRED)
on 2003-05-22 17:27:43 UTC
(
hide
)
Description:
ioperm-bitmap.patch
Filename:
MIME Type:
Creator:
Daniel Ahlberg (RETIRED)
Created:
2003-05-22 17:27:43 UTC
Size:
890 bytes
patch
obsolete
>diff -urN linux-2.5.64-bk5/arch/i386/kernel/ioport.c linux/arch/i386/kernel/ioport.c >--- linux-2.5.64-bk5/arch/i386/kernel/ioport.c 2003-02-24 14:59:03.000000000 -0500 >+++ linux/arch/i386/kernel/ioport.c 2003-03-14 10:19:48.000000000 -0500 >@@ -84,15 +84,17 @@ > t->ts_io_bitmap = bitmap; > } > >- tss = init_tss + get_cpu(); >- if (bitmap) >- tss->bitmap = IO_BITMAP_OFFSET; /* Activate it in the TSS */ >- > /* > * do it in the per-thread copy and in the TSS ... > */ > set_bitmap(t->ts_io_bitmap, from, num, !turn_on); >- set_bitmap(tss->io_bitmap, from, num, !turn_on); >+ tss = init_tss + get_cpu(); >+ if (tss->bitmap == IO_BITMAP_OFFSET) { /* already active? */ >+ set_bitmap(tss->io_bitmap, from, num, !turn_on); >+ } else { >+ memcpy(tss->io_bitmap, t->ts_io_bitmap, IO_BITMAP_BYTES); >+ tss->bitmap = IO_BITMAP_OFFSET; /* Activate it in the TSS */ >+ } > put_cpu(); > out: > return ret;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21269
: 12314 |
12315