summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@gentoo.org>2004-07-07 22:34:31 +0000
committerGreg Kroah-Hartman <gregkh@gentoo.org>2004-07-07 22:34:31 +0000
commite487a3834a1fc9e79440cf01f3d2b775cf9949d1 (patch)
tree824b78b6aa905203823649b54f90cbec2f1116fe /sys-kernel
parentAdded sparc stable keyword (Manifest recommit) (diff)
downloadgentoo-2-e487a3834a1fc9e79440cf01f3d2b775cf9949d1.tar.gz
gentoo-2-e487a3834a1fc9e79440cf01f3d2b775cf9949d1.tar.bz2
gentoo-2-e487a3834a1fc9e79440cf01f3d2b775cf9949d1.zip
Deleted sys-kernel/xfs-sources, as it is no longer needed.
This closes bug #56074
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/xfs-sources/ChangeLog383
-rw-r--r--sys-kernel/xfs-sources/Manifest40
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.242
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r12
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r22
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r32
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r42
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r52
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r62
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r72
-rw-r--r--sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r82
-rw-r--r--sys-kernel/xfs-sources/files/do_brk_fix.patch12
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources-2.4.19.patch13
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources-2.4.19.rtc_fix.patch115
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources-2.4.20-gcc33.patch229
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources-2.4.20.rtc_fix.patch156
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources-2.4.22.rtc_fix.patch180
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources-2.4.24.munmap.patch27
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2003-0985.patch13
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0010.patch200
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0075.patch25
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0109.patch87
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0133.patch11
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0177.patch10
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0178.patch11
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0181.patch38
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0394.patch11
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0427.patch14
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0495.patch655
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0535.patch12
-rw-r--r--sys-kernel/xfs-sources/files/xfs-sources.FPULockup-53804.patch11
-rw-r--r--sys-kernel/xfs-sources/metadata.xml14
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24-r1.ebuild40
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24-r2.ebuild42
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24-r3.ebuild43
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24-r4.ebuild40
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24-r5.ebuild43
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24-r6.ebuild48
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24-r7.ebuild49
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24-r8.ebuild51
-rw-r--r--sys-kernel/xfs-sources/xfs-sources-2.4.24.ebuild40
41 files changed, 0 insertions, 2681 deletions
diff --git a/sys-kernel/xfs-sources/ChangeLog b/sys-kernel/xfs-sources/ChangeLog
deleted file mode 100644
index 16c5e9e2827c..000000000000
--- a/sys-kernel/xfs-sources/ChangeLog
+++ /dev/null
@@ -1,383 +0,0 @@
-# ChangeLog for sys-kernel/xfs-sources
-# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/ChangeLog,v 1.50 2004/06/25 22:08:16 plasmaroo Exp $
-
-*xfs-sources-2.4.24-r8 (25 Jun 2004)
-
- 25 Jun 2004; <plasmaroo@gentoo.org> +xfs-sources-2.4.24-r8.ebuild,
- +files/xfs-sources.CAN-2004-0495.patch,
- +files/xfs-sources.CAN-2004-0535.patch:
- Security bump for the CAN-2004-0495 and CAN-2004-0535 vulnerabilities.
-
-*xfs-sources-2.4.24-r7 (14 Jun 2004)
-
- 14 Jun 2004; <plasmaroo@gentoo.org> +xfs-sources-2.4.24-r7.ebuild,
- +files/xfs-sources.FPULockup-53804.patch:
- Added a patch for the FPU-lockup issue; please see bug #58304 for details.
-
-*xfs-sources-2.4.24-r6 (04 Jun 2004)
-
- 04 Jun 2004; <plasmaroo@gentoo.org> -xfs-sources-2.4.19-r3.ebuild,
- -xfs-sources-2.4.20-r1.ebuild, -xfs-sources-2.4.20-r2.ebuild,
- -xfs-sources-2.4.20-r3.ebuild, -xfs-sources-2.4.20-r4.ebuild,
- -xfs-sources-2.4.20-r5.ebuild, -xfs-sources-2.4.20.ebuild,
- -xfs-sources-2.4.23-r1.ebuild, +xfs-sources-2.4.24-r6.ebuild,
- +files/xfs-sources.CAN-2004-...patch:
- Added patches for the CAN-2004-0075, CAN-2004-0133, CAN-2004-0181,
- CAN-2004-0394, and CAN-2004-0427 vulnerabilities. Bug #47881. Old versions of
- sources removed.
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org>
- xfs-sources-2.4.19-r3.ebuild, xfs-sources-2.4.20-r1.ebuild,
- xfs-sources-2.4.20-r2.ebuild, xfs-sources-2.4.20-r3.ebuild,
- xfs-sources-2.4.20-r4.ebuild, xfs-sources-2.4.20-r5.ebuild,
- xfs-sources-2.4.20.ebuild, xfs-sources-2.4.23-r1.ebuild,
- xfs-sources-2.4.24-r2.ebuild:
- Add inherit eutils.
-
-*xfs-sources-2.4.24-r5 (17 Apr 2004)
-
- 17 Apr 2004; <plasmaroo@gentoo.org> +files/xfs-sources.CAN-2004-0010.patch,
- +files/xfs-sources.CAN-2004-0177.patch,
- +files/xfs-sources.CAN-2004-0178.patch, +xfs-sources-2.4.24-r5.ebuild:
- Added patches for the CAN-2004-0010, CAN-2004-0177 and CAN-2004-0178
- vulnerabilities.
-
-*xfs-sources-2.4.24-r4 (15 Apr 2004)
-
- 15 Apr 2004; <plasmaroo@gentoo.org> +files/xfs-sources.CAN-2004-0109.patch,
- +xfs-sources-2.4.24-r4.ebuild:
- Version bump for the CAN-2004-0109 issue; bug #47881.
-
- 12 Apr 2004; Daniel Ahlberg <aliz@gentoo.org> xfs-sources-2.4.24-r3.ebuild:
- Add eutils to inherit, add IUSE=
-
-*xfs-sources-2.4.24-r3 (18 Feb 2004)
-
- 18 Feb 2004; <livewire@gentoo.org>
- xfs-sources-2.4.24-r3.ebuild:
- bumped freeswan
- fixed devicemapper
-
-*xfs-sources-2.4.24-r2 (18 Feb 2004)
-
- 18 Feb 2004; Brian Jackson <iggy@gentoo.org> xfs-sources-2.4.24-r2.ebuild:
- add patch for the new munmap vuln
-
-*xfs-sources-2.4.24-r1 (12 Feb 2004)
-
- 12 Feb 2004; <livewire@gentoo.org>
- xfs-sources-2.4.24-r1.ebuild:
- Marked stable
-
-*xfs-sources-2.4.24-r1 (22 Jan 2004)
-
- 22 Jan 2004; <livewire@gentoo.org>
- xfs-sources-2.4.24-r1.ebuild:
- pulled evms-1.2.1.
- added device-mapper 1.0.7 for evms2 and lvm2 support.
- bumped freeswan.
- fixed ecc.
- removed kdb (does this thing EVER compile???).
-
-*xfs-sources-2.4.24 (20 Jan 2004)
-
- 20 Jan 2004; <livewire@gentoo.org> xfs-sources-2.4.24.ebuild,
- xfs-sources-2.4.23-r1.ebuild:
- marked 2.4.23-r1 stable.
- bumped to 2.4.24.
- added: proconfig,ecc,speakup,forcedeth.
-
-*xfs-sources-2.4.19-r3 (07 Jan 2004)
-
- 07 Jan 2004; <plasmaroo@gentoo.org> xfs-sources-2.4.19-r2.ebuild,
- xfs-sources-2.4.19-r3.ebuild, xfs-sources-2.4.20-r5.ebuild,
- xfs-sources-2.4.22-r1.ebuild, xfs-sources-2.4.22.ebuild,
- xfs-sources-2.4.23-r1.ebuild, xfs-sources-2.4.23.ebuild:
- Bumped versions and added patches to address the security
- vulnerabilities in bugs #37292 and #37317.
-
-*xfs-sources-2.4.23 (04 Jan 2004)
-
- 04 Jan 2004; Andrea Luzzardi <scox@gentoo.org>
- xfs-sources-2.4.23.ebuild:
- New patchset, updated grsec to 2.0-rc4. Closed bug #37028.
-
-*xfs-sources-2.4.23 (06 Dec 2003)
-
- 06 Dec 2003; Andrea Luzzardi <scox@gentoo.org>
- xfs-sources-2.4.23.ebuild:
- Fixed the make xconfig target, closed bug #35190.
-
-*xfs-sources-2.4.23 (03 Dec 2003)
-
- 03 Dec 2003; Andrea Luzzardi <scox@gentoo.org>
- xfs-sources-2.4.23.ebuild:
- New version, update to 2.4.23 kernel, XFS 1.3.1 and grsec 1.9.13.
-
-*xfs-sources-2.4.20-r4 (02 Dec 2003)
-
- 02 Dec 2003; Brian Jackson <iggy@gentoo.org> xfs-sources-2.4.20-r2.ebuild,
- xfs-sources-2.4.20-r3.ebuild, xfs-sources-2.4.20-r4.ebuild:
- Version bump for the 'do_brk' vulnerability.
-
- 01 Dec 2003; Brian Jackson <iggy@gentoo.org> xfs-sources-2.4.19-r2.ebuild,
- xfs-sources-2.4.20-r1.ebuild, xfs-sources-2.4.20-r2.ebuild,
- xfs-sources-2.4.20-r3.ebuild, xfs-sources-2.4.20.ebuild,
- xfs-sources-2.4.22.ebuild, files/xfs-sources-2.4.20-gcc33.patch:
- Fix some of the 'do_brk' stuff.
-
- 01 Dec 2003; Brandon Hale <tseng@gentoo.org> xfs-sources-2.4.19-r2.ebuild,
- xfs-sources-2.4.20-r1.ebuild, xfs-sources-2.4.20-r2.ebuild,
- xfs-sources-2.4.20-r3.ebuild, xfs-sources-2.4.20.ebuild,
- xfs-sources-2.4.22.ebuild, files/do_brk_fix.patch:
- Fix 'do_brk' vulnerability.
-
- 20 Nov 2003; Brandon Low <lostlogic@gentoo.org>
- xfs-sources-2.4.19-r2.ebuild:
- Move version handling logic to after inherit kernel, or insert it where
- necessary.
-
-*xfs-sources-2.4.22 (26 October 2003)
-
- 26 October 2003; Bob Johnson <livewire@gentoo.org>
-
- - Bumped to 2.4.22.
- - XFS-2.4.22-all.
- - EVMS 1.2.1.
- - FreeSWAN 2.03.
- - grsecurity 1.9.12-2.4.22.
- - v4l2-2.422.
-
- 11 Oct 2003; <plasmaroo@gentoo.org> xfs-sources-2.4.20-r3.ebuild,
- xfs-sources-2.4.20_pre6.ebuild, files/xfs-sources-2.4.20-gcc33.patch:
- Added GCC 3.3 patches: Bug 30891.
-
- 08 Sep 2003; Martin Holzer <mholzer@gentoo.org>
- xfs-sources-2.4.19-r2.ebuild, xfs-sources-2.4.20-r1.ebuild,
- xfs-sources-2.4.20-r2.ebuild, xfs-sources-2.4.20-r3.ebuild,
- xfs-sources-2.4.20.ebuild, xfs-sources-2.4.20_pre6.ebuild:
- SRC now uses mirror://kernel.
-
-*xfs-sources-2.4.20-r3 (12 April 2003)
-
- 12 April 2003; Bob Johnson <livewire@gentoo.org>
-
- - Added Grsecurity 1.9.9f.
- - Xfs bumped to 20030406.
- - AIC79XX bumped to 20030410.
- - bootsplash bumped to 3.0.7.
- - Added brlock fix.
- - Win4Lin support removed.
-
-*xfs-sources-2.4.20-r2 (18 March 2003)
-
- 18 March 2003; Bob Johnson <livewire@gentoo.org>
-
- - Pulled kdb patch from XFS patchset.
- - Bumped NTFS to 2.1.2a.
- - Bumped aic7xxx to 20030318.
- - Bumped ACPI to 20030228-2.4.21_pre4.
- - Ptrace root exploit patch.
-
-*xfs-sources-2.4.20-r1 (17 March 2003)
-
- 17 March 2003; Bob Johnson <livewire@gentoo.org>
-
- - Added 3/16/2003 XFS snapshot
-
-*xfs-sources-2.4.20 (16 March 2003)
-
- 16 March 2003; Bob Johnson <livewire@gentoo.org>
-
- - Bumped XFS to 03-09-2003 snapshot.
- - Add preempt.
- - Cleaned up lots of patches.
- - Yanked DB's nic drivers.
- - Added akpm's ext3 fixes.
- - Dac960 root fs fix (pfeifer).
- - Ali15XX ide chipset fix.
-
-*xfs-sources-2.4.20_pre6 (30 Jan 2003)
-
- 30 Jan 2003; Bob Johnson <livewire@gentoo.org>
-
- - Newest aic79xx and aic7xxx.
- - BCM 4400 and 5700 NIC drivers.
- - Fixed mki-adapter problems.
- - preliminary Nforce2 ide support.
- - nforce 810 audio fix.
- - eepro100 compile fix.
- - Adaptec firmware patch.
- - in2000 and ncr scsi compile fixes.
- - pull via-rhine,winbond,yellowfin,starfire,hamachi updates.
-
-*xfs-sources-2.4.20_pre5 (14 Jan 2003)
-
- 14 Jan 2003; Bob Johnson <livewire@gentoo.org>:
-
- Changes from _pre4
- - Proconfig added.
- - NTFS-2.1.0a read support added.
- - Segfault fix for vm86.
- - AC patch that may help some motherboards from crashing on bootup.
- - Network card updates: 3c59x,cb_shim,eepro100,epic100,hamachi,intel-gige
- - myson803,natsemi,ns820,rtl8139,starfire,sundance
- - tulip,via-rhine,winbond,yellowfin
-
-*xfs-sources-2.4.20_pre4 (10 Jan 2003)
-
- 12 Jan 2003; Tobias Eichert <viz@gentoo.org>:
- Dropped the 3c509 fix because it breaks the kernel build.
-
- 10 Jan 2003; Bob Johnson <livewire_@ameritech.net>:
- This is the first patchset under new management. Thanks to viz
- for getting us up to _pre3.
-
- Committed by lostlogic ;-)
-
- Changes from _pre3
- * Move to new IDE core.
- * 3c509 fix.
- * ext3-data-journal-fix.
- * aic7xx driver fix.
- * Drop supermount incompatible with new IDE.
-
- Ebuild changes:
- * Snag bits from lolo-sources to talk about what goes on
- in the unpack stage.
-
-*xfs-sources-2.4.20_pre3 (6 Jan 2003)
-
- 6 Jan 2003; Tobias Eichert <viz@gentoo.org> xfs-sources-2.4.20_pre3.ebuild:
-
- New Version.
-
- Thanks to sethbc <sethbc@gentoo.org> who helped me getting along with
- a cryptoloop issue. If Loop IV hack is enabled it causes
- the compilation to break with an error; changing that to a #warning
- will fix it. More information on that in the docs file.
-
- New from xfs-sources-2.4.20_pre2:
-
- - Add supermount support.
- - Add usbdnet support.
- - Add futexes support.
- - Add I2C support (recent patch for lm-sensors).
- - Add KT400 AGP / pci.ids support (should close bug #12600).
- - Add ECC support.
- - Add v4l2 (Video for Linux 2) support.
- - Add SuperFreeS/WAN Support.
-
- Enjoy and test :)
-
-*xfs-sources-2.4.29_pre2 (24 Dec 2002)
-
- 24 Dec 2002; Tobias Eichert <viz@gentoo.org> xfs-sources-2.4.20_pre2.ebuild:
-
- New version.
-
- Since my first version broke some stuff I made a new
- one containing minor bugfixes. Now it should compile
- all the way through..
-
- New from xfs-sources-2.4.20_pre1:
-
- - Update imon to recent version.
- - Removed openwall for further testing.
- - I tried several configs this time ;)
-
- Please test and send bugreports.
-
-*xfs-sources-2.4.20_pre1 (22 Dec 2002)
-
- 22 Dec 2002; Tobias Eichert <viz@gentoo.org> xfs-sources-2.4.20_pre1.ebuild:
-
- Version bump.
-
- This is the first xfs-sources release I did by myself;
- it aims for having a lot of nice and stable features
- in the near future. Please test it and report bugs
- since it's going to become the next Live CD kernel.
-
- Features:
-
- - Update 3.5 GB address space patch.
- - Update to latest XFS (full features).
- - Update ACPI snapshot (12 Dec 2002).
- - Update EVMS.
- - Add Win4Lin (including the mki-adapter patch).
- - Add dc395x (Driver for older Tekram SCSI host adapters, fixes bug #12218).
- - Add imon support (SGI's Inode Monitor).
- - Update patch-int (aka CryptoAPI).
- - Update loop-jari (for encrypted loopback devices).
- - Add openwall (security related things
- like non-executable user stack area,etc.).
- - Miscellaneous little patches.
-
-
- 17 Dec 2002; Brandon Low <lostlogic@gentoo.org>:
- Make all kernel-sources SLOT="${KV}"
-
- 06 Dec 2002; Rodney Rees <manson@gentoo.org> : Changed sparc ~sparc keywords.
-
-*xfs-sources-2.4.19-r2 (06 Oct 2002)
-
- 06 Oct 2002; Brandon Low <lostlogic@gentoo.org> xfs-sources-2.4.19-r1.ebuild:
-
- This release is a team effort of Tobias Eichert <tobias@databoogie.net>
- and myself.
-
- While testing this kerenl I ran into very bad crashing behavior with
- the USE="acpi4linux" option enabled... just a warning. But for you
- laptopers it is still there.
-
- New from xfs-sources-2.4.19-r1:
- - Update to latest XFS patch.
- - Dropped ext3-htree due to corruption with current e2fsprogs
- this may bite some of you who are already using it, but
- hopefully it will be updated before you need to fsck your
- partitions a lot.
- - Update EVMS.
- - Update JFS.
- - Fix for grsecurity compilation.
- - Update patches.txt documentation and kernel.eclass (makes older
- a little funky, but is more forward working).
- - Fix processor type options to show gcc>31 rather than gcc31
- - Add futexes support.
- - Add imon support.
- - Optional ACPI patch just set USE="acpi4linux".
- - Redone ebuild setup now we have an eclass for these things.
- - Rename some patches to better names for use with KERNEL_EXCLUDE.
- - Add support for KERNEL_EXCLUDE.
- - Add and re-arrange VIA bugfixes.
- - Update grsecurity.
- - Switch to latest release IPSEC Free S/WAN.
- - Add usbdnet support for Zaurus handhelds.
- - Add supermount patches.
- - Incorportate the small fixes done to xfs-sources-2.4.19-r1.
-
-*xfs-sources-2.4.19-r1 (03 Sep 2002)
-
- 03 Sep 2002; Brandon Low <lostlogic@gentoo.org> xfs-sources-2.4.19-r1.ebuild:
-
- Add several patches to the code, also update
- the ebuild to handle revisoins more gracefully
- for a complete list of patches, merge and see
- /usr/share/doc/xfs-sources-2.4.19-r1/patches.txt.gz
-
-*xfs-sources-2.4.19 (03 Sep 2002)
-
- 03 Sep 2002; Brandon Low <lostlogic@gentoo.org> xfs-sources-2.4.19.ebuild:
-
- New version, update to xfs-2002-08-13 from SGI, add EVMS support.
-
-*xfs-sources-2.4.18 (25 Apr 2002)
-
- 15 Jul 2002; Mark Guertin <gerk@gentoo.org>
- Added arch keywords (-ppc -sparc -sparc64).
-
- 29 apr 2002; William McArthur <sandymac@gentoo.org> xfs-sources-2.4.18.ebuild:
-
- Added sys-apps/xfsprogs to DEPEND. These aren't stictly needed but the user
- will very likely want them.
diff --git a/sys-kernel/xfs-sources/Manifest b/sys-kernel/xfs-sources/Manifest
deleted file mode 100644
index 6cc3aec389d7..000000000000
--- a/sys-kernel/xfs-sources/Manifest
+++ /dev/null
@@ -1,40 +0,0 @@
-MD5 02312662b995319c09a16247319d9581 ChangeLog 12721
-MD5 9bc89c702059f0c81d621604a3d5c9b6 xfs-sources-2.4.24-r8.ebuild 2272
-MD5 6517f63e42653604a359a2d51d25d0f2 xfs-sources-2.4.24.ebuild 1055
-MD5 e6ee7c1f229f0f2e84cef5f1f3906778 xfs-sources-2.4.24-r3.ebuild 1147
-MD5 9d0457271fd1f3afdcf4f7ee602d3b34 metadata.xml 414
-MD5 ab6b910efaad84753a3b96658104eaa0 xfs-sources-2.4.24-r7.ebuild 2083
-MD5 78f0ac49dfe6f0ab703e0b071063d964 xfs-sources-2.4.24-r2.ebuild 1139
-MD5 bbbc9b22b8fd2136017ff2dc4f64b463 xfs-sources-2.4.24-r5.ebuild 1528
-MD5 b19258d0d6af2a6f51d17c258b1fb7b8 xfs-sources-2.4.24-r4.ebuild 1246
-MD5 94374d6b8f896368fb3120e5779fcad6 xfs-sources-2.4.24-r6.ebuild 1992
-MD5 e73979eeaf48c017ea17e3a593802a64 xfs-sources-2.4.24-r1.ebuild 1064
-MD5 b0c3e68e37892be35fc1c33723bbbdc3 files/xfs-sources-2.4.19.patch 497
-MD5 9c816c892d6e3d3f0b7b77d3d503ab10 files/xfs-sources.CAN-2004-0075.patch 634
-MD5 53da61155df6e5a6d0c8f57f0195e78a files/digest-xfs-sources-2.4.24-r7 144
-MD5 d4a740ae56c2049247083af387a22a85 files/xfs-sources.CAN-2004-0394.patch 350
-MD5 53da61155df6e5a6d0c8f57f0195e78a files/digest-xfs-sources-2.4.24-r8 144
-MD5 53da61155df6e5a6d0c8f57f0195e78a files/digest-xfs-sources-2.4.24-r3 144
-MD5 df40eece807d039cba79f477e80ebda2 files/xfs-sources-2.4.19.rtc_fix.patch 4974
-MD5 174438d215b70cad5ffb00ca8123c062 files/xfs-sources-2.4.24.munmap.patch 837
-MD5 eaeda68a619caaddd5b8fdc5e7c39932 files/xfs-sources.CAN-2004-0177.patch 384
-MD5 53da61155df6e5a6d0c8f57f0195e78a files/digest-xfs-sources-2.4.24-r6 144
-MD5 5bf9836a632a861728d33f9736bb7431 files/xfs-sources.CAN-2004-0133.patch 427
-MD5 e77a93fdf26f06cf3ea5080b27211725 files/xfs-sources.CAN-2003-0985.patch 414
-MD5 0f66013f643c79c97fda489618a4e2fd files/xfs-sources.CAN-2004-0535.patch 476
-MD5 c460ea130cb4ae84a5063ba044e3ce72 files/xfs-sources.CAN-2004-0427.patch 460
-MD5 147fec50180ad91b6260fc7201dcb90f files/xfs-sources.CAN-2004-0010.patch 6050
-MD5 a61e57d5483a06f20da339d91f98fbb8 files/xfs-sources-2.4.20.rtc_fix.patch 6769
-MD5 d53055aeb748e8680c3232c405c5ec89 files/digest-xfs-sources-2.4.24 141
-MD5 24da024c498c1c154d80a7264e3a6fe9 files/digest-xfs-sources-2.4.24-r1 144
-MD5 24da024c498c1c154d80a7264e3a6fe9 files/digest-xfs-sources-2.4.24-r2 144
-MD5 21f3a4f186017d925067335e24db36a1 files/xfs-sources.CAN-2004-0109.patch 1877
-MD5 3afd3962750ab6706f9a9878a94cfd8d files/xfs-sources-2.4.20-gcc33.patch 10849
-MD5 e2e2b545b6fcdcecf49e33798efa5b84 files/xfs-sources-2.4.22.rtc_fix.patch 7073
-MD5 ac42024b6e6ee1e2165914db4b22a61c files/xfs-sources.CAN-2004-0178.patch 424
-MD5 de75cfa969ed092578d9ddda6c5be334 files/xfs-sources.CAN-2004-0181.patch 1233
-MD5 dc18e982f8149588a291956481885a8c files/xfs-sources.CAN-2004-0495.patch 17549
-MD5 53da61155df6e5a6d0c8f57f0195e78a files/digest-xfs-sources-2.4.24-r5 144
-MD5 c9da1bc82b906f6abc648c056e7bf662 files/xfs-sources.FPULockup-53804.patch 354
-MD5 53da61155df6e5a6d0c8f57f0195e78a files/digest-xfs-sources-2.4.24-r4 144
-MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24
deleted file mode 100644
index 33f7ed35afb1..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 2a746132c2ed1ee491518272d08c1cab xfs-sources-2.4.24.patch.bz2 2070385
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r1 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r1
deleted file mode 100644
index a5896036351f..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 382291043af6e6f545dfd4cb9319de6d xfs-sources-2.4.24-r1.patch.bz2 1378159
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r2 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r2
deleted file mode 100644
index a5896036351f..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 382291043af6e6f545dfd4cb9319de6d xfs-sources-2.4.24-r1.patch.bz2 1378159
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r3 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r3
deleted file mode 100644
index 981a129bcbef..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r3
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 572ff310d39ce7fd20568bf27299ded8 xfs-sources-2.4.24-r3.patch.bz2 1718289
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r4 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r4
deleted file mode 100644
index 981a129bcbef..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r4
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 572ff310d39ce7fd20568bf27299ded8 xfs-sources-2.4.24-r3.patch.bz2 1718289
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r5 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r5
deleted file mode 100644
index 981a129bcbef..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r5
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 572ff310d39ce7fd20568bf27299ded8 xfs-sources-2.4.24-r3.patch.bz2 1718289
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r6 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r6
deleted file mode 100644
index 981a129bcbef..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r6
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 572ff310d39ce7fd20568bf27299ded8 xfs-sources-2.4.24-r3.patch.bz2 1718289
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r7 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r7
deleted file mode 100644
index 981a129bcbef..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r7
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 572ff310d39ce7fd20568bf27299ded8 xfs-sources-2.4.24-r3.patch.bz2 1718289
diff --git a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r8 b/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r8
deleted file mode 100644
index 981a129bcbef..000000000000
--- a/sys-kernel/xfs-sources/files/digest-xfs-sources-2.4.24-r8
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818
-MD5 572ff310d39ce7fd20568bf27299ded8 xfs-sources-2.4.24-r3.patch.bz2 1718289
diff --git a/sys-kernel/xfs-sources/files/do_brk_fix.patch b/sys-kernel/xfs-sources/files/do_brk_fix.patch
deleted file mode 100644
index fef1f1e981e2..000000000000
--- a/sys-kernel/xfs-sources/files/do_brk_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/mm/mmap.c Fri Sep 12 06:44:06 2003
-+++ b/mm/mmap.c Thu Oct 2 01:18:19 2003
-@@ -1041,6 +1041,9 @@
- if (!len)
- return addr;
-
-+ if ((addr + len) > TASK_SIZE || (addr + len) < addr)
-+ return -EINVAL;
-+
- /*
- * mlock MCL_FUTURE?
- */
diff --git a/sys-kernel/xfs-sources/files/xfs-sources-2.4.19.patch b/sys-kernel/xfs-sources/files/xfs-sources-2.4.19.patch
deleted file mode 100644
index 1bc1b6d42a9f..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources-2.4.19.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- linux/include/linux/evms/evms_common.h Wed Sep 4 23:42:32 2002
-+++ linux/include/linux/evms/evms_common.h.new Sun Sep 8 11:56:53 2002
-@@ -34,8 +34,8 @@
- #define EVMS_MINOR_VERSION 1
- #define EVMS_PATCHLEVEL_VERSION 0
-
--/* We are using the O(1) Scheduler */
--#define O1_SCHEDULER
-+/* We are not using the O(1) Scheduler */
-+/* #define O1_SCHEDULER */
-
- #define MAX_EVMS_VOLUMES 256 /* There are 256 minors */
- #define EVMS_VOLUME_NAME_SIZE 127
diff --git a/sys-kernel/xfs-sources/files/xfs-sources-2.4.19.rtc_fix.patch b/sys-kernel/xfs-sources/files/xfs-sources-2.4.19.rtc_fix.patch
deleted file mode 100644
index 00937f83623f..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources-2.4.19.rtc_fix.patch
+++ /dev/null
@@ -1,115 +0,0 @@
-diff -ur linux-2.4.20-wolk4.9s/arch/cris/drivers/ds1302.c linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/ds1302.c
---- linux-2.4.20-wolk4.9s/arch/cris/drivers/ds1302.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/ds1302.c 2004-01-05 23:41:44.000000000 +0000
-@@ -315,6 +315,7 @@
- {
- struct rtc_time rtc_tm;
-
-+ memset(&rtc_tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&rtc_tm);
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
- return -EFAULT;
-diff -ur linux-2.4.20-wolk4.9s/arch/m68k/bvme6000/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/bvme6000/rtc.c
---- linux-2.4.20-wolk4.9s/arch/m68k/bvme6000/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/bvme6000/rtc.c 2004-01-05 23:43:15.000000000 +0000
-@@ -54,6 +54,7 @@
- /* Ensure clock and real-time-mode-register are accessible */
- msr = rtc->msr & 0xc0;
- rtc->msr = 0x40;
-+ memset(&wtime, 0, sizeof (struct rtc_time));
- do {
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
-diff -ur linux-2.4.20-wolk4.9s/arch/m68k/mvme16x/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/mvme16x/rtc.c
---- linux-2.4.20-wolk4.9s/arch/m68k/mvme16x/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/mvme16x/rtc.c 2004-01-05 23:44:02.000000000 +0000
-@@ -52,6 +52,7 @@
- cli();
- /* Ensure clock and real-time-mode-register are accessible */
- rtc->ctrl = RTC_READ;
-+ memset(&wtime, 0, sizeof (struct rtc_time));
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
- wtime.tm_hour = BCD2BIN(rtc->bcd_hr);
-diff -ur linux-2.4.20-wolk4.9s/arch/ppc64/kernel/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/ppc64/kernel/rtc.c
---- linux-2.4.20-wolk4.9s/arch/ppc64/kernel/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/ppc64/kernel/rtc.c 2004-01-05 23:44:34.000000000 +0000
-@@ -96,6 +96,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ppc_md.get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/char/efirtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/efirtc.c
---- linux-2.4.20-wolk4.9s/drivers/char/efirtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/efirtc.c 2004-01-05 23:47:53.000000000 +0000
-@@ -118,6 +118,7 @@
- static void
- convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime)
- {
-+ memset(wtime, 0, sizeof(struct rtc_time));
- wtime->tm_sec = eft->second;
- wtime->tm_min = eft->minute;
- wtime->tm_hour = eft->hour;
-diff -ur linux-2.4.20-wolk4.9s/drivers/char/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/char/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/rtc.c 2004-01-05 23:52:43.000000000 +0000
-@@ -370,6 +370,7 @@
- * tm_min, and tm_sec values are filled in.
- */
-
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_alm_time(&wtime);
- break;
- }
-@@ -417,6 +418,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/macintosh/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/macintosh/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/macintosh/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/macintosh/rtc.c 2004-01-05 23:54:15.000000000 +0000
-@@ -64,6 +64,7 @@
- case RTC_RD_TIME:
- if (ppc_md.get_rtc_time)
- {
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -ur linux-2.4.20-wolk4.9s/drivers/sbus/char/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/sbus/char/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/sbus/char/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/sbus/char/rtc.c 2004-01-05 23:54:43.000000000 +0000
-@@ -89,6 +89,7 @@
- switch (cmd)
- {
- case RTCGET:
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -ur linux-2.4.20-wolk4.9s/drivers/sgi/char/ds1286.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/sgi/char/ds1286.c
---- linux-2.4.20-wolk4.9s/drivers/sgi/char/ds1286.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/sgi/char/ds1286.c 2004-01-05 23:47:25.000000000 +0000
-@@ -174,6 +174,7 @@
- * tm_min, and tm_sec values are filled in.
- */
-
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_alm_time(&wtime);
- break;
- }
-@@ -216,6 +217,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_time(&wtime);
- break;
- }
diff --git a/sys-kernel/xfs-sources/files/xfs-sources-2.4.20-gcc33.patch b/sys-kernel/xfs-sources/files/xfs-sources-2.4.20-gcc33.patch
deleted file mode 100644
index e5b31df03c22..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources-2.4.20-gcc33.patch
+++ /dev/null
@@ -1,229 +0,0 @@
-diff -u -r linux-2.4.20-xfs-r3/arch/arm/mach-integrator/pci_v3.c linux-2.4.20-xfs-r4/arch/arm/mach-integrator/pci_v3.c
---- linux-2.4.20-xfs-r3/arch/arm/mach-integrator/pci_v3.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/arch/arm/mach-integrator/pci_v3.c 2003-10-11 11:42:28.000000000 +0200
-@@ -629,7 +629,6 @@
- #if 0
- ret = request_irq(IRQ_LBUSTIMEOUT, lb_timeout, 0, "bus timeout", NULL);
- if (ret)
-- printk(KERN_ERR "PCI: unable to grab local bus timeout ".
-- "interrupt: %d\n", ret);
-+ printk(KERN_ERR "PCI: unable to grab local bus timeout interrupt: %d\n", ret);
- #endif
- }
-diff -u -r linux-2.4.20-xfs-r3/arch/i386/math-emu/poly.h linux-2.4.20-xfs-r4/arch/i386/math-emu/poly.h
---- linux-2.4.20-xfs-r3/arch/i386/math-emu/poly.h 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/arch/i386/math-emu/poly.h 2003-10-11 11:59:17.000000000 +0200
-@@ -75,11 +75,11 @@
- /* Add the 12 byte Xsig x2 to Xsig dest, with no checks for overflow. */
- static inline void add_Xsig_Xsig(Xsig *dest, const Xsig *x2)
- {
-- asm volatile ("movl %1,%%edi; movl %2,%%esi;
-- movl (%%esi),%%eax; addl %%eax,(%%edi);
-- movl 4(%%esi),%%eax; adcl %%eax,4(%%edi);
-- movl 8(%%esi),%%eax; adcl %%eax,8(%%edi);"
-- :"=g" (*dest):"g" (dest), "g" (x2)
-+ asm volatile ("movl %1,%%edi; movl %2,%%esi; " \
-+ "movl (%%esi),%%eax; addl %%eax,(%%edi); " \
-+ "movl 4(%%esi),%%eax; adcl %%eax,4(%%edi); " \
-+ "movl 8(%%esi),%%eax; adcl %%eax,8(%%edi); " \
-+ :"=g" (*dest):"g" (dest), "g" (x2) \
- :"ax","si","di");
- }
-
-@@ -90,18 +90,18 @@
- problem, but keep fingers crossed! */
- static inline void add_two_Xsig(Xsig *dest, const Xsig *x2, long int *exp)
- {
-- asm volatile ("movl %2,%%ecx; movl %3,%%esi;
-- movl (%%esi),%%eax; addl %%eax,(%%ecx);
-- movl 4(%%esi),%%eax; adcl %%eax,4(%%ecx);
-- movl 8(%%esi),%%eax; adcl %%eax,8(%%ecx);
-- jnc 0f;
-- rcrl 8(%%ecx); rcrl 4(%%ecx); rcrl (%%ecx)
-- movl %4,%%ecx; incl (%%ecx)
-- movl $1,%%eax; jmp 1f;
-- 0: xorl %%eax,%%eax;
-- 1:"
-- :"=g" (*exp), "=g" (*dest)
-- :"g" (dest), "g" (x2), "g" (exp)
-+ asm volatile ("movl %2,%%ecx; movl %3,%%esi; " \
-+ "movl (%%esi),%%eax; addl %%eax,(%%ecx); " \
-+ "movl 4(%%esi),%%eax; adcl %%eax,4(%%ecx); " \
-+ "movl 8(%%esi),%%eax; adcl %%eax,8(%%ecx); " \
-+ "jnc 0f; " \
-+ "rcrl 8(%%ecx); rcrl 4(%%ecx); rcrl (%%ecx); " \
-+ "movl %4,%%ecx; incl (%%ecx); " \
-+ "movl $1,%%eax; jmp 1f; " \
-+ "0: xorl %%eax,%%eax; " \
-+ "1: " \
-+ :"=g" (*exp), "=g" (*dest) \
-+ :"g" (dest), "g" (x2), "g" (exp) \
- :"cx","si","ax");
- }
-
-diff -u -r linux-2.4.20-xfs-r3/arch/mips64/mm/r4xx0.c linux-2.4.20-xfs-r4/arch/mips64/mm/r4xx0.c
---- linux-2.4.20-xfs-r3/arch/mips64/mm/r4xx0.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/arch/mips64/mm/r4xx0.c 2003-10-11 11:44:44.000000000 +0200
-@@ -1941,9 +1941,8 @@
- #ifdef DEBUG_TLB
- if((pid != (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff)) ||
- (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) == 0)) {
-- printk("update_mmu_cache: Wheee, bogus tlbpid mmpid=%d
-- tlbpid=%d\n", (int) (CPU_CONTEXT(smp_processor_id(),
-- vma->vm_mm) & 0xff), pid);
-+ printk("update_mmu_cache: Wheee, bogus tlbpid mmpid=%d tlbpid=%d\n",
-+ (int) (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff), pid);
- }
- #endif
-
-diff -u -r linux-2.4.20-xfs-r3/arch/mips64/mm/tlb-r4k.c linux-2.4.20-xfs-r4/arch/mips64/mm/tlb-r4k.c
---- linux-2.4.20-xfs-r3/arch/mips64/mm/tlb-r4k.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/arch/mips64/mm/tlb-r4k.c 2003-10-11 11:45:46.000000000 +0200
-@@ -200,9 +200,8 @@
- #ifdef DEBUG_TLB
- if((pid != (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff)) ||
- (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) == 0)) {
-- printk("update_mmu_cache: Wheee, bogus tlbpid mmpid=%d
-- tlbpid=%d\n", (int) (CPU_CONTEXT(smp_processor_id(),
-- vma->vm_mm) & 0xff), pid);
-+ printk("update_mmu_cache: Wheee, bogus tlbpid mmpid=%d tlbpid=%d\n",
-+ (int) (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff), pid);
- }
- #endif
-
-diff -u -r linux-2.4.20-xfs-r3/drivers/atm/zatm.c linux-2.4.20-xfs-r4/drivers/atm/zatm.c
---- linux-2.4.20-xfs-r3/drivers/atm/zatm.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/drivers/atm/zatm.c 2003-10-11 11:46:52.000000000 +0200
-@@ -1430,8 +1430,7 @@
- zout(uPD98401_GMR_ONE | uPD98401_BURST8 | uPD98401_BURST4 |
- uPD98401_BURST2 | uPD98401_GMR_PM | uPD98401_GMR_DR,GMR);
- /* TODO: should shrink allocation now */
-- printk("mem=%dkB,%s (",zatm_dev->mem >> 10,zatm_dev->copper ? "UTP" :
-- "MMF");
-+ printk("mem=%dkB,%s (",zatm_dev->mem >> 10,zatm_dev->copper ? "UTP" : "MMF");
- for (i = 0; i < ESI_LEN; i++)
- printk("%02X%s",dev->esi[i],i == ESI_LEN-1 ? ")\n" : "-");
- do {
-diff -u -r linux-2.4.20-xfs-r3/drivers/char/h8.c linux-2.4.20-xfs-r4/drivers/char/h8.c
---- linux-2.4.20-xfs-r3/drivers/char/h8.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/drivers/char/h8.c 2003-10-11 11:47:16.000000000 +0200
-@@ -574,8 +574,7 @@
- }
-
- if (intrbuf.word & H8_POWER_BUTTON) {
-- printk(KERN_CRIT "Power switch pressed - please wait - preparing to power
--off\n");
-+ printk(KERN_CRIT "Power switch pressed - please wait - preparing to power off\n");
- h8_set_event_mask(H8_POWER_BUTTON);
- wake_up(&h8_monitor_wait);
- }
-diff -u -r linux-2.4.20-xfs-r3/drivers/ide/ide-cd.h linux-2.4.20-xfs-r4/drivers/ide/ide-cd.h
---- linux-2.4.20-xfs-r3/drivers/ide/ide-cd.h 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/drivers/ide/ide-cd.h 2003-10-11 11:47:59.000000000 +0200
-@@ -438,7 +438,7 @@
-
- byte curlba[3];
- byte nslots;
-- __u8 short slot_tablelen;
-+ __u16 slot_tablelen;
- };
-
-
-diff -u -r linux-2.4.20-xfs-r3/drivers/net/fealnx.c linux-2.4.20-xfs-r4/drivers/net/fealnx.c
---- linux-2.4.20-xfs-r3/drivers/net/fealnx.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/drivers/net/fealnx.c 2003-10-11 11:54:07.000000000 +0200
-@@ -937,7 +937,7 @@
- // 89/9/1 modify,
- // np->bcrvalue=0x38;
- np->bcrvalue = 0x10;
-- np->cralue = 0xe00; /* rx 128 burst length */
-+ np->crvalue = 0xe00; /* rx 128 burst length */
- #warning Processor architecture undefined!
- #endif
- // 89/12/29 add,
-@@ -1198,7 +1198,6 @@
- printk("\n");
- }
-
-- + dev->if_port = np->default_port;
- /* Reinit. Gross */
-
- /* Reset the chip's Tx and Rx processes. */
-diff -u -r linux-2.4.20-xfs-r3/drivers/net/irda/ma600.c linux-2.4.20-xfs-r4/drivers/net/irda/ma600.c
---- linux-2.4.20-xfs-r3/drivers/net/irda/ma600.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/drivers/net/irda/ma600.c 2003-10-11 11:55:09.000000000 +0200
-@@ -53,7 +53,7 @@
- if(!(expr)) { \
- printk( "Assertion failed! %s,%s,%s,line=%d\n",\
- #expr,__FILE__,__FUNCTION__,__LINE__); \
-- ##func}
-+ func}
- #endif
-
- /* convert hex value to ascii hex */
-diff -u -r linux-2.4.20-xfs-r3/drivers/net/tokenring/olympic.c linux-2.4.20-xfs-r4/drivers/net/tokenring/olympic.c
---- linux-2.4.20-xfs-r3/drivers/net/tokenring/olympic.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/drivers/net/tokenring/olympic.c 2003-10-11 11:49:21.000000000 +0200
-@@ -655,8 +655,8 @@
- printk(" stat_ring[7]: %p\n", &(olympic_priv->olympic_rx_status_ring[7]) );
-
- printk("RXCDA: %x, rx_ring[0]: %p\n",readl(olympic_mmio+RXCDA),&olympic_priv->olympic_rx_ring[0]);
-- printk("Rx_ring_dma_addr = %08x, rx_status_dma_addr =
--%08x\n",olympic_priv->rx_ring_dma_addr,olympic_priv->rx_status_ring_dma_addr) ;
-+ printk("Rx_ring_dma_addr = %08x, rx_status_dma_addr = %08x\n",
-+ olympic_priv->rx_ring_dma_addr,olympic_priv->rx_status_ring_dma_addr) ;
- #endif
-
- writew((((readw(olympic_mmio+RXENQ)) & 0x8000) ^ 0x8000) | i,olympic_mmio+RXENQ);
-diff -u -r linux-2.4.20-xfs-r3/drivers/scsi/sun3_NCR5380.c linux-2.4.20-xfs-r4/drivers/scsi/sun3_NCR5380.c
---- linux-2.4.20-xfs-r3/drivers/scsi/sun3_NCR5380.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/drivers/scsi/sun3_NCR5380.c 2003-10-11 11:50:00.000000000 +0200
-@@ -1226,8 +1226,7 @@
- BASR_ACK)) ==
- (BASR_PHASE_MATCH | BASR_ACK)) {
- printk("scsi%d: BASR %02x\n", HOSTNO, NCR5380_read(BUS_AND_STATUS_REG));
-- printk("scsi%d: bus stuck in data phase -- probably a
-- single byte overrun!\n", HOSTNO);
-+ printk("scsi%d: bus stuck in data phase -- probably a single byte overrun!\n", HOSTNO);
- printk("not prepared for this error!\n");
- printk("please e-mail sammy@sammy.net with a description of how this\n");
- printk("error was produced.\n");
-diff -u -r linux-2.4.20-xfs-r3/fs/reiserfs/super.c linux-2.4.20-xfs-r4/fs/reiserfs/super.c
---- linux-2.4.20-xfs-r3/fs/reiserfs/super.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/fs/reiserfs/super.c 2003-10-11 11:51:48.000000000 +0200
-@@ -941,8 +941,8 @@
- ll_rw_block(READ, 1, &(SB_AP_BITMAP(s)[i].bh)) ;
- wait_on_buffer(SB_AP_BITMAP(s)[i].bh) ;
- if (!buffer_uptodate(SB_AP_BITMAP(s)[i].bh)) {
-- printk("reread_meta_blocks, error reading bitmap block number %d at
-- %ld\n", i, SB_AP_BITMAP(s)[i].bh->b_blocknr) ;
-+ printk("reread_meta_blocks, error reading bitmap block number %d at %ld\n",
-+ i, SB_AP_BITMAP(s)[i].bh->b_blocknr) ;
- return 1 ;
- }
- }
-diff -u -r linux-2.4.20-xfs-r3/net/core/rtnetlink.c linux-2.4.20-xfs-r4/net/core/rtnetlink.c
---- linux-2.4.20-xfs-r3/net/core/rtnetlink.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/net/core/rtnetlink.c 2003-10-11 11:52:25.000000000 +0200
-@@ -394,7 +394,7 @@
- * Malformed skbs with wrong lengths of messages are discarded silently.
- */
-
--extern __inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
-+__inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
- {
- int err;
- struct nlmsghdr * nlh;
-diff -u -r linux-2.4.20-xfs-r3/net/decnet/dn_table.c linux-2.4.20-xfs-r4/net/decnet/dn_table.c
---- linux-2.4.20-xfs-r3/net/decnet/dn_table.c 2003-10-11 11:38:33.000000000 +0200
-+++ linux-2.4.20-xfs-r4/net/decnet/dn_table.c 2003-10-11 11:52:48.000000000 +0200
-@@ -836,8 +836,7 @@
- return NULL;
-
- if (in_interrupt() && net_ratelimit()) {
-- printk(KERN_DEBUG "DECnet: BUG! Attempt to create routing table
--from interrupt\n");
-+ printk(KERN_DEBUG "DECnet: BUG! Attempt to create routing table from interrupt\n");
- return NULL;
- }
- if ((t = kmalloc(sizeof(struct dn_fib_table), GFP_KERNEL)) == NULL)
diff --git a/sys-kernel/xfs-sources/files/xfs-sources-2.4.20.rtc_fix.patch b/sys-kernel/xfs-sources/files/xfs-sources-2.4.20.rtc_fix.patch
deleted file mode 100644
index 10e9c228d6d2..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources-2.4.20.rtc_fix.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-diff -ur linux-2.4.20-wolk4.9s/arch/cris/drivers/ds1302.c linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/ds1302.c
---- linux-2.4.20-wolk4.9s/arch/cris/drivers/ds1302.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/ds1302.c 2004-01-05 23:41:44.000000000 +0000
-@@ -315,6 +315,7 @@
- {
- struct rtc_time rtc_tm;
-
-+ memset(&rtc_tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&rtc_tm);
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
- return -EFAULT;
-diff -ur linux-2.4.20-wolk4.9s/arch/cris/drivers/pcf8563.c linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/pcf8563.c
---- linux-2.4.20-wolk4.9s/arch/cris/drivers/pcf8563.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/pcf8563.c 2004-01-05 23:42:22.000000000 +0000
-@@ -174,6 +174,7 @@
- {
- struct rtc_time tm;
-
-+ memset(&tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&tm);
-
- if (copy_to_user((struct rtc_time *) arg, &tm, sizeof(struct rtc_time))) {
-diff -ur linux-2.4.20-wolk4.9s/arch/m68k/bvme6000/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/bvme6000/rtc.c
---- linux-2.4.20-wolk4.9s/arch/m68k/bvme6000/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/bvme6000/rtc.c 2004-01-05 23:43:15.000000000 +0000
-@@ -54,6 +54,7 @@
- /* Ensure clock and real-time-mode-register are accessible */
- msr = rtc->msr & 0xc0;
- rtc->msr = 0x40;
-+ memset(&wtime, 0, sizeof (struct rtc_time));
- do {
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
-diff -ur linux-2.4.20-wolk4.9s/arch/m68k/mvme16x/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/mvme16x/rtc.c
---- linux-2.4.20-wolk4.9s/arch/m68k/mvme16x/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/mvme16x/rtc.c 2004-01-05 23:44:02.000000000 +0000
-@@ -52,6 +52,7 @@
- cli();
- /* Ensure clock and real-time-mode-register are accessible */
- rtc->ctrl = RTC_READ;
-+ memset(&wtime, 0, sizeof (struct rtc_time));
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
- wtime.tm_hour = BCD2BIN(rtc->bcd_hr);
-diff -ur linux-2.4.20-wolk4.9s/arch/mips/sgi-ip27/ip27-rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/mips/sgi-ip27/ip27-rtc.c
---- linux-2.4.20-wolk4.9s/arch/mips/sgi-ip27/ip27-rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/mips/sgi-ip27/ip27-rtc.c 2004-01-05 23:48:34.000000000 +0000
-@@ -84,6 +84,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/arch/ppc64/kernel/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/ppc64/kernel/rtc.c
---- linux-2.4.20-wolk4.9s/arch/ppc64/kernel/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/ppc64/kernel/rtc.c 2004-01-05 23:44:34.000000000 +0000
-@@ -96,6 +96,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ppc_md.get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/char/efirtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/efirtc.c
---- linux-2.4.20-wolk4.9s/drivers/char/efirtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/efirtc.c 2004-01-05 23:47:53.000000000 +0000
-@@ -118,6 +118,7 @@
- static void
- convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime)
- {
-+ memset(wtime, 0, sizeof(struct rtc_time));
- wtime->tm_sec = eft->second;
- wtime->tm_min = eft->minute;
- wtime->tm_hour = eft->hour;
-diff -ur linux-2.4.20-wolk4.9s/drivers/char/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/char/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/rtc.c 2004-01-05 23:52:43.000000000 +0000
-@@ -370,6 +370,7 @@
- * tm_min, and tm_sec values are filled in.
- */
-
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_alm_time(&wtime);
- break;
- }
-@@ -417,6 +418,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/hil/hp_sdc_rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/hil/hp_sdc_rtc.c
---- linux-2.4.20-wolk4.9s/drivers/hil/hp_sdc_rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/hil/hp_sdc_rtc.c 2004-01-05 23:53:36.000000000 +0000
-@@ -561,6 +561,7 @@
- }
- case RTC_ALM_READ: /* Read the present alarm time */
- {
-+ memset(&ttime, 0, sizeof(struct timeval));
- if (hp_sdc_rtc_read_mt(&ttime)) return -EFAULT;
- break;
- }
-@@ -609,6 +610,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- if (hp_sdc_rtc_read_bbrtc(&wtime)) return -EFAULT;
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/macintosh/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/macintosh/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/macintosh/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/macintosh/rtc.c 2004-01-05 23:54:15.000000000 +0000
-@@ -64,6 +64,7 @@
- case RTC_RD_TIME:
- if (ppc_md.get_rtc_time)
- {
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -ur linux-2.4.20-wolk4.9s/drivers/sbus/char/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/sbus/char/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/sbus/char/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/sbus/char/rtc.c 2004-01-05 23:54:43.000000000 +0000
-@@ -89,6 +89,7 @@
- switch (cmd)
- {
- case RTCGET:
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -ur linux-2.4.20-wolk4.9s/drivers/sgi/char/ds1286.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/sgi/char/ds1286.c
---- linux-2.4.20-wolk4.9s/drivers/sgi/char/ds1286.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/sgi/char/ds1286.c 2004-01-05 23:47:25.000000000 +0000
-@@ -174,6 +174,7 @@
- * tm_min, and tm_sec values are filled in.
- */
-
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_alm_time(&wtime);
- break;
- }
-@@ -216,6 +217,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_time(&wtime);
- break;
- }
diff --git a/sys-kernel/xfs-sources/files/xfs-sources-2.4.22.rtc_fix.patch b/sys-kernel/xfs-sources/files/xfs-sources-2.4.22.rtc_fix.patch
deleted file mode 100644
index 76a663c6e89d..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources-2.4.22.rtc_fix.patch
+++ /dev/null
@@ -1,180 +0,0 @@
-diff -urN linux-2.4.23/arch/cris/drivers/ds1302.c linux-2.4.24/arch/cris/drivers/ds1302.c
---- linux-2.4.23/arch/cris/drivers/ds1302.c 2003-08-25 04:44:39.000000000 -0700
-+++ linux-2.4.24/arch/cris/drivers/ds1302.c 2004-01-05 05:53:56.000000000 -0800
-@@ -346,6 +346,7 @@
- {
- struct rtc_time rtc_tm;
-
-+ memset(&rtc_tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&rtc_tm);
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
- return -EFAULT;
-diff -urN linux-2.4.23/arch/cris/drivers/pcf8563.c linux-2.4.24/arch/cris/drivers/pcf8563.c
---- linux-2.4.23/arch/cris/drivers/pcf8563.c 2003-08-25 04:44:39.000000000 -0700
-+++ linux-2.4.24/arch/cris/drivers/pcf8563.c 2004-01-05 05:53:56.000000000 -0800
-@@ -220,6 +220,7 @@
- {
- struct rtc_time tm;
-
-+ memset(&tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&tm);
-
- if (copy_to_user((struct rtc_time *) arg, &tm, sizeof tm)) {
-diff -urN linux-2.4.23/arch/m68k/bvme6000/rtc.c linux-2.4.24/arch/m68k/bvme6000/rtc.c
---- linux-2.4.23/arch/m68k/bvme6000/rtc.c 2003-06-13 07:51:31.000000000 -0700
-+++ linux-2.4.24/arch/m68k/bvme6000/rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -54,6 +54,7 @@
- /* Ensure clock and real-time-mode-register are accessible */
- msr = rtc->msr & 0xc0;
- rtc->msr = 0x40;
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- do {
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
-diff -urN linux-2.4.23/arch/m68k/mvme16x/rtc.c linux-2.4.24/arch/m68k/mvme16x/rtc.c
---- linux-2.4.23/arch/m68k/mvme16x/rtc.c 2003-06-13 07:51:31.000000000 -0700
-+++ linux-2.4.24/arch/m68k/mvme16x/rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -52,6 +52,7 @@
- cli();
- /* Ensure clock and real-time-mode-register are accessible */
- rtc->ctrl = RTC_READ;
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
- wtime.tm_hour = BCD2BIN(rtc->bcd_hr);
-diff -urN linux-2.4.23/arch/ppc64/kernel/rtc.c linux-2.4.24/arch/ppc64/kernel/rtc.c
---- linux-2.4.23/arch/ppc64/kernel/rtc.c 2003-06-13 07:51:32.000000000 -0700
-+++ linux-2.4.24/arch/ppc64/kernel/rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -96,6 +96,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ppc_md.get_rtc_time(&wtime);
- break;
- }
-diff -urN linux-2.4.23/drivers/acorn/char/i2c.c linux-2.4.24/drivers/acorn/char/i2c.c
---- linux-2.4.23/drivers/acorn/char/i2c.c 2003-08-25 04:44:40.000000000 -0700
-+++ linux-2.4.24/drivers/acorn/char/i2c.c 2004-01-05 05:53:56.000000000 -0800
-@@ -166,6 +166,7 @@
- break;
-
- case RTC_RD_TIME:
-+ memset(&rtctm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_raw, &year);
- rtctm.tm_sec = rtc_raw.secs;
- rtctm.tm_min = rtc_raw.mins;
-diff -urN linux-2.4.23/drivers/char/ds1286.c linux-2.4.24/drivers/char/ds1286.c
---- linux-2.4.23/drivers/char/ds1286.c 2003-08-25 04:44:41.000000000 -0700
-+++ linux-2.4.24/drivers/char/ds1286.c 2004-01-05 05:53:56.000000000 -0800
-@@ -173,7 +173,7 @@
- * means "don't care" or "match all". Only the tm_hour,
- * tm_min, and tm_sec values are filled in.
- */
--
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_alm_time(&wtime);
- break;
- }
-@@ -216,6 +216,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_time(&wtime);
- break;
- }
-diff -urN linux-2.4.23/drivers/char/efirtc.c linux-2.4.24/drivers/char/efirtc.c
---- linux-2.4.23/drivers/char/efirtc.c 2003-06-13 07:51:32.000000000 -0700
-+++ linux-2.4.24/drivers/char/efirtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -118,6 +118,7 @@
- static void
- convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime)
- {
-+ memset(wtime, 0, sizeof(struct rtc_time));
- wtime->tm_sec = eft->second;
- wtime->tm_min = eft->minute;
- wtime->tm_hour = eft->hour;
-diff -urN linux-2.4.23/drivers/char/ip27-rtc.c linux-2.4.24/drivers/char/ip27-rtc.c
---- linux-2.4.23/drivers/char/ip27-rtc.c 2003-08-25 04:44:41.000000000 -0700
-+++ linux-2.4.24/drivers/char/ip27-rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -83,6 +83,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -urN linux-2.4.23/drivers/char/mips_rtc.c linux-2.4.24/drivers/char/mips_rtc.c
---- linux-2.4.23/drivers/char/mips_rtc.c 2003-08-25 04:44:41.000000000 -0700
-+++ linux-2.4.24/drivers/char/mips_rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -82,6 +82,7 @@
-
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- curr_time = rtc_get_time();
- to_tm(curr_time, &rtc_tm);
- rtc_tm.tm_year -= 1900;
-diff -urN linux-2.4.23/drivers/char/rtc.c linux-2.4.24/drivers/char/rtc.c
---- linux-2.4.23/drivers/char/rtc.c 2003-11-28 10:26:20.000000000 -0800
-+++ linux-2.4.24/drivers/char/rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -362,7 +362,7 @@
- * means "don't care" or "match all". Only the tm_hour,
- * tm_min, and tm_sec values are filled in.
- */
--
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_alm_time(&wtime);
- break;
- }
-@@ -406,6 +406,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -urN linux-2.4.23/drivers/hil/hp_sdc_rtc.c linux-2.4.24/drivers/hil/hp_sdc_rtc.c
---- linux-2.4.23/drivers/hil/hp_sdc_rtc.c 2003-06-13 07:51:33.000000000 -0700
-+++ linux-2.4.24/drivers/hil/hp_sdc_rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -561,6 +561,7 @@
- }
- case RTC_ALM_READ: /* Read the present alarm time */
- {
-+ memset(&ttime, 0, sizeof(struct timeval));
- if (hp_sdc_rtc_read_mt(&ttime)) return -EFAULT;
- break;
- }
-@@ -609,6 +610,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- if (hp_sdc_rtc_read_bbrtc(&wtime)) return -EFAULT;
- break;
- }
-diff -urN linux-2.4.23/drivers/macintosh/rtc.c linux-2.4.24/drivers/macintosh/rtc.c
---- linux-2.4.23/drivers/macintosh/rtc.c 2002-02-25 11:37:58.000000000 -0800
-+++ linux-2.4.24/drivers/macintosh/rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -64,6 +64,7 @@
- case RTC_RD_TIME:
- if (ppc_md.get_rtc_time)
- {
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -urN linux-2.4.23/drivers/sbus/char/rtc.c linux-2.4.24/drivers/sbus/char/rtc.c
---- linux-2.4.23/drivers/sbus/char/rtc.c 2001-10-10 23:42:47.000000000 -0700
-+++ linux-2.4.24/drivers/sbus/char/rtc.c 2004-01-05 05:53:56.000000000 -0800
-@@ -89,6 +89,7 @@
- switch (cmd)
- {
- case RTCGET:
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
diff --git a/sys-kernel/xfs-sources/files/xfs-sources-2.4.24.munmap.patch b/sys-kernel/xfs-sources/files/xfs-sources-2.4.24.munmap.patch
deleted file mode 100644
index e120b35b7adb..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources-2.4.24.munmap.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff -ur linux-2.4.25-rc3/mm/mremap.c linux-2.4.25-rc4/mm/mremap.c
---- linux-2.4.25-rc3/mm/mremap.c 2004-02-18 13:56:01.000000000 +0000
-+++ linux-2.4.25-rc4/mm/mremap.c 2004-02-18 13:49:08.000000000 +0000
-@@ -258,16 +258,20 @@
- if ((addr <= new_addr) && (addr+old_len) > new_addr)
- goto out;
-
-- do_munmap(current->mm, new_addr, new_len);
-+ ret = do_munmap(current->mm, new_addr, new_len);
-+ if (ret && new_len)
-+ goto out;
- }
-
- /*
- * Always allow a shrinking remap: that just unmaps
- * the unnecessary pages..
- */
-- ret = addr;
- if (old_len >= new_len) {
-- do_munmap(current->mm, addr+new_len, old_len - new_len);
-+ ret = do_munmap(current->mm, addr+new_len, old_len - new_len);
-+ if (ret && old_len != new_len)
-+ goto out;
-+ ret = addr;
- if (!(flags & MREMAP_FIXED) || (new_addr == addr))
- goto out;
- }
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2003-0985.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2003-0985.patch
deleted file mode 100644
index dacf6ed810f9..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2003-0985.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- linux/mm/mremap.c.orig 2004-01-05 17:01:21.382104120 +0000
-+++ linux/mm/mremap.c 2004-01-05 17:15:25.689749848 +0000
-@@ -315,6 +315,10 @@
- old_len = PAGE_ALIGN(old_len);
- new_len = PAGE_ALIGN(new_len);
-
-+ /* Don't allow the degenerate cases */
-+ if (!old_len || !new_len)
-+ goto out;
-+
- /* new_addr is only valid if MREMAP_FIXED is specified */
- if (flags & MREMAP_FIXED) {
- if (new_addr & ~PAGE_MASK)
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0010.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0010.patch
deleted file mode 100644
index 6b4b1cefa49e..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0010.patch
+++ /dev/null
@@ -1,200 +0,0 @@
-diff -urN linux-2.4.25-pre6/fs/ncpfs/dir.c linux-2.4.25-pre7/fs/ncpfs/dir.c
---- linux-2.4.25-pre6/fs/ncpfs/dir.c 2002-11-28 15:53:15.000000000 -0800
-+++ linux-2.4.25-pre7/fs/ncpfs/dir.c 2004-01-23 10:53:26.000000000 -0800
-@@ -266,8 +266,8 @@
- struct ncp_server *server;
- struct inode *dir = dentry->d_parent->d_inode;
- struct ncp_entry_info finfo;
-- int res, val = 0, len = dentry->d_name.len + 1;
-- __u8 __name[len];
-+ int res, val = 0, len;
-+ __u8 __name[NCP_MAXPATHLEN + 1];
-
- if (!dentry->d_inode || !dir)
- goto finished;
-@@ -291,14 +291,15 @@
- dentry->d_parent->d_name.name, dentry->d_name.name,
- NCP_GET_AGE(dentry));
-
-+ len = sizeof(__name);
- if (ncp_is_server_root(dir)) {
- res = ncp_io2vol(server, __name, &len, dentry->d_name.name,
-- len-1, 1);
-+ dentry->d_name.len, 1);
- if (!res)
- res = ncp_lookup_volume(server, __name, &(finfo.i));
- } else {
- res = ncp_io2vol(server, __name, &len, dentry->d_name.name,
-- len-1, !ncp_preserve_case(dir));
-+ dentry->d_name.len, !ncp_preserve_case(dir));
- if (!res)
- res = ncp_obtain_info(server, dir, __name, &(finfo.i));
- }
-@@ -548,9 +549,9 @@
- int valid = 0;
- int hashed = 0;
- ino_t ino = 0;
-- __u8 __name[256];
-+ __u8 __name[NCP_MAXPATHLEN + 1];
-
-- qname.len = 256;
-+ qname.len = sizeof(__name);
- if (ncp_vol2io(NCP_SERVER(inode), __name, &qname.len,
- entry->i.entryName, entry->i.nameLen,
- !ncp_preserve_entry_case(inode, entry->i.NSCreator)))
-@@ -705,16 +706,19 @@
- {
- struct ncp_server* server = NCP_SBP(sb);
- struct nw_info_struct i;
-- int result, len = strlen(server->m.mounted_vol) + 1;
-- __u8 __name[len];
-+ int result;
-
- if (ncp_single_volume(server)) {
-+ int len;
- struct dentry* dent;
-+ __u8 __name[NCP_MAXPATHLEN + 1];
-
-- result = -ENOENT;
-- if (ncp_io2vol(server, __name, &len, server->m.mounted_vol,
-- len-1, 1))
-+ len = sizeof(__name);
-+ result = ncp_io2vol(server, __name, &len, server->m.mounted_vol,
-+ strlen(server->m.mounted_vol), 1);
-+ if (result)
- goto out;
-+ result = -ENOENT;
- if (ncp_lookup_volume(server, __name, &i)) {
- PPRINTK("ncp_conn_logged_in: %s not found\n",
- server->m.mounted_vol);
-@@ -745,8 +749,8 @@
- struct ncp_server *server = NCP_SERVER(dir);
- struct inode *inode = NULL;
- struct ncp_entry_info finfo;
-- int error, res, len = dentry->d_name.len + 1;
-- __u8 __name[len];
-+ int error, res, len;
-+ __u8 __name[NCP_MAXPATHLEN + 1];
-
- error = -EIO;
- if (!ncp_conn_valid(server))
-@@ -755,14 +759,15 @@
- PPRINTK("ncp_lookup: server lookup for %s/%s\n",
- dentry->d_parent->d_name.name, dentry->d_name.name);
-
-+ len = sizeof(__name);
- if (ncp_is_server_root(dir)) {
- res = ncp_io2vol(server, __name, &len, dentry->d_name.name,
-- len-1, 1);
-+ dentry->d_name.len, 1);
- if (!res)
- res = ncp_lookup_volume(server, __name, &(finfo.i));
- } else {
- res = ncp_io2vol(server, __name, &len, dentry->d_name.name,
-- len-1, !ncp_preserve_case(dir));
-+ dentry->d_name.len, !ncp_preserve_case(dir));
- if (!res)
- res = ncp_obtain_info(server, dir, __name, &(finfo.i));
- }
-@@ -825,9 +830,9 @@
- {
- struct ncp_server *server = NCP_SERVER(dir);
- struct ncp_entry_info finfo;
-- int error, result, len = dentry->d_name.len + 1;
-+ int error, result, len;
- int opmode;
-- __u8 __name[len];
-+ __u8 __name[NCP_MAXPATHLEN + 1];
-
- PPRINTK("ncp_create_new: creating %s/%s, mode=%x\n",
- dentry->d_parent->d_name.name, dentry->d_name.name, mode);
-@@ -836,8 +841,9 @@
- goto out;
-
- ncp_age_dentry(server, dentry);
-+ len = sizeof(__name);
- error = ncp_io2vol(server, __name, &len, dentry->d_name.name,
-- len-1, !ncp_preserve_case(dir));
-+ dentry->d_name.len, !ncp_preserve_case(dir));
- if (error)
- goto out;
-
-@@ -880,8 +886,8 @@
- {
- struct ncp_entry_info finfo;
- struct ncp_server *server = NCP_SERVER(dir);
-- int error, len = dentry->d_name.len + 1;
-- __u8 __name[len];
-+ int error, len;
-+ __u8 __name[NCP_MAXPATHLEN + 1];
-
- DPRINTK("ncp_mkdir: making %s/%s\n",
- dentry->d_parent->d_name.name, dentry->d_name.name);
-@@ -890,8 +896,9 @@
- goto out;
-
- ncp_age_dentry(server, dentry);
-+ len = sizeof(__name);
- error = ncp_io2vol(server, __name, &len, dentry->d_name.name,
-- len-1, !ncp_preserve_case(dir));
-+ dentry->d_name.len, !ncp_preserve_case(dir));
- if (error)
- goto out;
-
-@@ -909,8 +916,8 @@
- static int ncp_rmdir(struct inode *dir, struct dentry *dentry)
- {
- struct ncp_server *server = NCP_SERVER(dir);
-- int error, result, len = dentry->d_name.len + 1;
-- __u8 __name[len];
-+ int error, result, len;
-+ __u8 __name[NCP_MAXPATHLEN + 1];
-
- DPRINTK("ncp_rmdir: removing %s/%s\n",
- dentry->d_parent->d_name.name, dentry->d_name.name);
-@@ -923,8 +930,9 @@
- if (!d_unhashed(dentry))
- goto out;
-
-+ len = sizeof(__name);
- error = ncp_io2vol(server, __name, &len, dentry->d_name.name,
-- len-1, !ncp_preserve_case(dir));
-+ dentry->d_name.len, !ncp_preserve_case(dir));
- if (error)
- goto out;
-
-@@ -1022,9 +1030,8 @@
- {
- struct ncp_server *server = NCP_SERVER(old_dir);
- int error;
-- int old_len = old_dentry->d_name.len + 1;
-- int new_len = new_dentry->d_name.len + 1;
-- __u8 __old_name[old_len], __new_name[new_len];
-+ int old_len, new_len;
-+ __u8 __old_name[NCP_MAXPATHLEN + 1], __new_name[NCP_MAXPATHLEN + 1];
-
- DPRINTK("ncp_rename: %s/%s to %s/%s\n",
- old_dentry->d_parent->d_name.name, old_dentry->d_name.name,
-@@ -1037,15 +1044,17 @@
- ncp_age_dentry(server, old_dentry);
- ncp_age_dentry(server, new_dentry);
-
-+ old_len = sizeof(__old_name);
- error = ncp_io2vol(server, __old_name, &old_len,
-- old_dentry->d_name.name, old_len-1,
-- !ncp_preserve_case(old_dir));
-+ old_dentry->d_name.name, old_dentry->d_name.len,
-+ !ncp_preserve_case(old_dir));
- if (error)
- goto out;
-
-+ new_len = sizeof(__new_name);
- error = ncp_io2vol(server, __new_name, &new_len,
-- new_dentry->d_name.name, new_len-1,
-- !ncp_preserve_case(new_dir));
-+ new_dentry->d_name.name, new_dentry->d_name.len,
-+ !ncp_preserve_case(new_dir));
- if (error)
- goto out;
-
-
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0075.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0075.patch
deleted file mode 100644
index 5c397deb9c46..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0075.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- linux-2.4.23/drivers/usb/vicam.c 2004-01-26 16:56:32.000000000 +0000
-+++ linux-2.4.25/drivers/usb/vicam.c 2004-04-20 18:15:53.000000000 +0100
-@@ -601,12 +601,19 @@
- case VIDIOCSWIN:
- {
-
-- struct video_window *vw = (struct video_window *) arg;
-- DBG("VIDIOCSWIN %d x %d\n", vw->width, vw->height);
-+ struct video_window vw;
-
-- if ( vw->width != 320 || vw->height != 240 )
-+ if (copy_from_user(&vw, arg, sizeof(vw)))
-+ {
- retval = -EFAULT;
-+ break;
-+ }
-+
-+ DBG("VIDIOCSWIN %d x %d\n", vw->width, vw->height);
-
-+ if ( vw.width != 320 || vw.height != 240 )
-+ retval = -EFAULT;
-+
- break;
- }
-
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0109.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0109.patch
deleted file mode 100644
index d02b51c57fc6..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0109.patch
+++ /dev/null
@@ -1,87 +0,0 @@
---- linux/fs/isofs/rock.c.orig
-+++ linux/fs/isofs/rock.c
-@@ -14,6 +14,7 @@
- #include <linux/slab.h>
- #include <linux/pagemap.h>
- #include <linux/smp_lock.h>
-+#include <asm/page.h>
-
- #include "rock.h"
-
-@@ -419,7 +420,7 @@
- return 0;
- }
-
--static char *get_symlink_chunk(char *rpnt, struct rock_ridge *rr)
-+static char *get_symlink_chunk(char *rpnt, struct rock_ridge *rr, char *plimit)
- {
- int slen;
- int rootflag;
-@@ -431,16 +432,25 @@
- rootflag = 0;
- switch (slp->flags & ~1) {
- case 0:
-+ if (slp->len > plimit - rpnt)
-+ return NULL;
- memcpy(rpnt, slp->text, slp->len);
- rpnt+=slp->len;
- break;
-+ case 2:
-+ if (rpnt >= plimit)
-+ return NULL;
-+ *rpnt++='.';
-+ break;
- case 4:
-+ if (2 > plimit - rpnt)
-+ return NULL;
- *rpnt++='.';
-- /* fallthru */
-- case 2:
- *rpnt++='.';
- break;
- case 8:
-+ if (rpnt >= plimit)
-+ return NULL;
- rootflag = 1;
- *rpnt++='/';
- break;
-@@ -457,17 +467,23 @@
- * If there is another SL record, and this component
- * record isn't continued, then add a slash.
- */
-- if ((!rootflag) && (rr->u.SL.flags & 1) && !(oldslp->flags & 1))
-+ if ((!rootflag) && (rr->u.SL.flags & 1) &&
-+ !(oldslp->flags & 1)) {
-+ if (rpnt >= plimit)
-+ return NULL;
- *rpnt++='/';
-+ }
- break;
- }
-
- /*
- * If this component record isn't continued, then append a '/'.
- */
-- if (!rootflag && !(oldslp->flags & 1))
-+ if (!rootflag && !(oldslp->flags & 1)) {
-+ if (rpnt >= plimit)
-+ return NULL;
- *rpnt++='/';
--
-+ }
- }
- return rpnt;
- }
-@@ -548,7 +564,10 @@
- CHECK_SP(goto out);
- break;
- case SIG('S', 'L'):
-- rpnt = get_symlink_chunk(rpnt, rr);
-+ rpnt = get_symlink_chunk(rpnt, rr,
-+ link + (PAGE_SIZE - 1));
-+ if (rpnt == NULL)
-+ goto out;
- break;
- case SIG('C', 'E'):
- /* This tells is if there is a continuation record */
-
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0133.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0133.patch
deleted file mode 100644
index c756bc328bf2..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0133.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-2.4.22/fs/xfs/xfs_log.c.can-2004-0133 2004-03-23 12:28:11.000000000 -0700
-+++ linux-2.4.22/fs/xfs/xfs_log.c 2004-03-23 12:58:59.000000000 -0700
-@@ -1251,7 +1251,7 @@
- kmem_zalloc(sizeof(xlog_in_core_t), KM_SLEEP);
- iclog = *iclogp;
- iclog->hic_data = (xlog_in_core_2_t *)
-- kmem_alloc(iclogsize, KM_SLEEP);
-+ kmem_zalloc(iclogsize, KM_SLEEP);
-
- iclog->ic_prev = prev_iclog;
- prev_iclog = iclog;
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0177.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0177.patch
deleted file mode 100644
index da6b7e190685..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0177.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- linux-2.4.26-pre3/fs/jbd/journal.c 2004-02-18 05:36:31.000000000 -0800
-+++ linux-2.4.26-pre4/fs/jbd/journal.c 2004-03-16 09:59:36.000000000 -0800
-@@ -671,6 +671,7 @@
-
- bh = getblk(journal->j_dev, blocknr, journal->j_blocksize);
- lock_buffer(bh);
-+ memset(bh->b_data, 0, journal->j_blocksize);
- BUFFER_TRACE(bh, "return this buffer");
- return journal_add_journal_head(bh);
- }
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0178.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0178.patch
deleted file mode 100644
index 19e57268c2fa..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0178.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-2.4.26-pre2/drivers/sound/sb_audio.c 2002-02-25 11:38:06.000000000 -0800
-+++ linux-2.4.26-pre3/drivers/sound/sb_audio.c 2004-03-13 07:43:23.000000000 -0800
-@@ -879,7 +879,7 @@
- c -= locallen; p += locallen;
- }
- /* used = ( samples * 16 bits size ) */
-- *used = len << 1;
-+ *used = max_in > ( max_out << 1) ? (max_out << 1) : max_in;
- /* returned = ( samples * 8 bits size ) */
- *returned = len;
- }
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0181.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0181.patch
deleted file mode 100644
index 5f7f1441b268..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0181.patch
+++ /dev/null
@@ -1,38 +0,0 @@
---- linux-2.4.22/fs/jfs/jfs_logmgr.c.jfs-sec 2004-03-23 12:30:35.000000000 -0700
-+++ linux-2.4.22/fs/jfs/jfs_logmgr.c 2004-03-23 13:01:51.000000000 -0700
-@@ -1693,7 +1693,7 @@
- if (lbuf == 0)
- goto error;
- lbuf->l_bh.b_data = lbuf->l_ldata =
-- (char *) __get_free_page(GFP_KERNEL);
-+ (char *) get_zeroed_page(GFP_KERNEL);
- if (lbuf->l_ldata == 0) {
- kfree(lbuf);
- goto error;
---- linux-2.4.22/fs/jfs/jfs_metapage.c.jfs-sec 2004-03-23 12:30:48.000000000 -0700
-+++ linux-2.4.22/fs/jfs/jfs_metapage.c 2004-03-23 13:01:51.000000000 -0700
-@@ -375,6 +375,10 @@
- }
- mp->data = kmap(mp->page) + page_offset;
- }
-+
-+ if (new)
-+ memset(mp->data, 0, PSIZE);
-+
- jfs_info("__get_metapage: returning = 0x%p", mp);
- return mp;
-
---- linux-2.4.22/fs/jfs/super.c.jfs-sec 2004-03-23 12:31:10.000000000 -0700
-+++ linux-2.4.22/fs/jfs/super.c 2004-03-23 13:01:51.000000000 -0700
-@@ -423,10 +423,10 @@
-
- if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) ==
- SLAB_CTOR_CONSTRUCTOR) {
-+ memset(jfs_ip, 0, sizeof(struct jfs_inode_info));
- INIT_LIST_HEAD(&jfs_ip->anon_inode_list);
- init_rwsem(&jfs_ip->rdwrlock);
- init_MUTEX(&jfs_ip->commit_sem);
-- jfs_ip->atlhead = 0;
- jfs_ip->active_ag = -1;
- }
- }
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0394.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0394.patch
deleted file mode 100644
index 273f1a52046f..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0394.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-2.4.22-oM3-orig/kernel/panic.c Tue Mar 30 15:37:18 2004
-+++ linux-2.4.22-oM3-mod/kernel/panic.c Mon May 17 18:44:01 2004
-@@ -51,7 +51,7 @@
-
- bust_spinlocks(1);
- va_start(args, fmt);
-- vsprintf(buf, fmt, args);
-+ vsnprintf(buf, sizeof(buf), fmt, args);
- va_end(args);
- printk(KERN_EMERG "Kernel panic: %s\n",buf);
- if (in_interrupt())
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0427.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0427.patch
deleted file mode 100644
index ddc9610f67f8..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0427.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Nar -U 4 linux-2.4.25/kernel/fork.c linux-2.4.25-new/kernel/fork.c
---- linux-2.4.25/kernel/fork.c 2004-02-18 05:36:32.000000000 -0800
-+++ linux-2.4.25-new/kernel/fork.c 2004-04-07 17:43:29.000000000 -0700
-@@ -825,8 +825,10 @@
- bad_fork_cleanup_namespace:
- exit_namespace(p);
- bad_fork_cleanup_mm:
- exit_mm(p);
-+ if (p->active_mm)
-+ mmdrop(p->active_mm);
- bad_fork_cleanup_sighand:
- exit_sighand(p);
- bad_fork_cleanup_fs:
- exit_fs(p); /* blocking */
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0495.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0495.patch
deleted file mode 100644
index bea80eac69a9..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0495.patch
+++ /dev/null
@@ -1,655 +0,0 @@
---- linux/net/decnet/dn_dev.c.bak Wed Jun 16 14:42:24 2004
-+++ linux/net/decnet/dn_dev.c Wed Jun 16 14:42:34 2004
-@@ -1070,31 +1070,39 @@ int dnet_gifconf(struct net_device *dev,
- {
- struct dn_dev *dn_db = (struct dn_dev *)dev->dn_ptr;
- struct dn_ifaddr *ifa;
-- struct ifreq *ifr = (struct ifreq *)buf;
-+ char buffer[DN_IFREQ_SIZE];
-+ struct ifreq *ifr = (struct ifreq *)buffer;
-+ struct sockaddr_dn *addr = (struct sockaddr_dn *)&ifr->ifr_addr;
- int done = 0;
-
- if ((dn_db == NULL) || ((ifa = dn_db->ifa_list) == NULL))
- return 0;
-
- for(; ifa; ifa = ifa->ifa_next) {
-- if (!ifr) {
-+ if (!buf) {
- done += sizeof(DN_IFREQ_SIZE);
- continue;
- }
- if (len < DN_IFREQ_SIZE)
- return done;
-- memset(ifr, 0, DN_IFREQ_SIZE);
-+ memset(buffer, 0, DN_IFREQ_SIZE);
-
- if (ifa->ifa_label)
- strcpy(ifr->ifr_name, ifa->ifa_label);
- else
- strcpy(ifr->ifr_name, dev->name);
-
-- (*(struct sockaddr_dn *) &ifr->ifr_addr).sdn_family = AF_DECnet;
-- (*(struct sockaddr_dn *) &ifr->ifr_addr).sdn_add.a_len = 2;
-- (*(dn_address *)(*(struct sockaddr_dn *) &ifr->ifr_addr).sdn_add.a_addr) = ifa->ifa_local;
-+ addr->sdn_family = AF_DECnet;
-+ addr->sdn_add.a_len = 2;
-+ memcpy(addr->sdn_add.a_addr, &ifa->ifa_local,
-+ sizeof(dn_address));
-
-- ifr = (struct ifreq *)((char *)ifr + DN_IFREQ_SIZE);
-+ if (copy_to_user(buf, buffer, DN_IFREQ_SIZE)) {
-+ done = -EFAULT;
-+ break;
-+ }
-+
-+ buf += DN_IFREQ_SIZE;
- len -= DN_IFREQ_SIZE;
- done += DN_IFREQ_SIZE;
- }
---- linux-2.4.21/drivers/net/wireless/airo.c 2003-06-13 15:51:35.000000000 +0100
-+++ linux-2.4.21/drivers/net/wireless/airo.c.plasmaroo 2004-06-24 11:09:08.260352168 +0100
-@@ -3012,19 +3012,22 @@
- size_t len,
- loff_t *offset )
- {
-- int i;
-- int pos;
-+ loff_t pos = *offset;
- struct proc_data *priv = (struct proc_data*)file->private_data;
-
-- if( !priv->rbuffer ) return -EINVAL;
-+ if (!priv->rbuffer)
-+ return -EINVAL;
-
-- pos = *offset;
-- for( i = 0; i+pos < priv->readlen && i < len; i++ ) {
-- if (put_user( priv->rbuffer[i+pos], buffer+i ))
-- return -EFAULT;
-- }
-- *offset += i;
-- return i;
-+ if (pos < 0)
-+ return -EINVAL;
-+ if (pos >= priv->readlen)
-+ return 0;
-+ if (len > priv->readlen - pos)
-+ len = priv->readlen - pos;
-+ if (copy_to_user(buffer, priv->rbuffer + pos, len))
-+ return -EFAULT;
-+ *offset = pos + len;
-+ return len;
- }
-
- /*
-@@ -3036,24 +3039,24 @@
- size_t len,
- loff_t *offset )
- {
-- int i;
-- int pos;
-+ loff_t pos = *offset;
- struct proc_data *priv = (struct proc_data*)file->private_data;
-
-- if ( !priv->wbuffer ) {
-+ if (!priv->wbuffer)
- return -EINVAL;
-- }
--
-- pos = *offset;
-
-- for( i = 0; i + pos < priv->maxwritelen &&
-- i < len; i++ ) {
-- if (get_user( priv->wbuffer[i+pos], buffer + i ))
-- return -EFAULT;
-- }
-- if ( i+pos > priv->writelen ) priv->writelen = i+file->f_pos;
-- *offset += i;
-- return i;
-+ if (pos < 0)
-+ return -EINVAL;
-+ if (pos >= priv->maxwritelen)
-+ return 0;
-+ if (len > priv->maxwritelen - pos)
-+ len = priv->maxwritelen - pos;
-+ if (copy_from_user(priv->wbuffer + pos, buffer, len))
-+ return -EFAULT;
-+ if (pos + len > priv->writelen)
-+ priv->writelen = pos + len;
-+ *offset = pos + len;
-+ return len;
- }
-
- static int proc_status_open( struct inode *inode, struct file *file ) {
---- linux/drivers/sound/mpu401.c.bak Wed Jun 16 14:42:24 2004
-+++ linux/drivers/sound/mpu401.c Wed Jun 16 14:42:34 2004
-@@ -1493,14 +1493,16 @@ static unsigned long mpu_timer_get_time(
- static int mpu_timer_ioctl(int dev, unsigned int command, caddr_t arg)
- {
- int midi_dev = sound_timer_devs[dev]->devlink;
-+ int *p = (int *)arg;
-
- switch (command)
- {
- case SNDCTL_TMR_SOURCE:
- {
- int parm;
--
-- parm = *(int *) arg;
-+
-+ if (get_user(parm, p))
-+ return -EFAULT;
- parm &= timer_caps;
-
- if (parm != 0)
-@@ -1512,7 +1514,9 @@ static int mpu_timer_ioctl(int dev, unsi
- else if (timer_mode & TMR_MODE_SMPTE)
- mpu_cmd(midi_dev, 0x3d, 0); /* Use SMPTE sync */
- }
-- return (*(int *) arg = timer_mode);
-+ if (put_user(timer_mode, p))
-+ return -EFAULT;
-+ return timer_mode;
- }
- break;
-
-@@ -1537,10 +1541,13 @@ static int mpu_timer_ioctl(int dev, unsi
- {
- int val;
-
-- val = *(int *) arg;
-+ if (get_user(val, p))
-+ return -EFAULT;
- if (val)
- set_timebase(midi_dev, val);
-- return (*(int *) arg = curr_timebase);
-+ if (put_user(curr_timebase, p))
-+ return -EFAULT;
-+ return curr_timebase;
- }
- break;
-
-@@ -1549,7 +1556,8 @@ static int mpu_timer_ioctl(int dev, unsi
- int val;
- int ret;
-
-- val = *(int *) arg;
-+ if (get_user(val, p))
-+ return -EFAULT;
-
- if (val)
- {
-@@ -1564,7 +1572,9 @@ static int mpu_timer_ioctl(int dev, unsi
- }
- curr_tempo = val;
- }
-- return (*(int *) arg = curr_tempo);
-+ if (put_user(curr_tempo, p))
-+ return -EFAULT;
-+ return curr_tempo;
- }
- break;
-
-@@ -1572,18 +1582,25 @@ static int mpu_timer_ioctl(int dev, unsi
- {
- int val;
-
-- val = *(int *) arg;
-+ if (get_user(val, p))
-+ return -EFAULT;
- if (val != 0) /* Can't change */
- return -EINVAL;
-- return (*(int *) arg = ((curr_tempo * curr_timebase) + 30) / 60);
-+ val = (curr_tempo * curr_timebase + 30) / 60;
-+ if (put_user(val, p))
-+ return -EFAULT;
-+ return val;
- }
- break;
-
- case SNDCTL_SEQ_GETTIME:
-- return (*(int *) arg = curr_ticks);
-+ if (put_user(curr_ticks, p))
-+ return -EFAULT;
-+ return curr_ticks;
-
- case SNDCTL_TMR_METRONOME:
-- metronome_mode = *(int *) arg;
-+ if (get_user(metronome_mode, p))
-+ return -EFAULT;
- setup_metronome(midi_dev);
- return 0;
-
---- linux/drivers/sound/msnd.c.bak Wed Jun 16 14:42:24 2004
-+++ linux/drivers/sound/msnd.c Wed Jun 16 14:42:34 2004
-@@ -155,13 +155,10 @@ void msnd_fifo_make_empty(msnd_fifo *f)
- f->len = f->tail = f->head = 0;
- }
-
--int msnd_fifo_write(msnd_fifo *f, const char *buf, size_t len, int user)
-+int msnd_fifo_write(msnd_fifo *f, const char *buf, size_t len)
- {
- int count = 0;
-
-- if (f->len == f->n)
-- return 0;
--
- while ((count < len) && (f->len != f->n)) {
-
- int nwritten;
-@@ -177,11 +174,7 @@ int msnd_fifo_write(msnd_fifo *f, const
- nwritten = len - count;
- }
-
-- if (user) {
-- if (copy_from_user(f->data + f->tail, buf, nwritten))
-- return -EFAULT;
-- } else
-- isa_memcpy_fromio(f->data + f->tail, (unsigned long) buf, nwritten);
-+ isa_memcpy_fromio(f->data + f->tail, (unsigned long) buf, nwritten);
-
- count += nwritten;
- buf += nwritten;
-@@ -193,13 +186,10 @@ int msnd_fifo_write(msnd_fifo *f, const
- return count;
- }
-
--int msnd_fifo_read(msnd_fifo *f, char *buf, size_t len, int user)
-+int msnd_fifo_read(msnd_fifo *f, char *buf, size_t len)
- {
- int count = 0;
-
-- if (f->len == 0)
-- return f->len;
--
- while ((count < len) && (f->len > 0)) {
-
- int nread;
-@@ -215,11 +205,7 @@ int msnd_fifo_read(msnd_fifo *f, char *b
- nread = len - count;
- }
-
-- if (user) {
-- if (copy_to_user(buf, f->data + f->head, nread))
-- return -EFAULT;
-- } else
-- isa_memcpy_toio((unsigned long) buf, f->data + f->head, nread);
-+ isa_memcpy_toio((unsigned long) buf, f->data + f->head, nread);
-
- count += nread;
- buf += nread;
---- linux/drivers/sound/msnd.h.bak Wed Jun 16 14:42:24 2004
-+++ linux/drivers/sound/msnd.h Wed Jun 16 14:42:34 2004
-@@ -266,8 +266,8 @@ void msnd_fifo_init(msnd_fifo *f);
- void msnd_fifo_free(msnd_fifo *f);
- int msnd_fifo_alloc(msnd_fifo *f, size_t n);
- void msnd_fifo_make_empty(msnd_fifo *f);
--int msnd_fifo_write(msnd_fifo *f, const char *buf, size_t len, int user);
--int msnd_fifo_read(msnd_fifo *f, char *buf, size_t len, int user);
-+int msnd_fifo_write(msnd_fifo *f, const char *buf, size_t len);
-+int msnd_fifo_read(msnd_fifo *f, char *buf, size_t len);
-
- int msnd_wait_TXDE(multisound_dev_t *dev);
- int msnd_wait_HC0(multisound_dev_t *dev);
---- linux/drivers/sound/msnd_pinnacle.c.bak Wed Jun 16 14:42:24 2004
-+++ linux/drivers/sound/msnd_pinnacle.c Wed Jun 16 14:42:34 2004
-@@ -804,7 +804,7 @@ static int dev_release(struct inode *ino
-
- static __inline__ int pack_DARQ_to_DARF(register int bank)
- {
-- register int size, n, timeout = 3;
-+ register int size, timeout = 3;
- register WORD wTmp;
- LPDAQD DAQD;
-
-@@ -825,13 +825,10 @@ static __inline__ int pack_DARQ_to_DARF(
- /* Read data from the head (unprotected bank 1 access okay
- since this is only called inside an interrupt) */
- outb(HPBLKSEL_1, dev.io + HP_BLKS);
-- if ((n = msnd_fifo_write(
-+ msnd_fifo_write(
- &dev.DARF,
- (char *)(dev.base + bank * DAR_BUFF_SIZE),
-- size, 0)) <= 0) {
-- outb(HPBLKSEL_0, dev.io + HP_BLKS);
-- return n;
-- }
-+ size);
- outb(HPBLKSEL_0, dev.io + HP_BLKS);
-
- return 1;
-@@ -853,21 +850,16 @@ static __inline__ int pack_DAPF_to_DAPQ(
- if (protect) {
- /* Critical section: protect fifo in non-interrupt */
- spin_lock_irqsave(&dev.lock, flags);
-- if ((n = msnd_fifo_read(
-+ n = msnd_fifo_read(
- &dev.DAPF,
- (char *)(dev.base + bank_num * DAP_BUFF_SIZE),
-- DAP_BUFF_SIZE, 0)) < 0) {
-- spin_unlock_irqrestore(&dev.lock, flags);
-- return n;
-- }
-+ DAP_BUFF_SIZE);
- spin_unlock_irqrestore(&dev.lock, flags);
- } else {
-- if ((n = msnd_fifo_read(
-+ n = msnd_fifo_read(
- &dev.DAPF,
- (char *)(dev.base + bank_num * DAP_BUFF_SIZE),
-- DAP_BUFF_SIZE, 0)) < 0) {
-- return n;
-- }
-+ DAP_BUFF_SIZE);
- }
- if (!n)
- break;
-@@ -894,30 +886,43 @@ static __inline__ int pack_DAPF_to_DAPQ(
- static int dsp_read(char *buf, size_t len)
- {
- int count = len;
-+ char *page = (char *)__get_free_page(PAGE_SIZE);
-+
-+ if (!page)
-+ return -ENOMEM;
-
- while (count > 0) {
-- int n;
-+ int n, k;
- unsigned long flags;
-
-+ k = PAGE_SIZE;
-+ if (k > count)
-+ k = count;
-+
- /* Critical section: protect fifo in non-interrupt */
- spin_lock_irqsave(&dev.lock, flags);
-- if ((n = msnd_fifo_read(&dev.DARF, buf, count, 1)) < 0) {
-- printk(KERN_WARNING LOGNAME ": FIFO read error\n");
-- spin_unlock_irqrestore(&dev.lock, flags);
-- return n;
-- }
-+ n = msnd_fifo_read(&dev.DARF, page, k);
- spin_unlock_irqrestore(&dev.lock, flags);
-+ if (copy_to_user(buf, page, n)) {
-+ free_page((unsigned long)page);
-+ return -EFAULT;
-+ }
- buf += n;
- count -= n;
-
-+ if (n == k && count)
-+ continue;
-+
- if (!test_bit(F_READING, &dev.flags) && dev.mode & FMODE_READ) {
- dev.last_recbank = -1;
- if (chk_send_dsp_cmd(&dev, HDEX_RECORD_START) == 0)
- set_bit(F_READING, &dev.flags);
- }
-
-- if (dev.rec_ndelay)
-+ if (dev.rec_ndelay) {
-+ free_page((unsigned long)page);
- return count == len ? -EAGAIN : len - count;
-+ }
-
- if (count > 0) {
- set_bit(F_READBLOCK, &dev.flags);
-@@ -926,41 +931,57 @@ static int dsp_read(char *buf, size_t le
- get_rec_delay_jiffies(DAR_BUFF_SIZE)))
- clear_bit(F_READING, &dev.flags);
- clear_bit(F_READBLOCK, &dev.flags);
-- if (signal_pending(current))
-+ if (signal_pending(current)) {
-+ free_page((unsigned long)page);
- return -EINTR;
-+ }
- }
- }
--
-+ free_page((unsigned long)page);
- return len - count;
- }
-
- static int dsp_write(const char *buf, size_t len)
- {
- int count = len;
-+ char *page = (char *)__get_free_page(GFP_KERNEL);
-+
-+ if (!page)
-+ return -ENOMEM;
-
- while (count > 0) {
-- int n;
-+ int n, k;
- unsigned long flags;
-
-+ k = PAGE_SIZE;
-+ if (k > count)
-+ k = count;
-+
-+ if (copy_from_user(page, buf, k)) {
-+ free_page((unsigned long)page);
-+ return -EFAULT;
-+ }
-+
- /* Critical section: protect fifo in non-interrupt */
- spin_lock_irqsave(&dev.lock, flags);
-- if ((n = msnd_fifo_write(&dev.DAPF, buf, count, 1)) < 0) {
-- printk(KERN_WARNING LOGNAME ": FIFO write error\n");
-- spin_unlock_irqrestore(&dev.lock, flags);
-- return n;
-- }
-+ n = msnd_fifo_write(&dev.DAPF, page, k);
- spin_unlock_irqrestore(&dev.lock, flags);
- buf += n;
- count -= n;
-
-+ if (count && n == k)
-+ continue;
-+
- if (!test_bit(F_WRITING, &dev.flags) && (dev.mode & FMODE_WRITE)) {
- dev.last_playbank = -1;
- if (pack_DAPF_to_DAPQ(1) > 0)
- set_bit(F_WRITING, &dev.flags);
- }
-
-- if (dev.play_ndelay)
-+ if (dev.play_ndelay) {
-+ free_page((unsigned long)page);
- return count == len ? -EAGAIN : len - count;
-+ }
-
- if (count > 0) {
- set_bit(F_WRITEBLOCK, &dev.flags);
-@@ -968,11 +989,14 @@ static int dsp_write(const char *buf, si
- &dev.writeblock,
- get_play_delay_jiffies(DAP_BUFF_SIZE));
- clear_bit(F_WRITEBLOCK, &dev.flags);
-- if (signal_pending(current))
-+ if (signal_pending(current)) {
-+ free_page((unsigned long)page);
- return -EINTR;
-+ }
- }
- }
-
-+ free_page((unsigned long)page);
- return len - count;
- }
-
---- linux/drivers/sound/pss.c.bak Wed Jun 16 14:42:24 2004
-+++ linux/drivers/sound/pss.c Wed Jun 16 14:42:34 2004
-@@ -450,20 +450,36 @@ static void pss_mixer_reset(pss_confdata
- }
- }
-
--static void arg_to_volume_mono(unsigned int volume, int *aleft)
-+static int set_volume_mono(caddr_t p, int *aleft)
- {
- int left;
-+ unsigned volume;
-+ if (get_user(volume, (unsigned *)p))
-+ return -EFAULT;
-
-- left = volume & 0x00ff;
-+ left = volume & 0xff;
- if (left > 100)
- left = 100;
- *aleft = left;
-+ return 0;
- }
-
--static void arg_to_volume_stereo(unsigned int volume, int *aleft, int *aright)
-+static int set_volume_stereo(caddr_t p, int *aleft, int *aright)
- {
-- arg_to_volume_mono(volume, aleft);
-- arg_to_volume_mono(volume >> 8, aright);
-+ int left, right;
-+ unsigned volume;
-+ if (get_user(volume, (unsigned *)p))
-+ return -EFAULT;
-+
-+ left = volume & 0xff;
-+ if (left > 100)
-+ left = 100;
-+ right = (volume >> 8) & 0xff;
-+ if (right > 100)
-+ right = 100;
-+ *aleft = left;
-+ *aright = right;
-+ return 0;
- }
-
- static int ret_vol_mono(int left)
-@@ -510,33 +526,38 @@ static int pss_mixer_ioctl (int dev, uns
- return call_ad_mixer(devc, cmd, arg);
- else
- {
-- if (*(int *)arg != 0)
-+ int v;
-+ if (get_user(v, (int *)arg))
-+ return -EFAULT;
-+ if (v != 0)
- return -EINVAL;
- return 0;
- }
- case SOUND_MIXER_VOLUME:
-- arg_to_volume_stereo(*(unsigned int *)arg, &devc->mixer.volume_l,
-- &devc->mixer.volume_r);
-+ if (set_volume_stereo(arg,
-+ &devc->mixer.volume_l,
-+ &devc->mixer.volume_r))
-+ return -EFAULT;
- set_master_volume(devc, devc->mixer.volume_l,
- devc->mixer.volume_r);
- return ret_vol_stereo(devc->mixer.volume_l,
- devc->mixer.volume_r);
-
- case SOUND_MIXER_BASS:
-- arg_to_volume_mono(*(unsigned int *)arg,
-- &devc->mixer.bass);
-+ if (set_volume_mono(arg, &devc->mixer.bass))
-+ return -EFAULT;
- set_bass(devc, devc->mixer.bass);
- return ret_vol_mono(devc->mixer.bass);
-
- case SOUND_MIXER_TREBLE:
-- arg_to_volume_mono(*(unsigned int *)arg,
-- &devc->mixer.treble);
-+ if (set_volume_mono(arg, &devc->mixer.treble))
-+ return -EFAULT;
- set_treble(devc, devc->mixer.treble);
- return ret_vol_mono(devc->mixer.treble);
-
- case SOUND_MIXER_SYNTH:
-- arg_to_volume_mono(*(unsigned int *)arg,
-- &devc->mixer.synth);
-+ if (set_volume_mono(arg, &devc->mixer.synth))
-+ return -EFAULT;
- set_synth_volume(devc, devc->mixer.synth);
- return ret_vol_mono(devc->mixer.synth);
-
-@@ -546,54 +567,67 @@ static int pss_mixer_ioctl (int dev, uns
- }
- else
- {
-+ int val, and_mask = 0, or_mask = 0;
- /*
- * Return parameters
- */
- switch (cmdf)
- {
--
- case SOUND_MIXER_DEVMASK:
- if (call_ad_mixer(devc, cmd, arg) == -EINVAL)
-- *(int *)arg = 0; /* no mixer devices */
-- return (*(int *)arg |= SOUND_MASK_VOLUME | SOUND_MASK_BASS | SOUND_MASK_TREBLE | SOUND_MASK_SYNTH);
-+ break;
-+ and_mask = ~0;
-+ or_mask = SOUND_MASK_VOLUME | SOUND_MASK_BASS | SOUND_MASK_TREBLE | SOUND_MASK_SYNTH;
-+ break;
-
- case SOUND_MIXER_STEREODEVS:
- if (call_ad_mixer(devc, cmd, arg) == -EINVAL)
-- *(int *)arg = 0; /* no stereo devices */
-- return (*(int *)arg |= SOUND_MASK_VOLUME);
-+ break;
-+ and_mask = ~0;
-+ or_mask = SOUND_MASK_VOLUME;
-+ break;
-
- case SOUND_MIXER_RECMASK:
- if (devc->ad_mixer_dev != NO_WSS_MIXER)
- return call_ad_mixer(devc, cmd, arg);
-- else
-- return (*(int *)arg = 0); /* no record devices */
-+ break;
-
- case SOUND_MIXER_CAPS:
- if (devc->ad_mixer_dev != NO_WSS_MIXER)
- return call_ad_mixer(devc, cmd, arg);
-- else
-- return (*(int *)arg = SOUND_CAP_EXCL_INPUT);
-+ or_mask = SOUND_CAP_EXCL_INPUT;
-+ break;
-
- case SOUND_MIXER_RECSRC:
- if (devc->ad_mixer_dev != NO_WSS_MIXER)
- return call_ad_mixer(devc, cmd, arg);
-- else
-- return (*(int *)arg = 0); /* no record source */
-+ break;
-
- case SOUND_MIXER_VOLUME:
-- return (*(int *)arg = ret_vol_stereo(devc->mixer.volume_l, devc->mixer.volume_r));
-+ or_mask = ret_vol_stereo(devc->mixer.volume_l, devc->mixer.volume_r);
-+ break;
-
- case SOUND_MIXER_BASS:
-- return (*(int *)arg = ret_vol_mono(devc->mixer.bass));
-+ or_mask = ret_vol_mono(devc->mixer.bass);
-+ break;
-
- case SOUND_MIXER_TREBLE:
-- return (*(int *)arg = ret_vol_mono(devc->mixer.treble));
-+ or_mask = ret_vol_mono(devc->mixer.treble);
-+ break;
-
- case SOUND_MIXER_SYNTH:
-- return (*(int *)arg = ret_vol_mono(devc->mixer.synth));
-+ or_mask = ret_vol_mono(devc->mixer.synth);
-+ break;
- default:
- return -EINVAL;
- }
-+ if (get_user(val, (int *)arg))
-+ return -EFAULT;
-+ val &= and_mask;
-+ val |= or_mask;
-+ if (put_user(val, (int *)arg))
-+ return -EFAULT;
-+ return val;
- }
- }
-
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0535.patch b/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0535.patch
deleted file mode 100644
index 669fc5fd32fb..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.CAN-2004-0535.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- drivers/net/e1000/e1000_ethtool.c 2003-06-13 15:51:34.000000000 +0100
-+++ drivers/net/e1000/e1000_ethtool.c.plasmaroo 2004-06-24 11:23:32.524963976 +0100
-@@ -468,6 +468,9 @@
-
- if(copy_from_user(&regs, addr, sizeof(regs)))
- return -EFAULT;
-+ memset(regs_buff, 0, sizeof(regs_buff));
-+ if (regs.len > E1000_REGS_LEN)
-+ regs.len = E1000_REGS_LEN;
- e1000_ethtool_gregs(adapter, &regs, regs_buff);
- if(copy_to_user(addr, &regs, sizeof(regs)))
- return -EFAULT;
diff --git a/sys-kernel/xfs-sources/files/xfs-sources.FPULockup-53804.patch b/sys-kernel/xfs-sources/files/xfs-sources.FPULockup-53804.patch
deleted file mode 100644
index 1dd5ed87b520..000000000000
--- a/sys-kernel/xfs-sources/files/xfs-sources.FPULockup-53804.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- linux-2.4/include/asm-i386/i387.h 2004-06-13 20:06:05.044881328 +0100
-+++ linux-2.4/include/asm-i386/i387.h 2004-06-13 20:25:42.836829736 +0100
-@@ -34,7 +34,7 @@
-
- #define clear_fpu( tsk ) do { \
- if ( tsk->flags & PF_USEDFPU ) { \
-- asm volatile("fwait"); \
-+ asm volatile("fnclex ; fwait"); \
- tsk->flags &= ~PF_USEDFPU; \
- stts(); \
- } \
diff --git a/sys-kernel/xfs-sources/metadata.xml b/sys-kernel/xfs-sources/metadata.xml
deleted file mode 100644
index 39b483823d84..000000000000
--- a/sys-kernel/xfs-sources/metadata.xml
+++ /dev/null
@@ -1,14 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-
-<pkgmetadata>
- <herd>x86-kernel</herd>
- <maintainer>
- <email>x86-kernel@gentoo.org</email>
- <name>x86 kernel team</name>
- <description>Actively maintained</description>
- </maintainer>
- <longdescription>
- Gentoo Linux sources with XFS patches from SGI
- </longdescription>
-</pkgmetadata>
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r1.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24-r1.ebuild
deleted file mode 100644
index b522f3be3301..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r1.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24-r1.ebuild,v 1.3 2004/06/24 23:02:36 agriffis Exp $
-
-ETYPE="sources"
-
-inherit kernel
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}-r1.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc "
-SLOT="${KV}"
-
-src_unpack() {
-
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}-r1.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-
-}
-
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r2.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24-r2.ebuild
deleted file mode 100644
index 77b4f2231494..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24-r2.ebuild,v 1.3 2004/06/24 23:02:36 agriffis Exp $
-
-ETYPE="sources"
-
-inherit kernel eutils
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}-r1.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc "
-SLOT="${KV}"
-
-src_unpack() {
-
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}-r1.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
-
- epatch ${FILESDIR}/${P}.munmap.patch || die "munmap patch failed"
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-
-}
-
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r3.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24-r3.ebuild
deleted file mode 100644
index f92dfac0ebde..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r3.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24-r3.ebuild,v 1.3 2004/06/24 23:02:36 agriffis Exp $
-
-ETYPE="sources"
-
-inherit kernel eutils
-IUSE=""
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}-r3.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc "
-SLOT="${KV}"
-
-src_unpack() {
-
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}-r3.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
-
- epatch ${FILESDIR}/${P}.munmap.patch || die "munmap patch failed"
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-
-}
-
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r4.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24-r4.ebuild
deleted file mode 100644
index 556d151c5b7f..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r4.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24-r4.ebuild,v 1.2 2004/06/24 23:02:36 agriffis Exp $
-
-ETYPE="sources"
-
-inherit kernel eutils
-IUSE=""
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}-r3.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc"
-SLOT="${KV}"
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}-r3.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
- epatch ${FILESDIR}/${P}.munmap.patch || die "Failed to apply munmap!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Failed to patch CAN-2004-0109 vulnerability!"
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-}
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r5.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24-r5.ebuild
deleted file mode 100644
index 951690bf7f93..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r5.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24-r5.ebuild,v 1.2 2004/06/24 23:02:36 agriffis Exp $
-
-ETYPE="sources"
-
-inherit kernel eutils
-IUSE=""
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}-r3.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc"
-SLOT="${KV}"
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}-r3.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
- epatch ${FILESDIR}/${P}.munmap.patch || die "Failed to apply munmap!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0010.patch || die "Failed to add the CAN-2004-0010 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Failed to patch CAN-2004-0109 vulnerability!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0177.patch || die "Failed to add the CAN-2004-0177 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0178.patch || die "Failed to add the CAN-2004-0178 patch!"
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-}
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r6.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24-r6.ebuild
deleted file mode 100644
index ee628bf0da97..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r6.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24-r6.ebuild,v 1.2 2004/06/24 23:02:36 agriffis Exp $
-
-ETYPE="sources"
-
-inherit kernel eutils
-IUSE=""
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}-r3.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc"
-SLOT="${KV}"
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}-r3.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
- epatch ${FILESDIR}/${P}.munmap.patch || die "Failed to apply munmap!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0010.patch || die "Failed to add the CAN-2004-0010 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0075.patch || die "Failed to add the CAN-2004-0075 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Failed to add the CAN-2004-0109 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0133.patch || die "Failed to add the CAN-2004-0133 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0177.patch || die "Failed to add the CAN-2004-0177 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0178.patch || die "Failed to add the CAN-2004-0178 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0181.patch || die "Failed to add the CAN-2004-0181 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0394.patch || die "Failed to add the CAN-2004-0394 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0427.patch || die "Failed to add the CAN-2004-0427 patch!"
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-}
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r7.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24-r7.ebuild
deleted file mode 100644
index bc35d308aea7..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r7.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24-r7.ebuild,v 1.2 2004/06/24 23:02:36 agriffis Exp $
-
-ETYPE="sources"
-
-inherit kernel eutils
-IUSE=""
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}-r3.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc"
-SLOT="${KV}"
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}-r3.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
- epatch ${FILESDIR}/${P}.munmap.patch || die "Failed to apply munmap!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0010.patch || die "Failed to add the CAN-2004-0010 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0075.patch || die "Failed to add the CAN-2004-0075 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Failed to add the CAN-2004-0109 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0133.patch || die "Failed to add the CAN-2004-0133 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0177.patch || die "Failed to add the CAN-2004-0177 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0178.patch || die "Failed to add the CAN-2004-0178 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0181.patch || die "Failed to add the CAN-2004-0181 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0394.patch || die "Failed to add the CAN-2004-0394 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0427.patch || die "Failed to add the CAN-2004-0427 patch!"
- epatch ${FILESDIR}/${PN}.FPULockup-53804.patch || die "Failed to apply FPU-lockup patch!"
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-}
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r8.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24-r8.ebuild
deleted file mode 100644
index db45e2aa17b0..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24-r8.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24-r8.ebuild,v 1.1 2004/06/25 22:08:16 plasmaroo Exp $
-
-ETYPE="sources"
-
-inherit kernel eutils
-IUSE=""
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}-r3.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc"
-SLOT="${KV}"
-
-src_unpack() {
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}-r3.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
- epatch ${FILESDIR}/${P}.munmap.patch || die "Failed to apply munmap!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0010.patch || die "Failed to add the CAN-2004-0010 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0075.patch || die "Failed to add the CAN-2004-0075 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Failed to add the CAN-2004-0109 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0133.patch || die "Failed to add the CAN-2004-0133 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0177.patch || die "Failed to add the CAN-2004-0177 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0178.patch || die "Failed to add the CAN-2004-0178 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0181.patch || die "Failed to add the CAN-2004-0181 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0394.patch || die "Failed to add the CAN-2004-0394 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0427.patch || die "Failed to add the CAN-2004-0427 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0495.patch || die "Failed to add the CAN-2004-0495 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0535.patch || die "Failed to add the CAN-2004-0535 patch!"
- epatch ${FILESDIR}/${PN}.FPULockup-53804.patch || die "Failed to apply FPU-lockup patch!"
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-}
diff --git a/sys-kernel/xfs-sources/xfs-sources-2.4.24.ebuild b/sys-kernel/xfs-sources/xfs-sources-2.4.24.ebuild
deleted file mode 100644
index a6b05a3d411e..000000000000
--- a/sys-kernel/xfs-sources/xfs-sources-2.4.24.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/xfs-sources/xfs-sources-2.4.24.ebuild,v 1.3 2004/06/24 23:02:36 agriffis Exp $
-
-ETYPE="sources"
-
-inherit kernel
-OKV="`echo ${PV}|sed -e 's:^\([0-9]\+\.[0-9]\+\.[0-9]\+\).*:\1:'`"
-EXTRAVERSION="-${PN/-*/}-${PR}"
-KV=${OKV}${EXTRAVERSION}
-
-S=${WORKDIR}/linux-${KV}
-
-# Documentation on the patches contained in this kernel will be installed
-# to /usr/share/doc/xfs-sources-${PV}/patches.txt.gz
-
-DESCRIPTION="Full sources for the XFS Specialized Gentoo Linux kernel"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- http://dev.gentoo.org/~scox/kernels/v2.4/xfs-sources-${PV}.patch.bz2"
-
-KEYWORDS="x86 -ppc -sparc "
-SLOT="${KV}"
-
-src_unpack() {
-
- unpack ${A}
- mv linux-${OKV} linux-${KV} || die
-
- cd linux-${KV}
-
- bzcat ${DISTDIR}/xfs-sources-${PV}.patch.bz2 | patch -p1 \
- || die "Failed to patch kernel"
-
- cd ${S}
-
- make mrproper || die "make mrproper failed"
- kernel_universal_unpack
-
-}
-