summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Hale <tseng@gentoo.org>2004-06-16 02:48:21 +0000
committerBrandon Hale <tseng@gentoo.org>2004-06-16 02:48:21 +0000
commit19f3a7181fc27ea94d838c5c0c7c4a1321419b6e (patch)
treed1aded793103624397cedac6305d7e9b5060acde /src/kernel
parentAdd security fixes (diff)
downloadgentoo-19f3a7181fc27ea94d838c5c0c7c4a1321419b6e.tar.gz
gentoo-19f3a7181fc27ea94d838c5c0c7c4a1321419b6e.tar.bz2
gentoo-19f3a7181fc27ea94d838c5c0c7c4a1321419b6e.zip
cvs sucks
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/hardened-patches/hardened-patches-2.6-5.4/4006_CAN-2004-0228.patch11
-rw-r--r--src/kernel/hardened-patches/hardened-patches-2.6-5.4/4007_CAN-2004-0229.patch11
-rw-r--r--src/kernel/hardened-patches/hardened-patches-2.6-5.4/4008_CAN-2004-0427.patch11
-rw-r--r--src/kernel/hardened-patches/hardened-patches-2.6-5.4/4009_FPULockup-53804.patch24
4 files changed, 0 insertions, 57 deletions
diff --git a/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4006_CAN-2004-0228.patch b/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4006_CAN-2004-0228.patch
deleted file mode 100644
index 746ade9ab1..0000000000
--- a/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4006_CAN-2004-0228.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-2.6.3/drivers/cpufreq/cpufreq_userspace.c.overflow 2004-02-18 04:57:16.000000000 +0100
-+++ linux-2.6.3/drivers/cpufreq/cpufreq_userspace.c 2004-05-14 11:40:37.000000000 +0200
-@@ -168,7 +168,7 @@ cpufreq_procctl(ctl_table *ctl, int writ
- {
- char buf[16], *p;
- int cpu = (int) ctl->extra1;
-- int len, left = *lenp;
-+ unsigned int len, left = *lenp;
-
- if (!left || (filp->f_pos && !write) || !cpu_online(cpu)) {
- *lenp = 0;
diff --git a/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4007_CAN-2004-0229.patch b/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4007_CAN-2004-0229.patch
deleted file mode 100644
index 2b6dfff88e..0000000000
--- a/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4007_CAN-2004-0229.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-2.6.3/drivers/video/fbmem.c.zy67 2004-04-23 07:32:22.000000000 -0400
-+++ linux-2.6.3/drivers/video/fbmem.c 2004-04-23 07:33:09.000000000 -0400
-@@ -1042,7 +1042,7 @@
- case FBIOGETCMAP:
- if (copy_from_user(&cmap, (void *) arg, sizeof(cmap)))
- return -EFAULT;
-- return (fb_copy_cmap(&info->cmap, &cmap, 0));
-+ return (fb_copy_cmap(&info->cmap, &cmap, 2));
- case FBIOPAN_DISPLAY:
- if (copy_from_user(&var, (void *) arg, sizeof(var)))
- return -EFAULT;
diff --git a/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4008_CAN-2004-0427.patch b/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4008_CAN-2004-0427.patch
deleted file mode 100644
index adadefd53d..0000000000
--- a/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4008_CAN-2004-0427.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-2.6.3/kernel/fork.c.zy64 2004-04-21 12:26:51.000000000 -0400
-+++ linux-2.6.3/kernel/fork.c 2004-04-21 12:29:34.000000000 -0400
-@@ -1073,6 +1073,8 @@
- exit_namespace(p);
- bad_fork_cleanup_mm:
- exit_mm(p);
-+ if (p->active_mm)
-+ mmdrop(p->active_mm);
- bad_fork_cleanup_signal:
- exit_signal(p);
- bad_fork_cleanup_sighand:
diff --git a/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4009_FPULockup-53804.patch b/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4009_FPULockup-53804.patch
deleted file mode 100644
index a813f48ec2..0000000000
--- a/src/kernel/hardened-patches/hardened-patches-2.6-5.4/4009_FPULockup-53804.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff -Nru a/include/asm-i386/i387.h b/include/asm-i386/i387.h
---- a/include/asm-i386/i387.h 2004-05-06 12:26:10 -07:00
-+++ b/include/asm-i386/i387.h 2004-06-12 19:12:23 -07:00
-@@ -51,7 +51,7 @@
- #define __clear_fpu( tsk ) \
- do { \
- if ((tsk)->thread_info->status & TS_USEDFPU) { \
-- asm volatile("fwait"); \
-+ asm volatile("fnclex ; fwait"); \
- (tsk)->thread_info->status &= ~TS_USEDFPU; \
- stts(); \
- } \
-diff -Nru a/include/asm-x86_64/i387.h b/include/asm-x86_64/i387.h
---- a/include/asm-x86_64/i387.h 2004-06-13 20:43:56.742530792 +0100
-+++ a/include/asm-x86_64/i387.h 2004-06-13 20:42:59.200278544 +0100
-@@ -46,7 +46,7 @@
-
- #define clear_fpu(tsk) do { \
- if ((tsk)->thread_info->status & TS_USEDFPU) { \
-- asm volatile("fwait"); \
-+ asm volatile("fnclex; fwait"); \
- (tsk)->thread_info->status &= ~TS_USEDFPU; \
- stts(); \
- } \