summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Yamin <plasmaroo@gentoo.org>2004-08-08 20:45:46 +0000
committerTim Yamin <plasmaroo@gentoo.org>2004-08-08 20:45:46 +0000
commite7016b62657a91bc59f5203dc87993a3d7edb1b8 (patch)
treee071c10330aa45364de08bcc54867b48c2aa1851 /sys-kernel/usermode-sources
parentAdded hardened-sources-2.4.27 which is a port of the 2.4.26-r5 version. (diff)
downloadhistorical-e7016b62657a91bc59f5203dc87993a3d7edb1b8.tar.gz
historical-e7016b62657a91bc59f5203dc87993a3d7edb1b8.tar.bz2
historical-e7016b62657a91bc59f5203dc87993a3d7edb1b8.zip
Version bump for CAN-2004-0685, bug #59769.
Diffstat (limited to 'sys-kernel/usermode-sources')
-rw-r--r--sys-kernel/usermode-sources/ChangeLog10
-rw-r--r--sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.24-r8 (renamed from sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.24-r7)0
-rw-r--r--sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.26-r5 (renamed from sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.26-r4)0
-rw-r--r--sys-kernel/usermode-sources/files/usermode-sources-2.4.CAN-2004-0685.patch83
-rw-r--r--sys-kernel/usermode-sources/usermode-sources-2.4.24-r8.ebuild (renamed from sys-kernel/usermode-sources/usermode-sources-2.4.24-r7.ebuild)3
-rw-r--r--sys-kernel/usermode-sources/usermode-sources-2.4.26-r5.ebuild (renamed from sys-kernel/usermode-sources/usermode-sources-2.4.26-r4.ebuild)3
6 files changed, 96 insertions, 3 deletions
diff --git a/sys-kernel/usermode-sources/ChangeLog b/sys-kernel/usermode-sources/ChangeLog
index 637da2aae31c..baff49dd6829 100644
--- a/sys-kernel/usermode-sources/ChangeLog
+++ b/sys-kernel/usermode-sources/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-kernel/usermode-sources
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/ChangeLog,v 1.44 2004/08/05 11:41:32 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/ChangeLog,v 1.45 2004/08/08 20:45:46 plasmaroo Exp $
+
+*usermode-sources-2.4.26-r5 (08 Aug 2004)
+
+ 08 Aug 2004; <plasmaroo@gentoo.org> -usermode-sources-2.4.24-r7.ebuild,
+ +usermode-sources-2.4.24-r8.ebuild, -usermode-sources-2.4.26-r4.ebuild,
+ +usermode-sources-2.4.26-r5.ebuild,
+ +files/usermode-sources-2.4.CAN-2004-0685.patch:
+ Version bump for CAN-2004-0685, bug #59769.
*usermode-sources-2.4.24-r7 (05 Aug 2004)
diff --git a/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.24-r7 b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.24-r8
index ed8d13ee3405..ed8d13ee3405 100644
--- a/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.24-r7
+++ b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.24-r8
diff --git a/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.26-r4 b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.26-r5
index d4d898ba4b14..d4d898ba4b14 100644
--- a/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.26-r4
+++ b/sys-kernel/usermode-sources/files/digest-usermode-sources-2.4.26-r5
diff --git a/sys-kernel/usermode-sources/files/usermode-sources-2.4.CAN-2004-0685.patch b/sys-kernel/usermode-sources/files/usermode-sources-2.4.CAN-2004-0685.patch
new file mode 100644
index 000000000000..d1be834cc8a5
--- /dev/null
+++ b/sys-kernel/usermode-sources/files/usermode-sources-2.4.CAN-2004-0685.patch
@@ -0,0 +1,83 @@
+# This is a BitKeeper generated diff -Nru style patch.
+#
+# ChangeSet
+# 2004/07/26 19:14:16-03:00 mjc@redhat.com
+# [PATCH] USB: more sparse fixes
+#
+# Back in October 2003 Arnaldo commited some fixes prior to 2.6 for some leaking info to userspace in the
+# usb drivers:
+# http://linux.bkbits.net:8080/linux-2.6/cset@3f986b35LyBKc-OxB8G6k22oOjgYTQ
+#
+# The corresponding changes have not been commited to 2.4, or included in
+# the previous sparse fixes.
+#
+# drivers/usb/audio.c
+# 2004/07/15 08:46:52-03:00 mjc@redhat.com +4 -0
+# USB: more sparse fixes
+#
+# drivers/usb/brlvger.c
+# 2004/07/15 08:47:27-03:00 mjc@redhat.com +1 -0
+# USB: more sparse fixes
+#
+# drivers/usb/serial/io_edgeport.c
+# 2004/07/15 08:48:06-03:00 mjc@redhat.com +1 -0
+# USB: more sparse fixes
+#
+# drivers/usb/vicam.c
+# 2004/07/15 08:47:13-03:00 mjc@redhat.com +1 -0
+# USB: more sparse fixes
+#
+diff -Nru a/drivers/usb/audio.c b/drivers/usb/audio.c
+--- a/drivers/usb/audio.c 2004-08-08 07:41:30 -07:00
++++ b/drivers/usb/audio.c 2004-08-08 07:41:30 -07:00
+@@ -2141,6 +2141,8 @@
+
+ if (cmd == SOUND_MIXER_INFO) {
+ mixer_info info;
++
++ memset(&info, 0, sizeof(info));
+ strncpy(info.id, "USB_AUDIO", sizeof(info.id));
+ strncpy(info.name, "USB Audio Class Driver", sizeof(info.name));
+ info.modify_counter = ms->modcnt;
+@@ -2150,6 +2152,8 @@
+ }
+ if (cmd == SOUND_OLD_MIXER_INFO) {
+ _old_mixer_info info;
++
++ memset(&info, 0, sizeof(info));
+ strncpy(info.id, "USB_AUDIO", sizeof(info.id));
+ strncpy(info.name, "USB Audio Class Driver", sizeof(info.name));
+ if (copy_to_user((void *)arg, &info, sizeof(info)))
+diff -Nru a/drivers/usb/brlvger.c b/drivers/usb/brlvger.c
+--- a/drivers/usb/brlvger.c 2004-08-08 07:41:30 -07:00
++++ b/drivers/usb/brlvger.c 2004-08-08 07:41:30 -07:00
+@@ -743,6 +743,7 @@
+ case BRLVGER_GET_INFO: {
+ struct brlvger_info vi;
+
++ memset(&vi, 0, sizeof(vi));
+ strncpy(vi.driver_version, DRIVER_VERSION,
+ sizeof(vi.driver_version));
+ vi.driver_version[sizeof(vi.driver_version)-1] = 0;
+diff -Nru a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c
+--- a/drivers/usb/serial/io_edgeport.c 2004-08-08 07:41:30 -07:00
++++ b/drivers/usb/serial/io_edgeport.c 2004-08-08 07:41:30 -07:00
+@@ -1913,6 +1913,7 @@
+
+ case TIOCGICOUNT:
+ cnow = edge_port->icount;
++ memset(&icount, 0, sizeof(icount));
+ icount.cts = cnow.cts;
+ icount.dsr = cnow.dsr;
+ icount.rng = cnow.rng;
+diff -Nru a/drivers/usb/vicam.c b/drivers/usb/vicam.c
+--- a/drivers/usb/vicam.c 2004-08-08 07:41:30 -07:00
++++ b/drivers/usb/vicam.c 2004-08-08 07:41:30 -07:00
+@@ -481,6 +481,7 @@
+ struct video_capability b;
+
+ DBG("VIDIOCGCAP\n");
++ memset(&b, 0, sizeof(b));
+ strcpy(b.name, "ViCam-based Camera");
+ b.type = VID_TYPE_CAPTURE;
+ b.channels = 1;
diff --git a/sys-kernel/usermode-sources/usermode-sources-2.4.24-r7.ebuild b/sys-kernel/usermode-sources/usermode-sources-2.4.24-r8.ebuild
index 8e415766e6fc..f087c1d604bf 100644
--- a/sys-kernel/usermode-sources/usermode-sources-2.4.24-r7.ebuild
+++ b/sys-kernel/usermode-sources/usermode-sources-2.4.24-r8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/usermode-sources-2.4.24-r7.ebuild,v 1.1 2004/08/05 11:41:32 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/usermode-sources-2.4.24-r8.ebuild,v 1.1 2004/08/08 20:45:46 plasmaroo Exp $
ETYPE="sources"
inherit kernel eutils
@@ -45,6 +45,7 @@ src_unpack() {
epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0495.patch || die "Failed to add the CAN-2004-0495 patch!"
epatch ${FILESDIR}/${PN}.CAN-2004-0497.patch || die "Failed to add the CAN-2004-0497 patch!"
epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0535.patch || die "Failed to add the CAN-2004-0535 patch!"
+ epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0685.patch || die "Failed to add the CAN-2004-0685 patch!"
epatch ${FILESDIR}/${PN}-2.4.FPULockup-53804.patch || die "Failed to apply FPU-lockup patch!"
kernel_universal_unpack
}
diff --git a/sys-kernel/usermode-sources/usermode-sources-2.4.26-r4.ebuild b/sys-kernel/usermode-sources/usermode-sources-2.4.26-r5.ebuild
index 3ba7aa24c047..e1087b748103 100644
--- a/sys-kernel/usermode-sources/usermode-sources-2.4.26-r4.ebuild
+++ b/sys-kernel/usermode-sources/usermode-sources-2.4.26-r5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/usermode-sources-2.4.26-r4.ebuild,v 1.1 2004/08/05 11:41:32 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/usermode-sources/usermode-sources-2.4.26-r5.ebuild,v 1.1 2004/08/08 20:45:46 plasmaroo Exp $
ETYPE="sources"
inherit kernel eutils
@@ -38,6 +38,7 @@ src_unpack() {
epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0495.patch || die "Failed to add the CAN-2004-0495 patch!"
epatch ${FILESDIR}/${PN}.CAN-2004-0497.patch || die "Failed to add the CAN-2004-0497 patch!"
epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0535.patch || die "Failed to add the CAN-2004-0535 patch!"
+ epatch ${FILESDIR}/${PN}-2.4.CAN-2004-0685.patch || die "Failed to add the CAN-2004-0685 patch!"
epatch ${FILESDIR}/${PN}-2.4.FPULockup-53804.patch || die "Failed to apply FPU-lockup patch!"
kernel_universal_unpack
}