diff options
Diffstat (limited to 'debian/patches/42_disable_ioperm.patch')
| -rw-r--r-- | debian/patches/42_disable_ioperm.patch | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/debian/patches/42_disable_ioperm.patch b/debian/patches/42_disable_ioperm.patch index bab5914..3ce74f3 100644 --- a/debian/patches/42_disable_ioperm.patch +++ b/debian/patches/42_disable_ioperm.patch @@ -10,9 +10,11 @@ * i386/i386/ktss.c (ktss_init): Disable io permissions by default. ---- i386/i386/iopb.c Tue Feb 25 22:27:09 1997 -+++ i386/i386/iopb.c Sun Oct 7 05:00:09 2001 -@@ -271,7 +271,7 @@ +Index: i386/i386/iopb.c +=================================================================== +--- i386/i386/iopb.c.orig 2006-11-14 04:15:49.000000000 +0200 ++++ i386/i386/iopb.c 2006-11-14 04:15:57.000000000 +0200 +@@ -273,7 +273,7 @@ iopb_create(void) register iopb_tss_t ts; ts = (iopb_tss_t) kalloc(sizeof (struct iopb_tss)); @@ -21,7 +23,7 @@ return ts; } -@@ -358,7 +363,7 @@ +@@ -360,7 +360,7 @@ i386_io_port_add( simple_unlock(&iopb_lock); new_io_tss = (iopb_tss_t) kalloc(sizeof(struct iopb_tss)); @@ -30,9 +32,11 @@ goto Retry; } ---- i386/i386/ktss.c 25 Feb 1997 21:27:10 -0000 1.1.1.1 -+++ i386/i386/ktss.c 16 Nov 2004 06:55:28 -0000 -@@ -44,7 +44,7 @@ +Index: i386/i386/ktss.c +=================================================================== +--- i386/i386/ktss.c.orig 2006-11-14 03:58:56.000000000 +0200 ++++ i386/i386/ktss.c 2006-11-14 04:15:57.000000000 +0200 +@@ -44,7 +44,7 @@ ktss_init() /* Initialize the master TSS descriptor. */ fill_gdt_descriptor(KERNEL_TSS, @@ -41,7 +45,7 @@ ACC_PL_K|ACC_TSS, 0); /* Initialize the master TSS. */ -@@ -52,9 +52,6 @@ +@@ -52,9 +52,6 @@ ktss_init() ktss.esp0 = (unsigned)(exception_stack+1024); ktss.io_bit_map_offset = sizeof(ktss); |
