From 8eca88e3e329834b77eebc3f58752bcf91cc6291 Mon Sep 17 00:00:00 2001 From: Daniel Drake Date: Sun, 18 Feb 2007 03:21:47 +0000 Subject: [PATCH] removing all openmosix packages: unmaintained downstream with open security bugs, upstream mostly dead --- sys-kernel/openmosix-sources/ChangeLog | 594 ---------------- sys-kernel/openmosix-sources/Manifest | 114 --- .../files/cmdline-proc-fix.patch | 11 - .../files/digest-openmosix-sources-2.4.24-r10 | 5 - .../files/digest-openmosix-sources-2.4.26-r1 | 2 - .../files/digest-openmosix-sources-2.4.30-r3 | 2 - .../files/digest-openmosix-sources-2.4.32 | 6 - .../files/digest-openmosix-sources-2.6.12.577 | 4 - .../openmosix-sources-2.4.24-smbfs.patch | 80 --- .../openmosix-sources-2.4.27-smbfs.patch | 97 --- .../files/openmosix-sources-af_unix.patch | 24 - .../files/openmosix-sources-binfmt_aout.patch | 67 -- .../files/openmosix-sources-binfmt_elf.patch | 85 --- .../files/openmosix-sources-dn_neigh.patch | 10 - .../openmosix-sources-extraversion.patch | 11 - .../files/openmosix-sources-moxa_random.patch | 33 - .../files/openmosix-sources-vma.patch | 246 ------- .../openmosix-sources.CAN-2003-0985.patch | 13 - .../openmosix-sources.CAN-2004-0001.patch | 29 - .../openmosix-sources.CAN-2004-0010.patch | 200 ------ .../openmosix-sources.CAN-2004-0109.patch | 87 --- .../openmosix-sources.CAN-2004-0177.patch | 10 - .../openmosix-sources.CAN-2004-0178.patch | 11 - .../openmosix-sources.CAN-2004-0181.patch | 38 - .../openmosix-sources.CAN-2004-0495.patch | 655 ------------------ .../openmosix-sources.CAN-2004-0497.patch | 23 - .../openmosix-sources.CAN-2004-0535.patch | 12 - .../openmosix-sources.CAN-2004-0685.patch | 83 --- ...urces.CAN-2004-0841-fix_ldisc_switch.patch | 34 - .../openmosix-sources.CAN-2004-1016.patch | 75 -- .../openmosix-sources.CAN-2004-1056.patch | 321 --------- .../openmosix-sources.CAN-2004-1137.patch | 59 -- .../openmosix-sources.CAN-2004-1235.patch | 247 ------- sys-kernel/openmosix-sources/metadata.xml | 10 - .../openmosix-sources-2.4.24-r10.ebuild | 86 --- .../openmosix-sources-2.4.26-r1.ebuild | 39 -- .../openmosix-sources-2.4.30-r3.ebuild | 42 -- .../openmosix-sources-2.4.32.ebuild | 42 -- .../openmosix-sources-2.6.12.577.ebuild | 58 -- 39 files changed, 3565 deletions(-) delete mode 100644 sys-kernel/openmosix-sources/ChangeLog delete mode 100644 sys-kernel/openmosix-sources/Manifest delete mode 100644 sys-kernel/openmosix-sources/files/cmdline-proc-fix.patch delete mode 100644 sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r10 delete mode 100644 sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.26-r1 delete mode 100644 sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.30-r3 delete mode 100644 sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.32 delete mode 100644 sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.6.12.577 delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-2.4.24-smbfs.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-2.4.27-smbfs.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-af_unix.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-binfmt_aout.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-binfmt_elf.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-dn_neigh.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-extraversion.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-moxa_random.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources-vma.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2003-0985.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0001.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0010.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0109.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0177.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0178.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0181.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0495.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0497.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0535.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0685.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1016.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1056.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1137.patch delete mode 100644 sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1235.patch delete mode 100644 sys-kernel/openmosix-sources/metadata.xml delete mode 100644 sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r10.ebuild delete mode 100644 sys-kernel/openmosix-sources/openmosix-sources-2.4.26-r1.ebuild delete mode 100644 sys-kernel/openmosix-sources/openmosix-sources-2.4.30-r3.ebuild delete mode 100644 sys-kernel/openmosix-sources/openmosix-sources-2.4.32.ebuild delete mode 100644 sys-kernel/openmosix-sources/openmosix-sources-2.6.12.577.ebuild diff --git a/sys-kernel/openmosix-sources/ChangeLog b/sys-kernel/openmosix-sources/ChangeLog deleted file mode 100644 index 1ab0fae8bd8a..000000000000 --- a/sys-kernel/openmosix-sources/ChangeLog +++ /dev/null @@ -1,594 +0,0 @@ -# ChangeLog for sys-kernel/openmosix-sources -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/ChangeLog,v 1.95 2006/04/17 21:28:20 voxus Exp $ - -*openmosix-sources-2.4.32 (17 Apr 2006) - - 17 Apr 2006; Konstantin Arkhipov - +openmosix-sources-2.4.32.ebuild: - Bump. - -*openmosix-sources-2.6.12.577 (03 Aug 2005) - - 03 Aug 2005; Konstantin Arkhipov - -openmosix-sources-2.6.12.576-r1.ebuild, - +openmosix-sources-2.6.12.577.ebuild: - Sync with tab's patchset and gentoo-sources-2.6.12-r7. - -*openmosix-sources-2.6.12.576-r1 (18 Jul 2005) - - 18 Jul 2005; Konstantin Arkhipov - -openmosix-sources-2.6.12.576.ebuild, - +openmosix-sources-2.6.12.576-r1.ebuild: - Sync with gentoo-sources-2.6.12-r6. - -*openmosix-sources-2.6.12.576 (14 Jul 2005) -*openmosix-sources-2.4.26-r1 (14 Jul 2005) - - 14 Jul 2005; Konstantin Arkhipov - -openmosix-sources-2.6.11.570.ebuild, - -openmosix-sources-2.6.11.570-r1.ebuild, - +openmosix-sources-2.6.12.576.ebuild, - +openmosix-sources-2.4.26-r1.ebuild, openmosix-sources-2.4.24-r10.ebuild: - Version bump on 2.6 series and restored official patchset. - - 14 Jul 2005; Konstantin Arkhipov - -openmosix-sources-2.4.30-r2.ebuild, openmosix-sources-2.4.30-r3.ebuild: - Stabilization of 2.4.30-r3. - -*openmosix-2.6.11.570-r1 (02 Jul 2005) - - 02 Jul 2005; Konstantin Arkhipov - +openmosix-sources-2.6.11.570-r1.ebuild: - Version bump. - -*openmosix-2.6.11.570 (16 May 2005) - - 16 May 2005; Konstantin Arkhipov - -openmosix-sources-2.6.11.564-r1.ebuild, - +openmosix-sources-2.6.11.570.ebuild: - Version bump. - -*openmosix-2.6.11.564-r1 (11 May 2005) - - 11 May 2005; Konstantin Arkhipov - -openmosix-sources-2.6.11.564.ebuild, - +openmosix-sources-2.6.11.564-r1.ebuild: - Bump of gentoo's patchset. - - 10 May 2005; Konstantin Arkhipov - -openmosix-sources-2.4.30-r1.ebuild, - +openmosix-sources-2.4.30-r2.ebuild: - Version bump. - - 07 May 2005; Konstantin Arkhipov - -openmosix-sources-2.4.28-r5.ebuild, - openmosix-sources-2.4.30-r1: - Stabilized 2.4.30 due to security bug #81195. - -*openmosix-sources-2.4.30-r1 (04 May 2005) - - 04 May 2005; Konstantin Arkhipov - -openmosix-sources-2.4.30.ebuild, - +openmosix-sources-2.4.30-r1.ebuild: - Fixed compilation issue, whel aout and/or elf configured as modules. - Thanks to Wim Vandersmissen for pointing that. - -*openmosix-sources-2.6.11.564 (15 Apr 2005) - - 15 Apr 2005; Konstantin Arkhipov - +openmosix-sources-2.6.11.564.ebuild: - Shiny new 2.6 oM's release. Userland tools is still missing. - Based on gentoo-sources-2.6.11-r6. - -*openmosix-sources-2.4.30 (12 Apr 2005) - - 12 Apr 2005; Konstantin Arkhipov - +openmosix-sources-2.4.30.ebuild: - Version bump. Now w/o MFS and DFSA. - - 14 Feb 2005; Konstantin Arkhipov : - +openmosix-sources-2.4.24-r10.ebuild, - +files/cmdline-proc-fix.patch, - +files/digest-openmosix-sources-2.4.24-r10, - +files/openmosix-sources-2.4.24-smbfs.patch, - +files/openmosix-sources-2.4.27-smbfs.patch, - +files/openmosix-sources-af_unix.patch, - +files/openmosix-sources-binfmt_elf.patch, - +files/openmosix-sources.CAN-2003-0985.patch, - +files/openmosix-sources.CAN-2004-0001.patch, - +files/openmosix-sources.CAN-2004-0010.patch, - +files/openmosix-sources.CAN-2004-0109.patch, - +files/openmosix-sources.CAN-2004-0177.patch, - +files/openmosix-sources.CAN-2004-0178.patch, - +files/openmosix-sources.CAN-2004-0181.patch, - +files/openmosix-sources.CAN-2004-0495.patch, - +files/openmosix-sources.CAN-2004-0497.patch, - +files/openmosix-sources.CAN-2004-0535.patch, - +files/openmosix-sources.CAN-2004-0685.patch, - +files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch: - Reverting back .24-sources due to bug #76753, -* masked. - - 17 Jan 2005; Konstantin Arkhipov : - -openmosix-sources-2.4.28-r4.ebuild, - openmosix-sources-2.4.28-r5.ebuild: - Unmasking latest version. - -*openmosix-sources-2.4.28-r5 (10 Jan 2005) - - 10 Jan 2005; Konstantin Arkhipov : - -openmosix-sources-2.4.28-r2.ebuild, - openmosix-sources-2.4.28-r4.ebuild, - +openmosix-sources-2.4.28-r5.ebuild: - Security patches, closing bugs #77094 and #77025. - Version bump also. - -*openmosix-sources-2.4.28-r4 (27 Dec 2004) - - 27 Dec 2004; Konstantin Arkhipov : - +files/openmosix-sources.CAN-2004-1137.patch, - -openmosix-sources-2.4.28-r3.ebuild, - +openmosix-sources-2.4.28-r4.ebuild: - Yet another security patch, closing bug #74384. - -*openmosix-sources-2.4.28-r3 (27 Dec 2004) - - 27 Dec 2004; Konstantin Arkhipov : - +files/openmosix-sources.CAN-2004-1016.patch, - +files/openmosix-sources.CAN-2004-1056.patch, - +files/openmosix-sources-vma.patch, - +openmosix-sources-2.4.28-r3.ebuild: - Security patches, closing bugs #74392, #72452, #74464. - - 09 Dec 2004; Konstantin Arkhipov : - -openmosix-sources-2.4.24-r10.ebuild, - -files/cmdline-proc-fix.patch, - -files/digest-openmosix-sources-2.4.24-r10, - -files/openmosix-sources-2.4.24-smbfs.patch, - -files/openmosix-sources-2.4.27-smbfs.patch, - -files/openmosix-sources-af_unix.patch, - -files/openmosix-sources-binfmt_elf.patch, - -files/openmosix-sources.CAN-2003-0985.patch, - -files/openmosix-sources.CAN-2004-0001.patch, - -files/openmosix-sources.CAN-2004-0010.patch, - -files/openmosix-sources.CAN-2004-0109.patch, - -files/openmosix-sources.CAN-2004-0177.patch, - -files/openmosix-sources.CAN-2004-0178.patch, - -files/openmosix-sources.CAN-2004-0181.patch, - -files/openmosix-sources.CAN-2004-0495.patch, - -files/openmosix-sources.CAN-2004-0497.patch, - -files/openmosix-sources.CAN-2004-0535.patch, - -files/openmosix-sources.CAN-2004-0685.patch, - -files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch: - Dropped <=2.4.28 sources and all that patches. - .28-r2 goes finally stable x86. - -*openmosix-sources-2.4.28-r2 (08 Dec 2004) - - 08 Dec 2004; Konstantin Arkhipov : - +files/openmosix-sources-dn_neigh.patch, - +openmosix-sources-2.4.28-r2.ebuild, - -openmosix-sources-2.4.28-r1.ebuild: - Fixed compile issue (not oM-related), closing #73696. - -*openmosix-sources-2.4.28-r1 (06 Dec 2004) - - 06 Dec 2004; Konstantin Arkhipov : - files/openmosix-sources-binfmt_aout.patch, - -openmosix-sources-2.4.28.ebuild, - +openmosix-sources-2.4.28-r1.ebuild: - Updated aout patch and fixed compilation issue with binfmt_aout as module. - Closes bug #73503. - -*openmosix-sources-2.4.28 (04 Dec 2004) -*openmosix-sources-2.4.24-r10 (04 Dec 2004) - - 04 Dec 2004; Konstantin Arkhipov : - +files/openmosix-sources-binfmt_aout.patch, - +openmosix-sources-2.4.28.ebuild, - -openmosix-sources-2.4.24-r9.ebuild: - Version bump for migshm patchset, preparing to drop old .24 sources. - -*openmosix-sources-2.4.24-r10 (02 Dec 2004) -*openmosix-sources-2.4.27-r7 (02 Dec 2004) - - 02 Dec 2004; Konstantin Arkhipov : - +files/openmosix-sources-af_unix.patch, - -openmosix-sources-2.4.27-r6.ebuild, - +openmosix-sources-2.4.24-r10.ebuild, - +openmosix-sources-2.4.27-r7.ebuild: - Fixed af_unix vulnerability, closing #72317. - -*openmosix-sources-2.4.24-r9 (27 Nov 2004) -*openmosix-sources-2.4.27-r6 (27 Nov 2004) - - 27 Nov 2004; Konstantin Arkhipov : - files/openmosix-sources-binfmt_elf.patch, - -openmosix-sources-2.4.24-r8.ebuild, - -openmosix-sources-2.4.27-r5.ebuild, - +openmosix-sources-2.4.24-r9.ebuild, - +openmosix-sources-2.4.27-r6.ebuild: - Updated binfmt_elf.patch, .24-r9 goes stable. - -*openmosix-sources-2.4.24-r8 (25 Nov 2004) -*openmosix-sources-2.4.27-r5 (25 Nov 2004) - - 25 Nov 2004; Konstantin Arkhipov : - +files/openmosix-sources-2.4.24-smbfs.patch, - +files/openmosix-sources-2.4.27-smbfs.patch, - -openmosix-sources-2.4.27-r4.ebuild, - +openmosix-sources-2.4.27-r5.ebuild, - +openmosix-sources-2.4.24-r8.ebuild: - Fixed smbfs vulnerability, closing #65877. - -*openmosix-sources-2.4.24-r7 (16 Nov 2004) - - 16 Nov 2004; Konstantin Arkhipov : - -openmosix-sources-2.4.24-r5.ebuild, - -openmosix-sources-2.4.24-r6.ebuild, - +openmosix-sources-2.4.24-r7.ebuild, - +openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch: - Added small fix for CAN-2004-0841' patch, closing bug #71266. - Unmasked .24-r7 due to security patches. - -*openmosix-sources-2.4.24-r6 (15 Nov 2004) -*openmosix-sources-2.4.27-r4 (15 Nov 2004) - - 15 Nov 2004; Konstantin Arkhipov : - -openmosix-sources-2.4.27-r3.ebuild, - +openmosix-sources-2.4.27-r4.ebuild, - +openmosix-sources-2.4.24-r6.ebuild: - Security patch for binfmt_elf, closing bug #70681. - - 12 Nov 2004; Konstantin Arkhipov : - -openmosix-sources-2.4.24-r4.ebuild: - Unmasked .24-r5 due to recent security patch, old version removed. - QA fixes (sed in global scope). - -*openmosix-sources-2.4.24-r5 (10 Nov 2004) -*openmosix-sources-2.4.27-r3 (10 Nov 2004) - - 10 Nov 2004; Konstantin Arkhipov - -openmosix-sources-2.4.27-r2.ebuild, - +openmosix-sources-2.4.27-r3.ebuild, - +openmosix-sources-2.4.24-r5.ebuild: - Version bump for .24 and fixed security problems, - described in bug #68421 and #62524. - -*openmosix-sources-2.4.27-r2 (14 Sep 2004) - - 14 Sep 2004; Konstantin Arkhipov - -openmosix-sources-2.4.27-r1, - +openmosix-sources-2.4.27-r2: - Fix for non-dfsa users. - -*openmosix-sources-2.4.27-r1 (07 Sep 2004) - - 07 Sep 2004; Konstantin Arkhipov - +openmosix-sources-2.4.27-r1, - -openmosix-sources-2.4.27: - Version bump. - - 23 Aug 2004; Konstantin Arkhipov - openmosix-sources-2.4.27: - Added words about migshm to ebuild's description, - closes bug #61245. - Thanks to Guttorm Flatabo . - - 22 Aug 2004; Konstantin Arkhipov - -openmosix-sources-2.4.24-r3: - 2.4.24-r4 unmasked on x86. - -*openmosix-sources-2.4.24-r4 (10 Aug 2004) - - 10 Aug 2004; Konstantin Arkhipov - -openmosix-sources-2.4.24-r2, - +openmosix-sources-2.4.24-r4, - +files/cmdline-proc-fix.patch: - Security fix, closing bug #59905. - .24-r3 unmasked, .24-r4 is in ~x86 for now. - -*openmosix-sources-2.4.24-r3 (09 Aug 2004) - - 09 Aug 2004; Konstantin Arkhipov - +openmosix-sources-2.4.24-r3, - +files/openmosix-sources.CAN-2004-0685.patch: - USB leaks patch, closing bug #59769. - -*openmosix-sources-2.4.27 (08 Aug 2004) - - 08 Aug 2004; Konstantin Arkhipov - -openmosix-sources-2.4.26-r5, - +openmosix-sources-2.4.27: - Bump. - -*openmosix-sources-2.4.24-r2 (06 Aug 2004) - - 06 Aug 2004; Konstantin Arkhipov - openmosix-sources-2.4.24-r2: - Marking stable on x86 due to security patches. - -*openmosix-sources-2.4.24-r2 (05 Aug 2004) - - 05 Aug 2004; Konstantin Arkhipov - -files/openmosix-sources-2.4.20.munmap.patch, - -files/openmosix-sources-2.4.20.rtc_fix.patch, - -files/openmosix-sources-2.4.22.crypto_fix.patch, - -files/openmosix-sources-2.4.22.pipe_bug.patch, - -files/openmosix-sources-2.4.22.rtc_fix.patch, - -files/openmosix-sources-2.4.22.signal_fix.patch, - -files/openmosix-sources.CAN-2004-0394.patch, - -files/openmosix-sources.CAN-2004-0427.patch, - -files/do_brk_fix.patch, - -openmosix-sources-2.4.22-r11.ebuild, - -openmosix-sources-2.4.24-r1.ebuild, - +openmosix-sources-2.4.24-r2.ebuild: - Security update, closes bug #59378. - .22 tree finally dropped. - -*openmosix-sources-2.4.26-r5 (22 Jul 2004) - - 22 Jul 2004; Konstantin Arkhipov - +openmosix-sources-2.4.26-r5, - -openmosix-sources-2.4.26-r4: - Bump, just version bump. - -*openmosix-sources-2.4.26-r4 (15 Jul 2004) - - 15 Jul 2004; Konstantin Arkhipov - +openmosix-sources-2.4.26-r4.ebuild, - -openmosix-sources-2.4.26.ebuild, - -openmosix-sources-2.4.26-r1.ebuild, - -openmosix-sources-2.4.26-r2.ebuild, - -openmosix-sources-2.4.26-r3.ebuild: - Bump to latest patchset version (probably last for - .26 kernels), cleaned out old ebuilds. - -*openmosix-sources-2.4.24-r1 (10 Jul 2004) - - 10 Jul 2004; Konstantin Arkhipov - +openmosix-sources-2.4.24-r1.ebuild, - -openmosix-sources-2.4.24.ebuild, - -openmosix-sources-2.4.21-r3.ebuild, - -openmosix-sources-2.4.20-r8.ebuild: - Security update (#56479). - Dropped outdated .20 and .21 sources, so migshm - exists now only in .26 series. - -*openmosix-sources-2.4.22-r11 (10 Jul 2004) - - 10 Jul 2004; Konstantin Arkhipov - +files/openmosix-sources.CAN-2004-0497.patch, - -openmosix-sources-2.4.22-r9.ebuild, - -openmosix-sources-2.4.22-r10.ebuild, - +openmosix-sources-2.4.22-r11.ebuild: - Security update, closing #56479 (for cluster herd). - -*openmosix-sources-2.4.22-r10 (06 Jul 2004) -*openmosix-sources-2.4.24 (06 Jul 2004) -*openmosix-sources-2.4.26-r3 (06 Jul 2004) - - 06 Jul 2004; Konstantin Arkhipov - +openmosix-sources-2.4.24, - +openmosix-sources-2.4.26-r3: - Version bump. - Also .22-r10 unmasked (security fixes). - -*openmosix-sources-2.4.22-r10 (29 Jun 2004) - - 29 Jun 2004; Konstantin Arkhipov - +files/openmosix-sources.CAN-2004-0495.patch, - +files/openmosix-sources.CAN-2004-0535.patch, - +files/openmosix-sources-2.4.22-r10.ebuild: - Security update (#54976). - -*openmosix-sources-2.4.26-r2 (28 Jun 2004) - - 28 Jun 2004; Konstantin V. Arkhipov - +openmosix-sources-2.4.26-r2: - Preparing to switch between patchsets (tab -> voxus). - -*openmosix-sources-2.4.26-r1 (28 Jun 2004) - - 28 Jun 2004; Konstantin Arkhipov - +openmosix-sources-2.4.26-r1: - Version bump. - - 23 Jun 2004; Aron Griffis - openmosix-sources-2.4.20-r8.ebuild, openmosix-sources-2.4.21-r3.ebuild: - QA - fix use invocation - -*openmosix-sources-2.4.22-r8 (17 Jun 2004) -*openmosix-sources-2.4.22-r9 (17 Jun 2004) - - 17 Jun 2004; Konstantin Arkhipov - openmosix-sources-2.4.22-r8, - openmosix-sources-2.4.22-r9: - Unmasking due to security patches (-r8) and pipe-bug fix (-r9). - -*openmosix-sources-2.4.22-r9 (16 Jun 2004) - - 16 Jun 2004; Konstantin Arkhipov - +files/openmosix-sources-2.4.22.pipe_bug.patch, - +openmosix-sources-2.4.22-r9.ebuild: - Pipe-bug and #53969 fixed. - -*openmosix-sources-2.4.22-r7 (14 Jun 2004) -*openmosix-sources-2.4.22-r8 (14 Jun 2004) - - 14 Jun 2004; Konstantin Arkhipov - +files/openmosix-sources-2.4.22.signal_fix.patch, - +openmosix-sources-2.4.22-r8.ebuild: - Security update: added patch for clear_fpu macro (#53804). - - openmosix-sources-2.4.22-r7.ebuild: - Unmasked. - - 08 Jun 2004; Konstantin Arkhipov - +files/openmosix-sources.CAN-2004-0001.patch, - +files/openmosix-sources.CAN-2004-0181.patch, - +files/openmosix-sources.CAN-2004-0394.patch, - +files/openmosix-sources.CAN-2004-0427.patch, - +openmosix-sources-2.4.22-r7.ebuild: - Security update: added patches for CAN-2004-0001, CAN-2004-0181, - CAN-2004-0394 and CAN-2004-0427. - - 27 Apr 2004; Aron Griffis - openmosix-sources-2.4.20-r8.ebuild, openmosix-sources-2.4.21-r3.ebuild, - openmosix-sources-2.4.22-r6.ebuild: - Add inherit eutils - -*openmosix-sources-2.4.26 (21 Apr 2004) - - 21 Apr 2004; Michael Imhof openmosix-sources-2.4.25-r3.ebuild, - openmosix-sources-2.4.26.ebuild: - Version bumped. Cleaned out old ebuild. Closes #48479. - -*openmosix-sources-2.4.25-r3 (18 Apr 2004) -*openmosix-sources-2.4.22-r6 (18 Apr 2004) - - 18 Apr 2004; - +files/openmosix-sources.CAN-2004-0010.patch, - +files/openmosix-sources.CAN-2004-0109.patch, - +files/openmosix-sources.CAN-2004-0177.patch, - +files/openmosix-sources.CAN-2004-0178.patch, - -openmosix-sources-2.4.22-r4.ebuild, -openmosix-sources-2.4.22-r5.ebuild, - +openmosix-sources-2.4.22-r6.ebuild, -openmosix-sources-2.4.25-r2.ebuild, - +openmosix-sources-2.4.25-r3.ebuild: - Added patches for the CAN-2004-0010, CAN-2004-0177 and CAN-2004-0178 - vulnerabilities. - - 12 Apr 2004; Daniel Ahlberg - openmosix-sources-2.4.22-r4.ebuild: - Add eutils to inherit, add IUSE= - -*openmosix-sources-2.4.22-r5 (30 Mar 2004) - - 30 Mar 2004; Michael Imhof openmosix-sources-2.4.22-r4.ebuild, - openmosix-sources-2.4.22-r5.ebuild: - Version bumped. - -*openmosix-sources-2.4.25-r2 (21 Mar 2004) - - 21 Mar 2004; Michael Imhof openmosix-sources-2.4.25-r1.ebuild, - openmosix-sources-2.4.25-r2.ebuild: - Version bumped. Cleaned out old ebuilds. Cleaned up the new ebuild. - Closes #45282. - -*openmosix-sources-2.4.25-r1 (07 Mar 2004) - - 07 Mar 2004; openmosix-sources-2.4.25-r1.ebuild, - openmosix-sources-2.4.25.ebuild: - Updated tab's 2.4.25 patchset to 20040229; removed the old version. - -*openmosix-sources-2.4.25 (18 Feb 2004) -*openmosix-sources-2.4.22-r4 (18 Feb 2004) - - 18 Feb 2004; openmosix-sources-2.4.20-r7.ebuild, - openmosix-sources-2.4.20-r8.ebuild, openmosix-sources-2.4.21-r2.ebuild, - openmosix-sources-2.4.21-r3.ebuild, openmosix-sources-2.4.22-r3.ebuild, - openmosix-sources-2.4.22-r4.ebuild, openmosix-sources-2.4.24.ebuild, - openmosix-sources-2.4.25.ebuild, - files/openmosix-sources-2.4.20.munmap.patch: - Version bumped each version to one with the mremap/munmap vulnerability patch, - and removed vulnerable releases. Bug #42024. - - 10 Jan 2004; Michael Imhof openmosix-sources-2.4.22-r3.ebuild, - files/openmosix-sources-2.4.22.crypto_fix.patch: - Added a patch to enable the crypto api. Closes #37534. - -*openmosix-sources-2.4.21-r2 (06 Jan 2004) - - 06 Jan 2004; openmosix-sources-2.4.20-r6.ebuild, - openmosix-sources-2.4.20-r7.ebuild, openmosix-sources-2.4.21-r1.ebuild, - openmosix-sources-2.4.21-r2.ebuild, openmosix-sources-2.4.21.ebuild, - openmosix-sources-2.4.22-r2.ebuild, openmosix-sources-2.4.22-r3.ebuild, - files/openmosix-sources-2.4.20.rtc_fix.patch, - files/openmosix-sources-2.4.22.rtc_fix.patch, - files/openmosix-sources.CAN-2003-0985.patch: - Added patches to address the security vulnerabilities in bugs #37292 and - #37317. Unpatched revisions were removed. - -*openmosix-sources-2.4.21-r1 (27 Dec 2003) - - 27 Dec 2003; Michael Imhof openmosix-sources-2.4.21-r1.ebuild, - openmosix-sources-2.4.22-r1.ebuild, openmosix-sources-2.4.22.ebuild: - Cleaned out old ebuilds. - - 27 Dec 2003; Michael Imhof openmosix-sources-2.4.21-r1.ebuild: - Added new version with migshm-patch. Closes #32312. - - 02 Dec 2003; Brian Jackson files/do_brk_fix.patch: - Fix the 'do_brk' patch as it wasn't applying correctly. - -*openmosix-sources-2.4.22-r2 (02 Dec 2003) - - 02 Dec 2003; Michael Imhof - openmosix-sources-2.4.22-r2.ebuild: - Version bumped. Now using the openmosix-2.4.22-2 patch. - -*openmosix-sources-2.4.22-r1 (02 Dec 2003) - - 02 Dec 2003; Brian Jackson - openmosix-sources-2.4.22-r1.ebuild: - Version bump for the 'do_brk' vulnerability. - -*openmosix-sources-2.4.20-r6 (01 Dec 2003) - - 01 Dec 2003; Brian Jackson - openmosix-sources-2.4.20-r6.ebuild, openmosix-sources-2.4.21.ebuild, - openmosix-sources-2.4.22.ebuild, files/do_brk_fix.patch: - Fix 'do_brk' vulnerability. - - 20 Nov 2003; Brandon Low - openmosix-sources-2.4.22.ebuild: - Move version handling logic to after inherit kernel, or insert it where - necessary. - - 27 Sep 2003; Michael Imhof openmosix-sources-2.4.21.ebuild: - Unmasked. - -*openmosix-sources-2.6.0_beta3 (09 Sep 2003) - - 09 Sep 2003; Michael Imhof openmosix-sources-2.6.0_beta3.ebuild: - Deleted, should close #28107. - -*openmosix-sources-2.4.22 (07 Sep 2003) - - 07 Sep 2003; Michael Imhof - Version bumped, including vanilla sources and openmosix-2.4.22-1. - -*openmosix-sources-2.4.21 (22 Jun 2003) - - 22 Jun 2003; Michael Imhof - Version bumped, including vanilla sources and openmosix-2.4.21-1. - -*openmosix-sources-2.4.20-r5 (09 Jun 2003) - - 09 Jun 2003; Michael Imhof - Version bumped, including vanilla sources and openmosix-2.4.20-3. - -*openmosix-sources-2.4.20-r4 (27 Apr 2003) - - 27 Apr 2003; Michael Imhof - Added 2.4.20-ptrace.patch - -*openmosix-sources-2.4.20-r3 (18 Apr 2003) - - 18 Apr 2003; Michael Imhof - Version bumped, including vanilla sources and openmosix-2.4.20-2. - -*openmosix-sources-2.4.20-r2 (26 Jan 2003) - - 26 Jan 2003; Michael Imhof - Fixed bug #14286. - -*openmosix-sources-2.4.20-r1 (20 Dec 2002) - - 20 Dec 2002; Michael Imhof - Version bumped: Including openmosix-2.4.20-1 and EVMS 1.2.1. - - 17 Dec 2002; Brandon Low : - Make all kernel-sources SLOT="${KV}" - - 06 Dec 2002; Rodney Rees : Changed sparc ~sparc keywords. diff --git a/sys-kernel/openmosix-sources/Manifest b/sys-kernel/openmosix-sources/Manifest deleted file mode 100644 index a93db3a35f79..000000000000 --- a/sys-kernel/openmosix-sources/Manifest +++ /dev/null @@ -1,114 +0,0 @@ -MD5 9a7ab904512383839162ee674e13adb8 ChangeLog 21131 -RMD160 94b8150009f6819a1cccf8b39a0b5ba6c2ad2339 ChangeLog 21131 -SHA256 1770fcc6c41ab2956c7be2aea37aa889ff8bfb178d4482ef03c6bb4c3ea7f271 ChangeLog 21131 -MD5 d1ccc2047be533c992f67270a150a210 files/cmdline-proc-fix.patch 388 -RMD160 c577f02c0fa3e3ab39bce0bf5625fc1e7fc6e3a8 files/cmdline-proc-fix.patch 388 -SHA256 36df2ec3f19fc1e8e4a6d1fedd9fbe504262adc71451c8004f99fad4de16226b files/cmdline-proc-fix.patch 388 -MD5 b5082064acd344757ff6362f7d60a881 files/digest-openmosix-sources-2.4.24-r10 359 -RMD160 b7f8c781986b4fa41b52f23607209cc0737f37cb files/digest-openmosix-sources-2.4.24-r10 359 -SHA256 c3bf4d68d725bd940453f07c586d570330c6b3c2d6fc3f3275ae413e74556919 files/digest-openmosix-sources-2.4.24-r10 359 -MD5 1c6b7a1334af8e521558fac389f6d54d files/digest-openmosix-sources-2.4.26-r1 134 -RMD160 8cb9fd4df18715190bf6a505f1bc5105cc7818bd files/digest-openmosix-sources-2.4.26-r1 134 -SHA256 6cc936a499849e35fb8bf35168eaa4fe28ea509d4c214eddd8b7aa6da5972bdc files/digest-openmosix-sources-2.4.26-r1 134 -MD5 a5a0127feba11fd2d34c3dd9b2ecb199 files/digest-openmosix-sources-2.4.30-r3 154 -RMD160 b22956b9acfc44056d4976a0670d4fa06bf074e2 files/digest-openmosix-sources-2.4.30-r3 154 -SHA256 e112cd269e938311d32234f5cf7957c29a73da7a98f1a89c10e25cd181b099d1 files/digest-openmosix-sources-2.4.30-r3 154 -MD5 a96879463ae65ffc6d1d4d6c5553020c files/digest-openmosix-sources-2.4.32 554 -RMD160 62bb6876951a6a0114c9aeab6a47dd3e0bb41395 files/digest-openmosix-sources-2.4.32 554 -SHA256 ba2fdafaf40581f50699cec33524ddabbda833ea8d1f5ad7d17666868d3a66ee files/digest-openmosix-sources-2.4.32 554 -MD5 7513d975b2038814dbc2d1c5108f9504 files/digest-openmosix-sources-2.6.12.577 293 -RMD160 e0ce12bea671f1d837d5b5a0c52b243aad74e43b files/digest-openmosix-sources-2.6.12.577 293 -SHA256 f1aaa95e483afd69f8b495a03ba3e0c9dca53e7da59c9c404cb3813f7c33cc63 files/digest-openmosix-sources-2.6.12.577 293 -MD5 9971231cef0a944990e47a3c1e4b717c files/openmosix-sources-2.4.24-smbfs.patch 2790 -RMD160 9cdc6d54667a8b92433ca43a23ccc26102f95731 files/openmosix-sources-2.4.24-smbfs.patch 2790 -SHA256 fbf305f00e5d09a398088919c1907bfcba850ec6b8f952c43d90962938912e90 files/openmosix-sources-2.4.24-smbfs.patch 2790 -MD5 1e1fe7bb98c80db4644f4b7fd7dd5d32 files/openmosix-sources-2.4.27-smbfs.patch 3434 -RMD160 113683235ea2775187d1b006d46a4d4f71b0720b files/openmosix-sources-2.4.27-smbfs.patch 3434 -SHA256 fd255b74e960069d0c5ca4bbd141eed60517a507e519a11491eead365d388cc4 files/openmosix-sources-2.4.27-smbfs.patch 3434 -MD5 b0a1f80aff51d6601e8924329023b241 files/openmosix-sources-af_unix.patch 515 -RMD160 218bc5cc29e3fbaa59e895a210f82e275ebdfb7b files/openmosix-sources-af_unix.patch 515 -SHA256 8463aee1127f677102522127f38f2557fc46b5a6a0d38f8d3da15cad8d840c10 files/openmosix-sources-af_unix.patch 515 -MD5 eb003205dcff506c0ddfd4783862889a files/openmosix-sources-binfmt_aout.patch 1960 -RMD160 bfc814e843c4a5eeb467930afcb05c206ea486f3 files/openmosix-sources-binfmt_aout.patch 1960 -SHA256 f21ebd0699ec9f91a68717fd9f6ae176189865602a6a21036c847ac72e64fede files/openmosix-sources-binfmt_aout.patch 1960 -MD5 915e8d7a0618736caa44d96968015467 files/openmosix-sources-binfmt_elf.patch 2346 -RMD160 4417228b7111442eb4d3d398c075bbb95dd0dec1 files/openmosix-sources-binfmt_elf.patch 2346 -SHA256 024878921b91d6693a3c74e56f6cb1156f53c8a10572ae1c256ebe9298cbe498 files/openmosix-sources-binfmt_elf.patch 2346 -MD5 97d5fad4a9d39486b7da19adeada5d6d files/openmosix-sources-dn_neigh.patch 310 -RMD160 d94bef71935d2fc798d05f4373b082d5f3292053 files/openmosix-sources-dn_neigh.patch 310 -SHA256 5019bbfb97104f3f60999f9e1057a81298ff3e99b9afcf1ce7e80be65d515c8d files/openmosix-sources-dn_neigh.patch 310 -MD5 a0f813730ae690dca97b052b0bddc4b6 files/openmosix-sources-extraversion.patch 546 -RMD160 d6835d79b9299982661aeb0bb063356454dc8f7f files/openmosix-sources-extraversion.patch 546 -SHA256 7c29951a957cb69de87fe73e6a08b845447af544472cecf62073ece5a588999f files/openmosix-sources-extraversion.patch 546 -MD5 1adf8f1d53fb366d14f46450071156af files/openmosix-sources-moxa_random.patch 1099 -RMD160 1ff2c9c35f00c49694164995cca6cb70910098f1 files/openmosix-sources-moxa_random.patch 1099 -SHA256 24918f7bc4e8902f7509ea72088e337eec5d06b6f25de78f14c61917a7484284 files/openmosix-sources-moxa_random.patch 1099 -MD5 c27699e9d62f7d46213bd51f87636163 files/openmosix-sources-vma.patch 8143 -RMD160 7856e32ae9d1062f2a296527d5b1e2b87eb93909 files/openmosix-sources-vma.patch 8143 -SHA256 35ca9fd1115fdc5440a8ec7732d95dd2f0c2c3b3d86803ffa9a8438141467076 files/openmosix-sources-vma.patch 8143 -MD5 e77a93fdf26f06cf3ea5080b27211725 files/openmosix-sources.CAN-2003-0985.patch 414 -RMD160 e2d5ec54f3ce223fcd075537ed8b6573ae40f05a files/openmosix-sources.CAN-2003-0985.patch 414 -SHA256 0d5018b04e5d48a94746ff67a3267bb3b2fde196232520aba7b7f69b4438bcaa files/openmosix-sources.CAN-2003-0985.patch 414 -MD5 bf2b609e8cab6460d220b1267db09826 files/openmosix-sources.CAN-2004-0001.patch 982 -RMD160 fdf10a45ee583375affdc79d97130a5ae65db3b4 files/openmosix-sources.CAN-2004-0001.patch 982 -SHA256 8a3b1ec40d0342436e4e88740091ad2911da73ba4a5596a5938b4d8b512b81fb files/openmosix-sources.CAN-2004-0001.patch 982 -MD5 147fec50180ad91b6260fc7201dcb90f files/openmosix-sources.CAN-2004-0010.patch 6050 -RMD160 49e8525df6f08d0d4f1026d1cf023022a44b0dc9 files/openmosix-sources.CAN-2004-0010.patch 6050 -SHA256 fc3505c2d40cc9b757d19b8ca6ddd6afd865cfe9afc2d9c57a00ef7aa518274f files/openmosix-sources.CAN-2004-0010.patch 6050 -MD5 21f3a4f186017d925067335e24db36a1 files/openmosix-sources.CAN-2004-0109.patch 1877 -RMD160 a4a272e8580413d9f07dd3ac647f5c280e88b0b1 files/openmosix-sources.CAN-2004-0109.patch 1877 -SHA256 13430f7e005cc9ceb0fe37fd279c1687073688275c2268f8b9a98c23f40bce66 files/openmosix-sources.CAN-2004-0109.patch 1877 -MD5 eaeda68a619caaddd5b8fdc5e7c39932 files/openmosix-sources.CAN-2004-0177.patch 384 -RMD160 9d48504242960c4aec75977c77c2c0756e3f37d9 files/openmosix-sources.CAN-2004-0177.patch 384 -SHA256 5542d7215040158663399d7ec57daed6784b69acb75826004a862f288d171c21 files/openmosix-sources.CAN-2004-0177.patch 384 -MD5 ac42024b6e6ee1e2165914db4b22a61c files/openmosix-sources.CAN-2004-0178.patch 424 -RMD160 024cba3b58b3a245921d03db00160a5ec48aadee files/openmosix-sources.CAN-2004-0178.patch 424 -SHA256 a3b504b35309e48b3466ad44a273ebaa1c32e8adb1577ecaedbd8c11af5989b5 files/openmosix-sources.CAN-2004-0178.patch 424 -MD5 de75cfa969ed092578d9ddda6c5be334 files/openmosix-sources.CAN-2004-0181.patch 1233 -RMD160 c74b76208d26104a0b7905a249a9b92c01e9a937 files/openmosix-sources.CAN-2004-0181.patch 1233 -SHA256 bf79520daacf90dbb8d74c68c576cdf98ba9b5b7958592b7defaa306f3dda9e2 files/openmosix-sources.CAN-2004-0181.patch 1233 -MD5 dc18e982f8149588a291956481885a8c files/openmosix-sources.CAN-2004-0495.patch 17549 -RMD160 9635bf2a8eff9c48bef00c24a1de0738c3a03101 files/openmosix-sources.CAN-2004-0495.patch 17549 -SHA256 97421400a278018ab1020e8101fed90987f4a0e2c04a9c4dd2a68d66a3328833 files/openmosix-sources.CAN-2004-0495.patch 17549 -MD5 3bdf00d5f80fe9dfbfe8220e076cd04c files/openmosix-sources.CAN-2004-0497.patch 707 -RMD160 bb1567ceca73e33197b9914929709e58c03c306f files/openmosix-sources.CAN-2004-0497.patch 707 -SHA256 28ce1a27f5c516fe7f255321068d62cc6a4b3ab148db5faf46aa9395292ef15c files/openmosix-sources.CAN-2004-0497.patch 707 -MD5 0f66013f643c79c97fda489618a4e2fd files/openmosix-sources.CAN-2004-0535.patch 476 -RMD160 ea2fe07d1a5bf1a6ddd1947a91c36f6a07f98f68 files/openmosix-sources.CAN-2004-0535.patch 476 -SHA256 e792300186c28fa029f911e9ce323dc20310404cdcc2c9aaf3b163f5d3d82570 files/openmosix-sources.CAN-2004-0535.patch 476 -MD5 60d25ff310fc6abfdce39ec9e47345af files/openmosix-sources.CAN-2004-0685.patch 2809 -RMD160 e4c10d505309bf6fe98bfaf7ff25538510fdcee3 files/openmosix-sources.CAN-2004-0685.patch 2809 -SHA256 edafccdf9d3bde98b12f2e06d89f586aa8829b6791d0d5480e37c054109022e2 files/openmosix-sources.CAN-2004-0685.patch 2809 -MD5 fa0b3a0117ce4a5701403bb7f1c5acdf files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch 878 -RMD160 013c3f2731236d49655fdc11f878747ca708f24a files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch 878 -SHA256 e9b6b3cc390d49f3140bc43e7dfd3254ac380a20f2122ddbc270250f9f4affd8 files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch 878 -MD5 6aa8f7a7c2d55734389b53d3bcf78570 files/openmosix-sources.CAN-2004-1016.patch 2835 -RMD160 648aff7c288d96b222c034bbbc6b01216c1da292 files/openmosix-sources.CAN-2004-1016.patch 2835 -SHA256 1a56e4a0139187866dbc5d0f6810dcc99bec0c9ca3e02eb28ee1ab8e4c00d9ac files/openmosix-sources.CAN-2004-1016.patch 2835 -MD5 757ee1239c3f14645ccea3640d551e11 files/openmosix-sources.CAN-2004-1056.patch 11249 -RMD160 97104506375782f5d2a9b9dca8f4852f5aeb2c66 files/openmosix-sources.CAN-2004-1056.patch 11249 -SHA256 75f192f20b514bbeda9f7742edffc81375d407e143b5e7e3415d612f1997209b files/openmosix-sources.CAN-2004-1056.patch 11249 -MD5 04be98c8627ae3649c27ca03d4f2e26c files/openmosix-sources.CAN-2004-1137.patch 1845 -RMD160 8642eb0bb92b731abf48620104d13a306b1fbef4 files/openmosix-sources.CAN-2004-1137.patch 1845 -SHA256 f6cafa124a76d34506a1fcc24c0cf0adb63a742c1a99ccf0ecff17144e61143c files/openmosix-sources.CAN-2004-1137.patch 1845 -MD5 916bc047f3f4e3fdc8f70aa16ffb5514 files/openmosix-sources.CAN-2004-1235.patch 8317 -RMD160 3b8703de9fd30bdb62727da6039628c924b60ccd files/openmosix-sources.CAN-2004-1235.patch 8317 -SHA256 933e10b1b5beeeb17804e3e173dfb32ef315d022484a15df75dc68c90cc3f43b files/openmosix-sources.CAN-2004-1235.patch 8317 -MD5 41664043c4624dedcfeeb07950f08d13 metadata.xml 312 -RMD160 6cfe7222819f902eed7dfdb6fa48a19b7c37172e metadata.xml 312 -SHA256 7cd6722fa6245eccb8afde378bb57d0ac955b778512b3bef8789f2c463884e52 metadata.xml 312 -MD5 e0c89d5b58da89de3724a7d923d0e8d9 openmosix-sources-2.4.24-r10.ebuild 3420 -RMD160 9b097485465d288b9d442e50185998e133a9a43d openmosix-sources-2.4.24-r10.ebuild 3420 -SHA256 04b04b09f6996d01c7b9b40af61712b786ea49b203fd8e9f2f7423eeab257f6f openmosix-sources-2.4.24-r10.ebuild 3420 -MD5 ea0924fd833f27f2b928197eab6ceba7 openmosix-sources-2.4.26-r1.ebuild 1236 -RMD160 c873a271f64fb43877ddf9b297a16e371c7e437a openmosix-sources-2.4.26-r1.ebuild 1236 -SHA256 94599dc71f2500d2ed4e944dc7bfc77ed3f8977f302b1ebedf54ff8acd0ed1a4 openmosix-sources-2.4.26-r1.ebuild 1236 -MD5 b843e753abdd9c90198f4b1288d2e0a1 openmosix-sources-2.4.30-r3.ebuild 1412 -RMD160 77733e127768d921e2a9326904ecb11c04b0a583 openmosix-sources-2.4.30-r3.ebuild 1412 -SHA256 d683e424a24f1f10d40a9deecc907add37d21895fcb51b64b9b2856f944b72d3 openmosix-sources-2.4.30-r3.ebuild 1412 -MD5 ba9a67550b2012c504e56fdd00d1db7e openmosix-sources-2.4.32.ebuild 1410 -RMD160 2714fd7524ae9be61bafc0dad426f30a291afef8 openmosix-sources-2.4.32.ebuild 1410 -SHA256 9a1b05b6a12bc44fcd692fae24a0d77712b1ab713ba3431ee464992039477f4d openmosix-sources-2.4.32.ebuild 1410 -MD5 fc7ff7aee705d14607d715fa92f6b274 openmosix-sources-2.6.12.577.ebuild 1732 -RMD160 cd722febd0e4ae18bcc7a7dadcbc917a7770b929 openmosix-sources-2.6.12.577.ebuild 1732 -SHA256 63cda453dcc31f1bb3b976b323ee7defcf280c523c5566d5ddcd112b9b1da62a openmosix-sources-2.6.12.577.ebuild 1732 diff --git a/sys-kernel/openmosix-sources/files/cmdline-proc-fix.patch b/sys-kernel/openmosix-sources/files/cmdline-proc-fix.patch deleted file mode 100644 index 5f26f7f388f6..000000000000 --- a/sys-kernel/openmosix-sources/files/cmdline-proc-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- linux-2.4/fs/proc/base.c 2004-04-15 07:09:32.000000000 +0100 -+++ linux-2.4/fs/proc/base.c.plasmaroo 2004-08-09 23:30:43.869195800 +0100 -@@ -187,7 +187,7 @@ static int proc_pid_cmdline(struct task_ - if (mm) - atomic_inc(&mm->mm_users); - task_unlock(task); -- if (mm) { -+ if (mm && mm->arg_end) { - int len = mm->arg_end - mm->arg_start; - if (len > PAGE_SIZE) - len = PAGE_SIZE; diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r10 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r10 deleted file mode 100644 index e3b64d95ad6f..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.24-r10 +++ /dev/null @@ -1,5 +0,0 @@ -MD5 1e055c42921b2396a559d84df4c3d9aa linux-2.4.24.tar.bz2 29837818 -MD5 1c9bc4f32a9fc793cb8f0a6d0f910cb7 openMosix-2.4.24-2.bz2 588330 -MD5 7e0e9f3d57bcc1b1bb7900ada383c129 linux-2.4.23-CAN-2004-0415.patch 89319 -MD5 d4c051e7c6062704be85192e25e2f5b2 linux-2.4.26-CAN-2004-0814.patch 81508 -MD5 5bbbb2201b338ebb74f0bf650b639475 linux-2.4.27-nfs3-xdr.patch.bz2 746 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.26-r1 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.26-r1 deleted file mode 100644 index 670f35f44654..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.26-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 88d7aefa03c92739cb70298a0b486e2c linux-2.4.26.tar.bz2 30772389 -MD5 3c4eaa62eb1c6fe81e4659f3d5e1985c openMosix-2.4.26-1.bz2 194189 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.30-r3 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.30-r3 deleted file mode 100644 index 5ebc4426c282..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.30-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 75d8ce40a3668603017cd186909efe8d linux-2.4.30.tar.bz2 31136728 -MD5 d4d8eaba2d771f540e79a9374933409f patch-2.4.30-om-migshm-no-mfs-20050527.bz2 177650 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.32 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.32 deleted file mode 100644 index d0f152417058..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.4.32 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 38f4d0830e95a20f4bfed17622d5557c linux-2.4.32.tar.bz2 31132159 -RMD160 63ab1a0b18e690170f60de9da7392416311dc609 linux-2.4.32.tar.bz2 31132159 -SHA256 7dace89c3f0850c3d5c32c38c20b600259c314e8cbec29fe3ee59c2fbbee1759 linux-2.4.32.tar.bz2 31132159 -MD5 56252d17a6bcb7d62a64ecdef34ac174 patch-2.4.32-om-migshm-no-mfs-20060417.bz2 178276 -RMD160 0e1c6ddf52300c9b27a24770c786cee11f436bc0 patch-2.4.32-om-migshm-no-mfs-20060417.bz2 178276 -SHA256 4448bffd9c6e835bfbf312b793dc75a1b317c7225df1003aa5454de6ec289322 patch-2.4.32-om-migshm-no-mfs-20060417.bz2 178276 diff --git a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.6.12.577 b/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.6.12.577 deleted file mode 100644 index ff85fdfefef3..000000000000 --- a/sys-kernel/openmosix-sources/files/digest-openmosix-sources-2.6.12.577 +++ /dev/null @@ -1,4 +0,0 @@ -MD5 c5d2a1b62e1dad502c871bba267337d5 linux-2.6.12.tar.bz2 37511570 -MD5 e691055686f00a6a8e7ca30e0a11a7f9 genpatches-2.6.12-11.base.tar.bz2 39237 -MD5 1e50ea34e63e0145b71d91b10cce2499 genpatches-2.6.12-11.extras.tar.bz2 229274 -MD5 43f6f185370f1b5159594a16ec20daea patch-2.6.12-om-r577.bz2 106651 diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.24-smbfs.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.24-smbfs.patch deleted file mode 100644 index 1d93802f03be..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.24-smbfs.patch +++ /dev/null @@ -1,80 +0,0 @@ -diff -ur linux-2.4.20/fs/smbfs/proc.c linux-2.4.20.plasmaroo/fs/smbfs/proc.c ---- linux-2.4.20/fs/smbfs/proc.c 2004-08-14 18:15:42.000000000 +0100 -+++ linux-2.4.20.plasmaroo/fs/smbfs/proc.c 2004-11-19 20:48:37.429884768 +0000 -@@ -1197,10 +1197,12 @@ - data_len = WVAL(buf, 1); - - /* we can NOT simply trust the data_len given by the server ... */ -- if (data_len > server->packet_size - (buf+3 - server->packet)) { -- printk(KERN_ERR "smb_proc_read: invalid data length!! " -- "%d > %d - (%p - %p)\n", -- data_len, server->packet_size, buf+3, server->packet); -+ if (data_len > count || -+ (buf+3 - server->packet) + data_len > server->packet_size) { -+ printk(KERN_ERR "smb_proc_read: invalid data length/offset!! " -+ "%d > %d || (%p - %p) + %d > %d\n", -+ data_len, count, -+ buf+3, server->packet, data_len, server->packet_size); - result = -EIO; - goto out; - } -diff -ur linux-2.4.20/fs/smbfs/sock.c linux-2.4.20.plasmaroo/fs/smbfs/sock.c ---- linux-2.4.20/fs/smbfs/sock.c 2004-08-14 18:15:42.000000000 +0100 -+++ linux-2.4.20.plasmaroo/fs/smbfs/sock.c 2004-11-19 20:48:37.431884464 +0000 -@@ -571,7 +571,11 @@ - parm_disp, parm_offset, parm_count, - data_disp, data_offset, data_count); - *parm = base + parm_offset; -+ if (*parm - inbuf + parm_tot > server->packet_size) -+ goto out_bad_parm; - *data = base + data_offset; -+ if (*data - inbuf + data_tot > server->packet_size) -+ goto out_bad_data; - goto success; - } - -@@ -591,6 +595,8 @@ - rcv_buf = smb_vmalloc(buf_len); - if (!rcv_buf) - goto out_no_mem; -+ memset(rcv_buf, 0, buf_len); -+ - *parm = rcv_buf; - *data = rcv_buf + total_p; - } else if (data_tot > total_d || parm_tot > total_p) -@@ -598,8 +604,12 @@ - - if (parm_disp + parm_count > total_p) - goto out_bad_parm; -+ if (parm_offset + parm_count > server->packet_size) -+ goto out_bad_parm; - if (data_disp + data_count > total_d) - goto out_bad_data; -+ if (data_offset + data_count > server->packet_size) -+ goto out_bad_data; - memcpy(*parm + parm_disp, base + parm_offset, parm_count); - memcpy(*data + data_disp, base + data_offset, data_count); - -@@ -610,8 +620,11 @@ - * Check whether we've received all of the data. Note that - * we use the packet totals -- total lengths might shrink! - */ -- if (data_len >= data_tot && parm_len >= parm_tot) -+ if (data_len >= data_tot && parm_len >= parm_tot) { -+ data_len = data_tot; -+ parm_len = parm_tot; - break; -+ } - } - - /* -@@ -625,6 +638,9 @@ - server->packet = rcv_buf; - rcv_buf = inbuf; - } else { -+ if (parm_len + data_len > buf_len) -+ goto out_data_grew; -+ - PARANOIA("copying data, old size=%d, new size=%u\n", - server->packet_size, buf_len); - memcpy(inbuf, rcv_buf, parm_len + data_len); diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.27-smbfs.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.27-smbfs.patch deleted file mode 100644 index 63c5ba30403f..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-2.4.27-smbfs.patch +++ /dev/null @@ -1,97 +0,0 @@ -diff -ur linux-2.4.27/fs/smbfs/proc.c linux-2.4.28/fs/smbfs/proc.c ---- linux-2.4.27/fs/smbfs/proc.c 2004-11-12 19:32:24.000000000 +0000 -+++ linux-2.4.28/fs/smbfs/proc.c 2004-11-19 20:18:27.000000000 +0000 -@@ -1289,10 +1289,12 @@ - data_len = WVAL(buf, 1); - - /* we can NOT simply trust the data_len given by the server ... */ -- if (data_len > server->packet_size - (buf+3 - server->packet)) { -- printk(KERN_ERR "smb_proc_read: invalid data length!! " -- "%d > %d - (%p - %p)\n", -- data_len, server->packet_size, buf+3, server->packet); -+ if (data_len > count || -+ (buf+3 - server->packet) + data_len > server->packet_size) { -+ printk(KERN_ERR "smb_proc_read: invalid data length/offset!! " -+ "%d > %d || (%p - %p) + %d > %d\n", -+ data_len, count, -+ buf+3, server->packet, data_len, server->packet_size); - result = -EIO; - goto out; - } -@@ -1378,10 +1380,12 @@ - buf = smb_base(server->packet) + data_off; - - /* we can NOT simply trust the info given by the server ... */ -- if (data_len > server->packet_size - (buf - server->packet)) { -- printk(KERN_ERR "smb_proc_read: invalid data length!! " -- "%d > %d - (%p - %p)\n", -- data_len, server->packet_size, buf, server->packet); -+ if (data_len > count || -+ (buf - server->packet) + data_len > server->packet_size) { -+ printk(KERN_ERR "smb_proc_readX: invalid data length/offset!! " -+ "%d > %d || (%p - %p) + %d > %d\n", -+ data_len, count, -+ buf, server->packet, data_len, server->packet_size); - result = -EIO; - goto out; - } -diff -ur linux-2.4.27/fs/smbfs/sock.c linux-2.4.28/fs/smbfs/sock.c ---- linux-2.4.27/fs/smbfs/sock.c 2004-11-12 19:32:24.000000000 +0000 -+++ linux-2.4.28/fs/smbfs/sock.c 2004-11-19 20:18:27.000000000 +0000 -@@ -571,7 +571,11 @@ - parm_disp, parm_offset, parm_count, - data_disp, data_offset, data_count); - *parm = base + parm_offset; -+ if (*parm - inbuf + parm_tot > server->packet_size) -+ goto out_bad_parm; - *data = base + data_offset; -+ if (*data - inbuf + data_tot > server->packet_size) -+ goto out_bad_data; - goto success; - } - -@@ -591,6 +595,8 @@ - rcv_buf = smb_vmalloc(buf_len); - if (!rcv_buf) - goto out_no_mem; -+ memset(rcv_buf, 0, buf_len); -+ - *parm = rcv_buf; - *data = rcv_buf + total_p; - } else if (data_tot > total_d || parm_tot > total_p) -@@ -598,8 +604,12 @@ - - if (parm_disp + parm_count > total_p) - goto out_bad_parm; -+ if (parm_offset + parm_count > server->packet_size) -+ goto out_bad_parm; - if (data_disp + data_count > total_d) - goto out_bad_data; -+ if (data_offset + data_count > server->packet_size) -+ goto out_bad_data; - memcpy(*parm + parm_disp, base + parm_offset, parm_count); - memcpy(*data + data_disp, base + data_offset, data_count); - -@@ -610,8 +620,11 @@ - * Check whether we've received all of the data. Note that - * we use the packet totals -- total lengths might shrink! - */ -- if (data_len >= data_tot && parm_len >= parm_tot) -+ if (data_len >= data_tot && parm_len >= parm_tot) { -+ data_len = data_tot; -+ parm_len = parm_tot; - break; -+ } - } - - /* -@@ -625,6 +638,9 @@ - server->packet = rcv_buf; - rcv_buf = inbuf; - } else { -+ if (parm_len + data_len > buf_len) -+ goto out_data_grew; -+ - PARANOIA("copying data, old size=%d, new size=%u\n", - server->packet_size, buf_len); - memcpy(inbuf, rcv_buf, parm_len + data_len); diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-af_unix.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-af_unix.patch deleted file mode 100644 index 6ced78404a2d..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-af_unix.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- linux-2.4.27/net/unix/af_unix.c 2004-11-24 08:23:21 -08:00 -+++ linux-2.4.28/net/unix/af_unix.c 2004-11-24 08:23:21 -08:00 -@@ -1403,9 +1403,11 @@ - - msg->msg_namelen = 0; - -+ down(&sk->protinfo.af_unix.readsem); -+ - skb = skb_recv_datagram(sk, flags, noblock, &err); - if (!skb) -- goto out; -+ goto out_unlock; - - wake_up_interruptible(&sk->protinfo.af_unix.peer_wait); - -@@ -1449,6 +1451,8 @@ - - out_free: - skb_free_datagram(sk,skb); -+out_unlock: -+ up(&sk->protinfo.af_unix.readsem); - out: - return err; - } diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-binfmt_aout.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-binfmt_aout.patch deleted file mode 100644 index 3ed7fc3494ea..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-binfmt_aout.patch +++ /dev/null @@ -1,67 +0,0 @@ -diff -uraN fs.orig/binfmt_aout.c fs/binfmt_aout.c ---- fs.orig/binfmt_aout.c 2004-12-06 13:40:22.886079000 +0300 -+++ fs/binfmt_aout.c 2004-12-06 13:52:16.506592320 +0300 -@@ -43,13 +43,16 @@ - NULL, THIS_MODULE, load_aout_binary, load_aout_library, aout_core_dump, PAGE_SIZE - }; - --static void set_brk(unsigned long start, unsigned long end) -+static int set_brk(unsigned long start, unsigned long end) - { - start = PAGE_ALIGN(start); - end = PAGE_ALIGN(end); -- if (end <= start) -- return; -- do_brk(start, end - start); -+ if (end > start) { -+ unsigned long addr = do_brk(start, end - start); -+ if ((unsigned long) addr >= TASK_SIZE) -+ return addr; -+ } -+ return 0; - } - - /* -@@ -452,9 +455,16 @@ - - #ifdef CONFIG_MOSIX - /* if DEPUTY, the REMOTE already did "set_brk" in aout_remote_init_mm */ -- if(!(current->mosix.dflags & DDEPUTY)) -+ if(!(current->mosix.dflags & DDEPUTY)) { -+#endif /* CONFIG_MOSIX */ -+ retval = set_brk(current->mm->start_brk, current->mm->brk); -+ if (retval < 0) { -+ send_sig(SIGKILL, current, 0); -+ return retval; -+ } -+#ifdef CONFIG_MOSIX -+ } - #endif /* CONFIG_MOSIX */ -- set_brk(current->mm->start_brk, current->mm->brk); - - #ifdef CONFIG_MOSIX - if(current->mosix.dflags & DDEPUTY) -diff -uraN fs.orig/exec.c fs/exec.c ---- fs.orig/exec.c 2004-12-06 13:40:22.912075000 +0300 -+++ fs/exec.c 2004-12-06 13:50:08.776010320 +0300 -@@ -357,6 +357,7 @@ - - down_write(¤t->mm->mmap_sem); - { -+ struct vm_area_struct *vma; - mpnt->vm_mm = current->mm; - mpnt->vm_start = PAGE_MASK & (unsigned long) bprm->p; - mpnt->vm_end = STACK_TOP; -@@ -366,6 +367,12 @@ - mpnt->vm_pgoff = 0; - mpnt->vm_file = NULL; - mpnt->vm_private_data = (void *) 0; -+ vma = find_vma(current->mm, mpnt->vm_start); -+ if (vma) { -+ up_write(¤t->mm->mmap_sem); -+ kmem_cache_free(vm_area_cachep, mpnt); -+ return -ENOMEM; -+ } - insert_vm_struct(current->mm, mpnt); - current->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; - } diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-binfmt_elf.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-binfmt_elf.patch deleted file mode 100644 index 9f4f44ee78f5..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-binfmt_elf.patch +++ /dev/null @@ -1,85 +0,0 @@ -diff -ur linux-2.4.27/fs/binfmt_elf.c linux-2.4.27.plasmaroo/fs/binfmt_elf.c ---- linux-2.4.27/fs/binfmt_elf.c 2004-04-14 14:05:40.000000000 +0100 -+++ linux-2.4.27.plasmaroo/fs/binfmt_elf.c 2004-11-19 21:30:26.745410824 +0000 -@@ -299,9 +299,12 @@ - goto out; - - retval = kernel_read(interpreter,interp_elf_ex->e_phoff,(char *)elf_phdata,size); -- error = retval; -- if (retval < 0) -+ error = -EIO; -+ if (retval != size) { -+ if (retval < 0) -+ error = retval; - goto out_close; -+ } - - eppnt = elf_phdata; - for (i=0; ie_phnum; i++, eppnt++) { -@@ -475,8 +478,11 @@ - goto out; - - retval = kernel_read(bprm->file, elf_ex.e_phoff, (char *) elf_phdata, size); -- if (retval < 0) -+ if (retval != size) { -+ if (retval >= 0) -+ retval = -EIO; - goto out_free_ph; -+ } - - files = current->files; /* Refcounted so ok */ - retval = unshare_files(); -@@ -513,7 +519,8 @@ - */ - - retval = -ENOMEM; -- if (elf_ppnt->p_filesz > PATH_MAX) -+ if (elf_ppnt->p_filesz > PATH_MAX || -+ elf_ppnt->p_filesz == 0) - goto out_free_file; - elf_interpreter = (char *) kmalloc(elf_ppnt->p_filesz, - GFP_KERNEL); -@@ -523,8 +530,16 @@ - retval = kernel_read(bprm->file, elf_ppnt->p_offset, - elf_interpreter, - elf_ppnt->p_filesz); -- if (retval < 0) -+ if (retval != elf_ppnt->p_filesz) { -+ if (retval >= 0) -+ retval = -EIO; -+ goto out_free_interp; -+ } -+ /* make sure path is NULL terminated */ -+ retval = -EINVAL; -+ if (elf_interpreter[elf_ppnt->p_filesz - 1] != '\0') - goto out_free_interp; -+ - /* If the program interpreter is one of these two, - * then assume an iBCS2 image. Otherwise assume - * a native linux image. -@@ -543,8 +558,11 @@ - if (IS_ERR(interpreter)) - goto out_free_interp; - retval = kernel_read(interpreter, 0, bprm->buf, BINPRM_BUF_SIZE); -- if (retval < 0) -+ if (retval != BINPRM_BUF_SIZE) { -+ if (retval >= 0) -+ retval = -EIO; - goto out_free_dentry; -+ } - - /* Get the exec headers */ - interp_ex = *((struct exec *) bprm->buf); -@@ -682,8 +700,10 @@ - } - - error = elf_map(bprm->file, load_bias + vaddr, elf_ppnt, elf_prot, elf_flags); -- if (BAD_ADDR(error)) -- continue; -+ if (BAD_ADDR(error)) { -+ send_sig(SIGKILL, current, 0); -+ goto out_free_dentry; -+ } - - if (!load_addr_set) { - load_addr_set = 1; diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-dn_neigh.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-dn_neigh.patch deleted file mode 100644 index 5b845b99c820..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-dn_neigh.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- net/decnet/dn_neigh.c.orig 2004-12-08 12:07:15.607589856 +0300 -+++ net/decnet/dn_neigh.c 2004-12-08 12:07:22.207586504 +0300 -@@ -26,6 +26,7 @@ - - #include - #include -+#include - #include - #include - #include diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-extraversion.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-extraversion.patch deleted file mode 100644 index 74e39384d2d8..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-extraversion.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig 2005-04-15 20:55:07.000000000 +0400 -+++ Makefile 2005-04-15 20:55:12.000000000 +0400 -@@ -158,7 +158,7 @@ - $(shell cat /dev/null $(localver)) \ - $(patsubst "%",%,$(CONFIG_LOCALVERSION))) - --KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)-om$(LOCALVERSION) -+KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)$(LOCALVERSION) - - # SUBARCH tells the usermode build what the underlying arch is. That is set - # first, and if a usermode build is happening, the "ARCH=um" on the command diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-moxa_random.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-moxa_random.patch deleted file mode 100644 index 6d633e3aeb17..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-moxa_random.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -ur linux-2.4.28/drivers/char/moxa.c linux-2.4.28.plasmaroo/drivers/char/moxa.c ---- linux-2.4.28/drivers/char/moxa.c 2001-10-25 21:53:47.000000000 +0100 -+++ linux-2.4.28.plasmaroo/drivers/char/moxa.c 2005-01-08 02:54:49.195636192 +0000 -@@ -1771,6 +1771,8 @@ - return -EFAULT; - if(dltmp.cardno < 0 || dltmp.cardno >= MAX_BOARDS) - return -EINVAL; -+ if(dltmp.len < 0 || dltmp.len > sizeof(moxaBuff)) -+ return -EINVAL; - - switch(cmd) - { -@@ -2927,8 +2929,6 @@ - unsigned long baseAddr; - int i; - -- if(len > sizeof(moxaBuff)) -- return -EINVAL; - if(copy_from_user(moxaBuff, tmp, len)) - return -EFAULT; - baseAddr = moxaBaseAddr[cardno]; -diff -ur linux-2.4.28/drivers/char/random.c linux-2.4.28.plasmaroo/drivers/char/random.c ---- linux-2.4.28/drivers/char/random.c 2004-11-17 11:54:21.000000000 +0000 -+++ linux-2.4.28.plasmaroo/drivers/char/random.c 2005-01-08 02:54:49.198635736 +0000 -@@ -1787,7 +1787,7 @@ - void *oldval, size_t *oldlenp, - void *newval, size_t newlen, void **context) - { -- int len; -+ size_t len; - - sysctl_poolsize = random_state->poolinfo.POOLBYTES; - diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources-vma.patch b/sys-kernel/openmosix-sources/files/openmosix-sources-vma.patch deleted file mode 100644 index 2469dd5ab2c5..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources-vma.patch +++ /dev/null @@ -1,246 +0,0 @@ -# This is a BitKeeper generated diff -Nru style patch. -# -# ChangeSet -# 2004/12/17 21:45:58-02:00 chrisw@osdl.org -# [PATCH] Backport of 2.6 fix to insert_vm_struct to make it return an error rather than BUG(). -# -# Backport of 2.6 fix to insert_vm_struct to make it return an error -# rather than BUG(). This eliminates a user triggerable BUG() when user -# created a large vma that overlapped with arg pages during exec (could be -# triggered with a.out on i386 and x86_64 and elf on ia64). -# -# Signed-off-by: Chris Wright -# -# ===== arch/ia64/ia32/binfmt_elf32.c 1.13 vs edited ===== -# -# arch/ia64/ia32/binfmt_elf32.c -# 2004/12/17 17:22:06-02:00 chrisw@osdl.org +16 -4 -# Backport of 2.6 fix to insert_vm_struct to make it return an error rather than BUG(). -# -# arch/ia64/mm/init.c -# 2004/12/17 15:25:47-02:00 chrisw@osdl.org +14 -2 -# Backport of 2.6 fix to insert_vm_struct to make it return an error rather than BUG(). -# -# arch/s390x/kernel/exec32.c -# 2004/12/17 15:32:42-02:00 chrisw@osdl.org +6 -2 -# Backport of 2.6 fix to insert_vm_struct to make it return an error rather than BUG(). This eliminates a user triggerable BUG() when user -# -# arch/x86_64/ia32/ia32_binfmt.c -# 2004/12/17 15:34:21-02:00 chrisw@osdl.org +6 -2 -# Backport of 2.6 fix to insert_vm_struct to make it return an error rather than BUG(). This eliminates a user triggerable BUG() when user -# -# fs/exec.c -# 2004/12/17 15:54:18-02:00 chrisw@osdl.org +6 -2 -# Backport of 2.6 fix to insert_vm_struct to make it return an error rather than BUG(). -# -# include/linux/mm.h -# 2004/12/16 20:38:37-02:00 chrisw@osdl.org +1 -1 -# Backport of 2.6 fix to insert_vm_struct to make it return an error rather than BUG(). This eliminates a user triggerable BUG() when user -# -# mm/mmap.c -# 2004/12/16 20:43:15-02:00 chrisw@osdl.org +3 -2 -# Backport of 2.6 fix to insert_vm_struct to make it return an error rather than BUG(). -# -diff -Nru a/arch/ia64/ia32/binfmt_elf32.c b/arch/ia64/ia32/binfmt_elf32.c ---- a/arch/ia64/ia32/binfmt_elf32.c 2004-12-19 07:39:49 -08:00 -+++ b/arch/ia64/ia32/binfmt_elf32.c 2004-12-19 07:39:49 -08:00 -@@ -95,7 +95,11 @@ - vma->vm_private_data = NULL; - down_write(¤t->mm->mmap_sem); - { -- insert_vm_struct(current->mm, vma); -+ if (insert_vm_struct(current->mm, vma)) { -+ kmem_cache_free(vm_area_cachep, vma); -+ up_write(¤t->mm->mmap_sem); -+ return; -+ } - } - up_write(¤t->mm->mmap_sem); - } -@@ -117,7 +121,11 @@ - vma->vm_private_data = NULL; - down_write(¤t->mm->mmap_sem); - { -- insert_vm_struct(current->mm, vma); -+ if (insert_vm_struct(current->mm, vma)) { -+ kmem_cache_free(vm_area_cachep, vma); -+ up_write(¤t->mm->mmap_sem); -+ return; -+ } - } - up_write(¤t->mm->mmap_sem); - } -@@ -164,7 +172,7 @@ - { - unsigned long stack_base; - struct vm_area_struct *mpnt; -- int i; -+ int i, ret; - - stack_base = IA32_STACK_TOP - MAX_ARG_PAGES*PAGE_SIZE; - -@@ -188,7 +196,11 @@ - mpnt->vm_pgoff = 0; - mpnt->vm_file = NULL; - mpnt->vm_private_data = 0; -- insert_vm_struct(current->mm, mpnt); -+ if ((ret = insert_vm_struct(current->mm, mpnt))) { -+ up_write(¤t->mm->mmap_sem); -+ kmem_cache_free(vm_area_cachep, mpnt); -+ return ret; -+ } - current->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; - } - -diff -Nru a/arch/ia64/mm/init.c b/arch/ia64/mm/init.c ---- a/arch/ia64/mm/init.c 2004-12-19 07:39:49 -08:00 -+++ b/arch/ia64/mm/init.c 2004-12-19 07:39:49 -08:00 -@@ -105,7 +105,13 @@ - vma->vm_pgoff = 0; - vma->vm_file = NULL; - vma->vm_private_data = NULL; -- insert_vm_struct(current->mm, vma); -+ down_write(¤t->mm->mmap_sem); -+ if (insert_vm_struct(current->mm, vma)) { -+ up_write(¤t->mm->mmap_sem); -+ kmem_cache_free(vm_area_cachep, vma); -+ return; -+ } -+ up_write(¤t->mm->mmap_sem); - } - - /* map NaT-page at address zero to speed up speculative dereferencing of NULL: */ -@@ -117,7 +123,13 @@ - vma->vm_end = PAGE_SIZE; - vma->vm_page_prot = __pgprot(pgprot_val(PAGE_READONLY) | _PAGE_MA_NAT); - vma->vm_flags = VM_READ | VM_MAYREAD | VM_IO | VM_RESERVED; -- insert_vm_struct(current->mm, vma); -+ down_write(¤t->mm->mmap_sem); -+ if (insert_vm_struct(current->mm, vma)) { -+ up_write(¤t->mm->mmap_sem); -+ kmem_cache_free(vm_area_cachep, vma); -+ return; -+ } -+ up_write(¤t->mm->mmap_sem); - } - } - } -diff -Nru a/arch/s390x/kernel/exec32.c b/arch/s390x/kernel/exec32.c ---- a/arch/s390x/kernel/exec32.c 2004-12-19 07:39:49 -08:00 -+++ b/arch/s390x/kernel/exec32.c 2004-12-19 07:39:49 -08:00 -@@ -41,7 +41,7 @@ - { - unsigned long stack_base; - struct vm_area_struct *mpnt; -- int i; -+ int i, ret; - - stack_base = STACK_TOP - MAX_ARG_PAGES*PAGE_SIZE; - -@@ -65,7 +65,11 @@ - mpnt->vm_pgoff = 0; - mpnt->vm_file = NULL; - mpnt->vm_private_data = (void *) 0; -- insert_vm_struct(current->mm, mpnt); -+ if ((ret = insert_vm_struct(current->mm, mpnt))) { -+ up_write(¤t->mm->mmap_sem); -+ kmem_cache_free(vm_area_cachep, mpnt); -+ return ret; -+ } - current->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; - } - -diff -Nru a/arch/x86_64/ia32/ia32_binfmt.c b/arch/x86_64/ia32/ia32_binfmt.c ---- a/arch/x86_64/ia32/ia32_binfmt.c 2004-12-19 07:39:49 -08:00 -+++ b/arch/x86_64/ia32/ia32_binfmt.c 2004-12-19 07:39:49 -08:00 -@@ -225,7 +225,7 @@ - { - unsigned long stack_base; - struct vm_area_struct *mpnt; -- int i; -+ int i, ret; - - stack_base = IA32_STACK_TOP - MAX_ARG_PAGES*PAGE_SIZE; - -@@ -250,7 +250,11 @@ - mpnt->vm_pgoff = 0; - mpnt->vm_file = NULL; - mpnt->vm_private_data = (void *) 0; -- insert_vm_struct(current->mm, mpnt); -+ if ((ret = insert_vm_struct(current->mm, mpnt))) { -+ up_write(¤t->mm->mmap_sem); -+ kmem_cache_free(vm_area_cachep, mpnt); -+ return ret; -+ } - current->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; - } - -diff -Nru a/fs/exec.c b/fs/exec.c ---- a/fs/exec.c 2004-12-19 07:39:49 -08:00 -+++ b/fs/exec.c 2004-12-19 07:39:49 -08:00 -@@ -327,7 +327,7 @@ - { - unsigned long stack_base; - struct vm_area_struct *mpnt; -- int i; -+ int i, ret; - - stack_base = STACK_TOP - MAX_ARG_PAGES*PAGE_SIZE; - -@@ -387,7 +387,6 @@ - - down_write(¤t->mm->mmap_sem); - { -- struct vm_area_struct *vma; - mpnt->vm_mm = current->mm; - mpnt->vm_start = PAGE_MASK & (unsigned long) bprm->p; - mpnt->vm_end = STACK_TOP; -@@ -402,13 +401,11 @@ - mpnt->vm_pgoff = 0; - mpnt->vm_file = NULL; - mpnt->vm_private_data = (void *) 0; -- vma = find_vma(current->mm, mpnt->vm_start); -- if (vma) { -+ if ((ret = insert_vm_struct(current->mm, mpnt))) { - up_write(¤t->mm->mmap_sem); - kmem_cache_free(vm_area_cachep, mpnt); -- return -ENOMEM; -+ return ret; - } -- insert_vm_struct(current->mm, mpnt); - current->mm->total_vm = (mpnt->vm_end - mpnt->vm_start) >> PAGE_SHIFT; - } - -diff -Nru a/include/linux/mm.h b/include/linux/mm.h ---- a/include/linux/mm.h 2004-12-19 07:39:49 -08:00 -+++ b/include/linux/mm.h 2004-12-19 07:39:49 -08:00 -@@ -548,7 +548,7 @@ - /* mmap.c */ - extern void lock_vma_mappings(struct vm_area_struct *); - extern void unlock_vma_mappings(struct vm_area_struct *); --extern void insert_vm_struct(struct mm_struct *, struct vm_area_struct *); -+extern int insert_vm_struct(struct mm_struct *, struct vm_area_struct *); - extern void __insert_vm_struct(struct mm_struct *, struct vm_area_struct *); - extern void build_mmap_rb(struct mm_struct *); - extern void exit_mmap(struct mm_struct *); -diff -Nru a/mm/mmap.c b/mm/mmap.c ---- a/mm/mmap.c 2004-12-19 07:39:49 -08:00 -+++ b/mm/mmap.c 2004-12-19 07:39:49 -08:00 -@@ -1193,14 +1193,15 @@ - validate_mm(mm); - } - --void insert_vm_struct(struct mm_struct * mm, struct vm_area_struct * vma) -+int insert_vm_struct(struct mm_struct * mm, struct vm_area_struct * vma) - { - struct vm_area_struct * __vma, * prev; - rb_node_t ** rb_link, * rb_parent; - - __vma = find_vma_prepare(mm, vma->vm_start, &prev, &rb_link, &rb_parent); - if (__vma && __vma->vm_start < vma->vm_end) -- BUG(); -+ return -ENOMEM; - vma_link(mm, vma, prev, rb_link, rb_parent); - validate_mm(mm); -+ return 0; - } diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2003-0985.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2003-0985.patch deleted file mode 100644 index dacf6ed810f9..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-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/openmosix-sources/files/openmosix-sources.CAN-2004-0001.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0001.patch deleted file mode 100644 index bb51f9aa9a62..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0001.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -u linux/arch/x86_64/ia32/ptrace32.c-PTRACE linux/arch/x86_64/ia32/ptrace32.c ---- linux/arch/x86_64/ia32/ptrace32.c-PTRACE 2003-06-16 13:03:58.000000000 +0200 -+++ linux/arch/x86_64/ia32/ptrace32.c 2004-01-07 18:04:43.000000000 +0100 -@@ -25,6 +25,10 @@ - #include - #include - -+/* determines which flags the user has access to. */ -+/* 1 = access 0 = no access */ -+#define FLAG_MASK 0x44dd5UL -+ - #define R32(l,q) \ - case offsetof(struct user32, regs.l): stack[offsetof(struct pt_regs, q)/8] = val; break - -@@ -69,9 +73,12 @@ - R32(eip, rip); - R32(esp, rsp); - -- case offsetof(struct user32, regs.eflags): -- stack[offsetof(struct pt_regs, eflags)/8] = val & 0x44dd5; -+ case offsetof(struct user32, regs.eflags): { -+ __u64 *flags = &stack[offsetof(struct pt_regs, eflags)/8]; -+ val &= FLAG_MASK; -+ *flags = val | (*flags & ~FLAG_MASK); - break; -+ } - - case offsetof(struct user32, u_debugreg[4]): - case offsetof(struct user32, u_debugreg[5]): diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0010.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0010.patch deleted file mode 100644 index 6b4b1cefa49e..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-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/openmosix-sources/files/openmosix-sources.CAN-2004-0109.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0109.patch deleted file mode 100644 index d02b51c57fc6..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-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 - #include - #include -+#include - - #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/openmosix-sources/files/openmosix-sources.CAN-2004-0177.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0177.patch deleted file mode 100644 index da6b7e190685..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-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/openmosix-sources/files/openmosix-sources.CAN-2004-0178.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0178.patch deleted file mode 100644 index 19e57268c2fa..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-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/openmosix-sources/files/openmosix-sources.CAN-2004-0181.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0181.patch deleted file mode 100644 index 5f7f1441b268..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-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/openmosix-sources/files/openmosix-sources.CAN-2004-0495.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0495.patch deleted file mode 100644 index bea80eac69a9..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-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/openmosix-sources/files/openmosix-sources.CAN-2004-0497.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0497.patch deleted file mode 100644 index 9503e9efe57b..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0497.patch +++ /dev/null @@ -1,23 +0,0 @@ -# ChangeSet -# -# fs/attr.c -# 2004/07/03 18:28:30-03:00 marcelo@logos.cnet +1 -0 -# Thomas Biege: Fix missing DAC check on sys_chown -# -# fs/attr.c -# 2004/07/03 19:28:29-03:00 marcelo@logos.cnet +1 -1 -# Add missing bracket to inode_change_ok() fix -# -diff -Nru a/fs/attr.c b.plasmaroo/fs/attr.c ---- a/fs/attr.c 2004-07-08 17:05:20 -07:00 -+++ b.plasmaroo/fs/attr.c 2004-07-08 17:05:20 -07:00 -@@ -35,7 +35,8 @@ - - /* Make sure caller can chgrp. */ - if ((ia_valid & ATTR_GID) && -- (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) && -+ (current->fsuid != inode->i_uid || -+ (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid)) && - !capable(CAP_CHOWN)) - goto error; - diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0535.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0535.patch deleted file mode 100644 index 669fc5fd32fb..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-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(®s, 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, ®s, regs_buff); - if(copy_to_user(addr, ®s, sizeof(regs))) - return -EFAULT; diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0685.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0685.patch deleted file mode 100644 index d1be834cc8a5..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0685.patch +++ /dev/null @@ -1,83 +0,0 @@ -# This is a BitKeeper generated diff -Nru style patch. -# -# ChangeSet -# 2004/07/26 19:14:16-03:00 mjc@redhat.com -# [PATCH] USB: more sparse fixes -# -# Back in October 2003 Arnaldo commited some fixes prior to 2.6 for some leaking info to userspace in the -# usb drivers: -# http://linux.bkbits.net:8080/linux-2.6/cset@3f986b35LyBKc-OxB8G6k22oOjgYTQ -# -# The corresponding changes have not been commited to 2.4, or included in -# the previous sparse fixes. -# -# drivers/usb/audio.c -# 2004/07/15 08:46:52-03:00 mjc@redhat.com +4 -0 -# USB: more sparse fixes -# -# drivers/usb/brlvger.c -# 2004/07/15 08:47:27-03:00 mjc@redhat.com +1 -0 -# USB: more sparse fixes -# -# drivers/usb/serial/io_edgeport.c -# 2004/07/15 08:48:06-03:00 mjc@redhat.com +1 -0 -# USB: more sparse fixes -# -# drivers/usb/vicam.c -# 2004/07/15 08:47:13-03:00 mjc@redhat.com +1 -0 -# USB: more sparse fixes -# -diff -Nru a/drivers/usb/audio.c b/drivers/usb/audio.c ---- a/drivers/usb/audio.c 2004-08-08 07:41:30 -07:00 -+++ b/drivers/usb/audio.c 2004-08-08 07:41:30 -07:00 -@@ -2141,6 +2141,8 @@ - - if (cmd == SOUND_MIXER_INFO) { - mixer_info info; -+ -+ memset(&info, 0, sizeof(info)); - strncpy(info.id, "USB_AUDIO", sizeof(info.id)); - strncpy(info.name, "USB Audio Class Driver", sizeof(info.name)); - info.modify_counter = ms->modcnt; -@@ -2150,6 +2152,8 @@ - } - if (cmd == SOUND_OLD_MIXER_INFO) { - _old_mixer_info info; -+ -+ memset(&info, 0, sizeof(info)); - strncpy(info.id, "USB_AUDIO", sizeof(info.id)); - strncpy(info.name, "USB Audio Class Driver", sizeof(info.name)); - if (copy_to_user((void *)arg, &info, sizeof(info))) -diff -Nru a/drivers/usb/brlvger.c b/drivers/usb/brlvger.c ---- a/drivers/usb/brlvger.c 2004-08-08 07:41:30 -07:00 -+++ b/drivers/usb/brlvger.c 2004-08-08 07:41:30 -07:00 -@@ -743,6 +743,7 @@ - case BRLVGER_GET_INFO: { - struct brlvger_info vi; - -+ memset(&vi, 0, sizeof(vi)); - strncpy(vi.driver_version, DRIVER_VERSION, - sizeof(vi.driver_version)); - vi.driver_version[sizeof(vi.driver_version)-1] = 0; -diff -Nru a/drivers/usb/serial/io_edgeport.c b/drivers/usb/serial/io_edgeport.c ---- a/drivers/usb/serial/io_edgeport.c 2004-08-08 07:41:30 -07:00 -+++ b/drivers/usb/serial/io_edgeport.c 2004-08-08 07:41:30 -07:00 -@@ -1913,6 +1913,7 @@ - - case TIOCGICOUNT: - cnow = edge_port->icount; -+ memset(&icount, 0, sizeof(icount)); - icount.cts = cnow.cts; - icount.dsr = cnow.dsr; - icount.rng = cnow.rng; -diff -Nru a/drivers/usb/vicam.c b/drivers/usb/vicam.c ---- a/drivers/usb/vicam.c 2004-08-08 07:41:30 -07:00 -+++ b/drivers/usb/vicam.c 2004-08-08 07:41:30 -07:00 -@@ -481,6 +481,7 @@ - struct video_capability b; - - DBG("VIDIOCGCAP\n"); -+ memset(&b, 0, sizeof(b)); - strcpy(b.name, "ViCam-based Camera"); - b.type = VID_TYPE_CAPTURE; - b.channels = 1; diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch deleted file mode 100644 index 771a07876c72..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-0841-fix_ldisc_switch.patch +++ /dev/null @@ -1,34 +0,0 @@ ---- drivers/char/tty_io.c~ 2004-11-16 13:44:03.027542320 +0300 -+++ drivers/char/tty_io.c 2004-11-16 13:45:53.229789032 +0300 -@@ -763,31 +763,6 @@ - spin_unlock_irqrestore(&tty_termios_lock, flags); - } - -- /* Defer ldisc switch */ -- /* tty_deferred_ldisc_switch(N_TTY); -- -- read_lock(&tasklist_lock); --#ifdef CONFIG_MOSIX -- for_each_local_task(p) { --#else -- for_each_task(p) { --#endif /* CONFIG_MOSIX */ -- if ((tty->session > 0) && (p->session == tty->session) && -- p->leader) { -- send_sig(SIGHUP,p,1); -- send_sig(SIGCONT,p,1); -- if (tty->pgrp > 0) -- p->tty_old_pgrp = tty->pgrp; -- } -- if (p->tty == tty) -- p->tty = NULL; -- } -- read_unlock(&tasklist_lock); -- -- tty->flags = 0; -- tty->session = 0; -- tty->pgrp = -1; -- tty->ctrl_status = 0; - /* - * If one of the devices matches a console pointer, we - * cannot just call hangup() because that will cause diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1016.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1016.patch deleted file mode 100644 index aa25ac95ed61..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1016.patch +++ /dev/null @@ -1,75 +0,0 @@ -===== include/linux/socket.h 1.12 vs edited ===== ---- 1.12/include/linux/socket.h 2004-09-09 06:40:01 +10:00 -+++ edited/include/linux/socket.h 2004-11-27 11:53:40 +11:00 -@@ -90,6 +90,10 @@ - (struct cmsghdr *)(ctl) : \ - (struct cmsghdr *)NULL) - #define CMSG_FIRSTHDR(msg) __CMSG_FIRSTHDR((msg)->msg_control, (msg)->msg_controllen) -+#define CMSG_OK(mhdr, cmsg) ((cmsg)->cmsg_len >= sizeof(struct cmsghdr) && \ -+ (cmsg)->cmsg_len <= (unsigned long) \ -+ ((mhdr)->msg_controllen - \ -+ ((char *)(cmsg) - (char *)(mhdr)->msg_control))) - - /* - * This mess will go away with glibc -===== net/core/scm.c 1.10 vs edited ===== ---- 1.10/net/core/scm.c 2004-05-31 05:08:14 +10:00 -+++ edited/net/core/scm.c 2004-11-27 11:48:55 +11:00 -@@ -127,9 +127,7 @@ - for too short ancillary data object at all! Oops. - OK, let's add it... - */ -- if (cmsg->cmsg_len < sizeof(struct cmsghdr) || -- (unsigned long)(((char*)cmsg - (char*)msg->msg_control) -- + cmsg->cmsg_len) > msg->msg_controllen) -+ if (!CMSG_OK(msg, cmsg)) - goto error; - - if (cmsg->cmsg_level != SOL_SOCKET) -===== net/ipv4/ip_sockglue.c 1.26 vs edited ===== ---- 1.26/net/ipv4/ip_sockglue.c 2004-07-01 06:10:53 +10:00 -+++ edited/net/ipv4/ip_sockglue.c 2004-11-27 11:49:45 +11:00 -@@ -146,11 +146,8 @@ - struct cmsghdr *cmsg; - - for (cmsg = CMSG_FIRSTHDR(msg); cmsg; cmsg = CMSG_NXTHDR(msg, cmsg)) { -- if (cmsg->cmsg_len < sizeof(struct cmsghdr) || -- (unsigned long)(((char*)cmsg - (char*)msg->msg_control) -- + cmsg->cmsg_len) > msg->msg_controllen) { -+ if (!CMSG_OK(msg, cmsg)) - return -EINVAL; -- } - if (cmsg->cmsg_level != SOL_IP) - continue; - switch (cmsg->cmsg_type) { -===== net/ipv6/datagram.c 1.20 vs edited ===== ---- 1.20/net/ipv6/datagram.c 2004-11-10 17:57:03 +11:00 -+++ edited/net/ipv6/datagram.c 2004-11-27 11:51:15 +11:00 -@@ -427,9 +427,7 @@ - int addr_type; - struct net_device *dev = NULL; - -- if (cmsg->cmsg_len < sizeof(struct cmsghdr) || -- (unsigned long)(((char*)cmsg - (char*)msg->msg_control) -- + cmsg->cmsg_len) > msg->msg_controllen) { -+ if (!CMSG_OK(msg, cmsg)) { - err = -EINVAL; - goto exit_f; - } -===== net/sctp/socket.c 1.129 vs edited ===== ---- 1.129/net/sctp/socket.c 2004-11-19 08:43:18 +11:00 -+++ edited/net/sctp/socket.c 2004-11-27 11:52:11 +11:00 -@@ -4098,12 +4098,8 @@ - for (cmsg = CMSG_FIRSTHDR(msg); - cmsg != NULL; - cmsg = CMSG_NXTHDR((struct msghdr*)msg, cmsg)) { -- /* Check for minimum length. The SCM code has this check. */ -- if (cmsg->cmsg_len < sizeof(struct cmsghdr) || -- (unsigned long)(((char*)cmsg - (char*)msg->msg_control) -- + cmsg->cmsg_len) > msg->msg_controllen) { -+ if (!CMSG_OK(msg, cmsg)) - return -EINVAL; -- } - - /* Should we parse this header or ignore? */ - if (cmsg->cmsg_level != IPPROTO_SCTP) diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1056.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1056.patch deleted file mode 100644 index 53b777acaac5..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1056.patch +++ /dev/null @@ -1,321 +0,0 @@ -diff -ur linux-2.4.28/drivers/char/drm/i810.h linux-2.4.28.plasmaroo/drivers/char/drm/i810.h ---- linux-2.4.28/drivers/char/drm/i810.h 2003-11-28 18:26:20.000000000 +0000 -+++ linux-2.4.28.plasmaroo/drivers/char/drm/i810.h 2004-12-23 16:26:31.000000000 +0000 -@@ -114,4 +114,14 @@ - #define DRIVER_AGP_BUFFERS_MAP( dev ) \ - ((drm_i810_private_t *)((dev)->dev_private))->buffer_map - -+#define LOCK_TEST_WITH_RETURN( dev ) \ -+do { \ -+ if ( !_DRM_LOCK_IS_HELD( dev->lock.hw_lock->lock ) || \ -+ dev->lock.pid != current->pid ) { \ -+ DRM_ERROR( "%s called without lock held\n", \ -+ __FUNCTION__ ); \ -+ return -EINVAL; \ -+ } \ -+} while (0) -+ - #endif -diff -ur linux-2.4.28/drivers/char/drm/i810_dma.c linux-2.4.28.plasmaroo/drivers/char/drm/i810_dma.c ---- linux-2.4.28/drivers/char/drm/i810_dma.c 2004-02-18 13:36:31.000000000 +0000 -+++ linux-2.4.28.plasmaroo/drivers/char/drm/i810_dma.c 2004-12-23 16:27:16.000000000 +0000 -@@ -948,10 +948,7 @@ - drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_flush_ioctl called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - i810_flush_queue(dev); - return 0; -@@ -973,10 +970,7 @@ - if (copy_from_user(&vertex, (drm_i810_vertex_t *)arg, sizeof(vertex))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_dma_vertex called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - if(vertex.idx < 0 || vertex.idx > dma->buf_count) return -EINVAL; - -@@ -1004,10 +998,7 @@ - if (copy_from_user(&clear, (drm_i810_clear_t *)arg, sizeof(clear))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_clear_bufs called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - /* GH: Someone's doing nasty things... */ - if (!dev->dev_private) { -@@ -1026,10 +1017,7 @@ - drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_swap_buf called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - i810_dma_dispatch_swap( dev ); - return 0; -@@ -1064,10 +1052,7 @@ - if (copy_from_user(&d, (drm_i810_dma_t *)arg, sizeof(d))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_dma called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - d.granted = 0; - -@@ -1174,11 +1159,7 @@ - if (copy_from_user(&mc, (drm_i810_mc_t *)arg, sizeof(mc))) - return -EFAULT; - -- -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_dma_mc called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - i810_dma_dispatch_mc(dev, dma->buflist[mc.idx], mc.used, - mc.last_render ); -@@ -1223,10 +1204,7 @@ - drm_device_t *dev = priv->dev; - drm_i810_private_t *dev_priv = (drm_i810_private_t *)dev->dev_private; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_fstatus called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - return I810_READ(0x30008); - } - -@@ -1237,10 +1215,7 @@ - drm_device_t *dev = priv->dev; - drm_i810_private_t *dev_priv = (drm_i810_private_t *)dev->dev_private; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_ov0_flip called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - //Tell the overlay to update - I810_WRITE(0x30000,dev_priv->overlay_physical | 0x80000000); -diff -ur linux-2.4.28/drivers/char/drm/i830.h linux-2.4.28.plasmaroo/drivers/char/drm/i830.h ---- linux-2.4.28/drivers/char/drm/i830.h 2003-11-28 18:26:20.000000000 +0000 -+++ linux-2.4.28.plasmaroo/drivers/char/drm/i830.h 2004-12-23 16:31:33.000000000 +0000 -@@ -154,4 +154,14 @@ - #define DRIVER_AGP_BUFFERS_MAP( dev ) \ - ((drm_i830_private_t *)((dev)->dev_private))->buffer_map - -+#define LOCK_TEST_WITH_RETURN( dev ) \ -+do { \ -+ if ( !_DRM_LOCK_IS_HELD( dev->lock.hw_lock->lock ) || \ -+ dev->lock.pid != current->pid ) { \ -+ DRM_ERROR( "%s called without lock held\n", \ -+ __FUNCTION__ ); \ -+ return -EINVAL; \ -+ } \ -+} while (0) -+ - #endif -diff -ur linux-2.4.28/drivers/char/drm/i830_dma.c linux-2.4.28.plasmaroo/drivers/char/drm/i830_dma.c ---- linux-2.4.28/drivers/char/drm/i830_dma.c 2004-02-18 13:36:31.000000000 +0000 -+++ linux-2.4.28.plasmaroo/drivers/char/drm/i830_dma.c 2004-12-23 16:32:08.000000000 +0000 -@@ -1330,10 +1330,7 @@ - drm_file_t *priv = filp->private_data; - drm_device_t *dev = priv->dev; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i830_flush_ioctl called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - i830_flush_queue(dev); - return 0; -@@ -1354,10 +1351,7 @@ - if (copy_from_user(&vertex, (drm_i830_vertex_t *)arg, sizeof(vertex))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i830_dma_vertex called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - DRM_DEBUG("i830 dma vertex, idx %d used %d discard %d\n", - vertex.idx, vertex.used, vertex.discard); -@@ -1384,10 +1378,7 @@ - if (copy_from_user(&clear, (drm_i830_clear_t *)arg, sizeof(clear))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i830_clear_bufs called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - /* GH: Someone's doing nasty things... */ - if (!dev->dev_private) { -@@ -1409,10 +1400,7 @@ - - DRM_DEBUG("i830_swap_bufs\n"); - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i830_swap_buf called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - i830_dma_dispatch_swap( dev ); - return 0; -@@ -1453,10 +1441,7 @@ - - DRM_DEBUG("%s\n", __FUNCTION__); - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i830_flip_buf called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - if (!dev_priv->page_flipping) - i830_do_init_pageflip( dev ); -@@ -1495,10 +1480,7 @@ - if (copy_from_user(&d, (drm_i830_dma_t *)arg, sizeof(d))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i830_dma called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - d.granted = 0; - -diff -ur linux-2.4.28/drivers/char/drm/i830_irq.c linux-2.4.28.plasmaroo/drivers/char/drm/i830_irq.c ---- linux-2.4.28/drivers/char/drm/i830_irq.c 2003-11-28 18:26:20.000000000 +0000 -+++ linux-2.4.28.plasmaroo/drivers/char/drm/i830_irq.c 2004-12-23 16:39:47.000000000 +0000 -@@ -130,10 +130,7 @@ - drm_i830_irq_emit_t emit; - int result; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i830_irq_emit called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - if ( !dev_priv ) { - DRM_ERROR( "%s called with no initialization\n", __FUNCTION__ ); -diff -ur linux-2.4.28/drivers/char/drm-4.0/drmP.h linux-2.4.28.plasmaroo/drivers/char/drm-4.0/drmP.h ---- linux-2.4.28/drivers/char/drm-4.0/drmP.h 2004-02-18 13:36:31.000000000 +0000 -+++ linux-2.4.28.plasmaroo/drivers/char/drm-4.0/drmP.h 2004-12-23 16:21:30.000000000 +0000 -@@ -294,6 +294,16 @@ - #define DRM_BUFCOUNT(x) ((x)->count - DRM_LEFTCOUNT(x)) - #define DRM_WAITCOUNT(dev,idx) DRM_BUFCOUNT(&dev->queuelist[idx]->waitlist) - -+#define LOCK_TEST_WITH_RETURN( dev ) \ -+do { \ -+ if ( !_DRM_LOCK_IS_HELD( dev->lock.hw_lock->lock ) || \ -+ dev->lock.pid != current->pid ) { \ -+ DRM_ERROR( "%s called without lock held\n", \ -+ __FUNCTION__ ); \ -+ return -EINVAL; \ -+ } \ -+} while (0) -+ - typedef int drm_ioctl_t(struct inode *inode, struct file *filp, - unsigned int cmd, unsigned long arg); - -diff -ur linux-2.4.28/drivers/char/drm-4.0/i810_dma.c linux-2.4.28.plasmaroo/drivers/char/drm-4.0/i810_dma.c ---- linux-2.4.28/drivers/char/drm-4.0/i810_dma.c 2004-02-18 13:36:31.000000000 +0000 -+++ linux-2.4.28.plasmaroo/drivers/char/drm-4.0/i810_dma.c 2004-12-23 16:21:30.000000000 +0000 -@@ -1249,10 +1249,7 @@ - drm_device_t *dev = priv->dev; - - DRM_DEBUG("i810_flush_ioctl\n"); -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_flush_ioctl called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - i810_flush_queue(dev); - return 0; -@@ -1274,10 +1271,7 @@ - if (copy_from_user(&vertex, (drm_i810_vertex_t *)arg, sizeof(vertex))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_dma_vertex called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - DRM_DEBUG("i810 dma vertex, idx %d used %d discard %d\n", - vertex.idx, vertex.used, vertex.discard); -@@ -1308,10 +1302,7 @@ - if (copy_from_user(&clear, (drm_i810_clear_t *)arg, sizeof(clear))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_clear_bufs called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - i810_dma_dispatch_clear( dev, clear.flags, - clear.clear_color, -@@ -1327,10 +1318,7 @@ - - DRM_DEBUG("i810_swap_bufs\n"); - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_swap_buf called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - i810_dma_dispatch_swap( dev ); - return 0; -@@ -1366,10 +1354,7 @@ - if (copy_from_user(&d, (drm_i810_dma_t *)arg, sizeof(d))) - return -EFAULT; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_dma called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - d.granted = 0; - -@@ -1399,10 +1384,7 @@ - drm_i810_buf_priv_t *buf_priv; - drm_device_dma_t *dma = dev->dma; - -- if(!_DRM_LOCK_IS_HELD(dev->lock.hw_lock->lock)) { -- DRM_ERROR("i810_dma called without lock held\n"); -- return -EINVAL; -- } -+ LOCK_TEST_WITH_RETURN(dev); - - if (copy_from_user(&d, (drm_i810_copy_t *)arg, sizeof(d))) - return -EFAULT; diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1137.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1137.patch deleted file mode 100644 index f64ebb005962..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1137.patch +++ /dev/null @@ -1,59 +0,0 @@ ---- 1.58/net/ipv4/igmp.c 2004-11-09 16:44:25 -08:00 -+++ edited/net/ipv4/igmp.c 2004-12-10 15:16:17 -08:00 -@@ -1778,12 +1778,12 @@ int ip_mc_source(int add, int omode, str - goto done; - rv = !0; - for (i=0; isl_count; i++) { -- rv = memcmp(&psl->sl_addr, &mreqs->imr_multiaddr, -+ rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, - sizeof(__u32)); -- if (rv >= 0) -+ if (rv == 0) - break; - } -- if (!rv) /* source not found */ -+ if (rv) /* source not found */ - goto done; - - /* update the interface filter */ -@@ -1825,9 +1825,9 @@ int ip_mc_source(int add, int omode, str - } - rv = 1; /* > 0 for insert logic below if sl_count is 0 */ - for (i=0; isl_count; i++) { -- rv = memcmp(&psl->sl_addr, &mreqs->imr_multiaddr, -+ rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr, - sizeof(__u32)); -- if (rv >= 0) -+ if (rv == 0) - break; - } - if (rv == 0) /* address already there is an error */ ---- 1.71/net/ipv6/mcast.c 2004-11-11 15:07:25 -08:00 -+++ edited/net/ipv6/mcast.c 2004-12-10 17:20:46 -08:00 -@@ -391,12 +391,12 @@ int ip6_mc_source(int add, int omode, st - goto done; - rv = !0; - for (i=0; isl_count; i++) { -- rv = memcmp(&psl->sl_addr, group, -+ rv = memcmp(&psl->sl_addr[i], source, - sizeof(struct in6_addr)); -- if (rv >= 0) -+ if (rv == 0) - break; - } -- if (!rv) /* source not found */ -+ if (rv) /* source not found */ - goto done; - - /* update the interface filter */ -@@ -437,8 +437,8 @@ int ip6_mc_source(int add, int omode, st - } - rv = 1; /* > 0 for insert logic below if sl_count is 0 */ - for (i=0; isl_count; i++) { -- rv = memcmp(&psl->sl_addr, group, sizeof(struct in6_addr)); -- if (rv >= 0) -+ rv = memcmp(&psl->sl_addr[i], source, sizeof(struct in6_addr)); -+ if (rv == 0) - break; - } - if (rv == 0) /* address already there is an error */ diff --git a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1235.patch b/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1235.patch deleted file mode 100644 index d72d2dc8b6c7..000000000000 --- a/sys-kernel/openmosix-sources/files/openmosix-sources.CAN-2004-1235.patch +++ /dev/null @@ -1,247 +0,0 @@ -diff -uraN linux-2.4.28-openmosix-r4/arch/mips/kernel/irixelf.c linux-2.4.28-openmosix-r5/arch/mips/kernel/irixelf.c ---- linux-2.4.28-openmosix-r4/arch/mips/kernel/irixelf.c 2005-01-10 19:20:46.000000000 +0300 -+++ linux-2.4.28-openmosix-r5/arch/mips/kernel/irixelf.c 2005-01-10 19:21:46.000000000 +0300 -@@ -130,7 +130,7 @@ - end = PAGE_ALIGN(end); - if (end <= start) - return; -- do_brk(start, end - start); -+ do_brk_locked(start, end - start); - } - - -@@ -379,7 +379,7 @@ - - /* Map the last of the bss segment */ - if (last_bss > len) { -- do_brk(len, (last_bss - len)); -+ do_brk_locked(len, (last_bss - len)); - } - kfree(elf_phdata); - -@@ -567,7 +567,7 @@ - unsigned long v; - struct prda *pp; - -- v = do_brk (PRDA_ADDRESS, PAGE_SIZE); -+ v = do_brk_locked (PRDA_ADDRESS, PAGE_SIZE); - - if (v < 0) - return; -@@ -859,7 +859,7 @@ - len = (elf_phdata->p_filesz + elf_phdata->p_vaddr+ 0xfff) & 0xfffff000; - bss = elf_phdata->p_memsz + elf_phdata->p_vaddr; - if (bss > len) -- do_brk(len, bss-len); -+ do_brk_locked(len, bss-len); - kfree(elf_phdata); - return 0; - } -diff -uraN linux-2.4.28-openmosix-r4/arch/sparc64/kernel/binfmt_aout32.c linux-2.4.28-openmosix-r5/arch/sparc64/kernel/binfmt_aout32.c ---- linux-2.4.28-openmosix-r4/arch/sparc64/kernel/binfmt_aout32.c 2005-01-10 19:20:47.000000000 +0300 -+++ linux-2.4.28-openmosix-r5/arch/sparc64/kernel/binfmt_aout32.c 2005-01-10 19:21:46.000000000 +0300 -@@ -49,7 +49,7 @@ - end = PAGE_ALIGN(end); - if (end <= start) - return; -- do_brk(start, end - start); -+ do_brk_locked(start, end - start); - } - - /* -@@ -246,10 +246,10 @@ - if (N_MAGIC(ex) == NMAGIC) { - loff_t pos = fd_offset; - /* Fuck me plenty... */ -- error = do_brk(N_TXTADDR(ex), ex.a_text); -+ error = do_brk_locked(N_TXTADDR(ex), ex.a_text); - bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex), - ex.a_text, &pos); -- error = do_brk(N_DATADDR(ex), ex.a_data); -+ error = do_brk_locked(N_DATADDR(ex), ex.a_data); - bprm->file->f_op->read(bprm->file, (char *) N_DATADDR(ex), - ex.a_data, &pos); - goto beyond_if; -@@ -257,7 +257,7 @@ - - if (N_MAGIC(ex) == OMAGIC) { - loff_t pos = fd_offset; -- do_brk(N_TXTADDR(ex) & PAGE_MASK, -+ do_brk_locked(N_TXTADDR(ex) & PAGE_MASK, - ex.a_text+ex.a_data + PAGE_SIZE - 1); - bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex), - ex.a_text+ex.a_data, &pos); -@@ -272,7 +272,7 @@ - - if (!bprm->file->f_op->mmap) { - loff_t pos = fd_offset; -- do_brk(0, ex.a_text+ex.a_data); -+ do_brk_locked(0, ex.a_text+ex.a_data); - bprm->file->f_op->read(bprm->file,(char *)N_TXTADDR(ex), - ex.a_text+ex.a_data, &pos); - goto beyond_if; -@@ -388,7 +388,7 @@ - len = PAGE_ALIGN(ex.a_text + ex.a_data); - bss = ex.a_text + ex.a_data + ex.a_bss; - if (bss > len) { -- error = do_brk(start_addr + len, bss - len); -+ error = do_brk_locked(start_addr + len, bss - len); - retval = error; - if (error != start_addr + len) - goto out; -diff -uraN linux-2.4.28-openmosix-r4/fs/binfmt_aout.c linux-2.4.28-openmosix-r5/fs/binfmt_aout.c ---- linux-2.4.28-openmosix-r4/fs/binfmt_aout.c 2005-01-10 19:20:43.000000000 +0300 -+++ linux-2.4.28-openmosix-r5/fs/binfmt_aout.c 2005-01-10 19:22:48.000000000 +0300 -@@ -48,7 +48,7 @@ - start = PAGE_ALIGN(start); - end = PAGE_ALIGN(end); - if (end > start) { -- unsigned long addr = do_brk(start, end - start); -+ unsigned long addr = do_brk_locked(start, end - start); - if ((unsigned long) addr >= TASK_SIZE) - return addr; - } -@@ -343,10 +343,10 @@ - loff_t pos = fd_offset; - /* Fuck me plenty... */ - /* */ -- error = do_brk(N_TXTADDR(ex), ex.a_text); -+ error = do_brk_locked(N_TXTADDR(ex), ex.a_text); - bprm->file->f_op->read(bprm->file, (char *) N_TXTADDR(ex), - ex.a_text, &pos); -- error = do_brk(N_DATADDR(ex), ex.a_data); -+ error = do_brk_locked(N_DATADDR(ex), ex.a_data); - bprm->file->f_op->read(bprm->file, (char *) N_DATADDR(ex), - ex.a_data, &pos); - goto beyond_if; -@@ -367,7 +367,7 @@ - map_size = ex.a_text+ex.a_data; - #endif - -- error = do_brk(text_addr & PAGE_MASK, map_size); -+ error = do_brk_locked(text_addr & PAGE_MASK, map_size); - if (error != (text_addr & PAGE_MASK)) { - send_sig(SIGKILL, current, 0); - return error; -@@ -404,7 +404,7 @@ - - if (!bprm->file->f_op->mmap||((fd_offset & ~PAGE_MASK) != 0)) { - loff_t pos = fd_offset; -- do_brk(N_TXTADDR(ex), ex.a_text+ex.a_data); -+ do_brk_locked(N_TXTADDR(ex), ex.a_text+ex.a_data); - bprm->file->f_op->read(bprm->file,(char *)N_TXTADDR(ex), - ex.a_text+ex.a_data, &pos); - flush_icache_range((unsigned long) N_TXTADDR(ex), -@@ -570,7 +570,7 @@ - error_time = jiffies; - } - -- do_brk(start_addr, ex.a_text + ex.a_data + ex.a_bss); -+ do_brk_locked(start_addr, ex.a_text + ex.a_data + ex.a_bss); - - file->f_op->read(file, (char *)start_addr, - ex.a_text + ex.a_data, &pos); -@@ -601,7 +601,7 @@ - len = PAGE_ALIGN(ex.a_text + ex.a_data); - bss = ex.a_text + ex.a_data + ex.a_bss; - if (bss > len) { -- error = do_brk(start_addr + len, bss - len); -+ error = do_brk_locked(start_addr + len, bss - len); - retval = error; - if (error != start_addr + len) - goto out; -diff -uraN linux-2.4.28-openmosix-r4/fs/binfmt_elf.c linux-2.4.28-openmosix-r5/fs/binfmt_elf.c ---- linux-2.4.28-openmosix-r4/fs/binfmt_elf.c 2005-01-10 19:20:43.000000000 +0300 -+++ linux-2.4.28-openmosix-r5/fs/binfmt_elf.c 2005-01-10 19:21:46.000000000 +0300 -@@ -89,7 +89,7 @@ - end = ELF_PAGEALIGN(end); - if (end <= start) - return; -- do_brk(start, end - start); -+ do_brk_locked(start, end - start); - } - - -@@ -388,7 +388,7 @@ - - /* Map the last of the bss segment */ - if (last_bss > elf_bss) -- do_brk(elf_bss, last_bss - elf_bss); -+ do_brk_locked(elf_bss, last_bss - elf_bss); - - *interp_load_addr = load_addr; - error = ((unsigned long) interp_elf_ex->e_entry) + load_addr; -@@ -438,7 +438,7 @@ - goto out; - } - -- do_brk(0, text_data); -+ do_brk_locked(0, text_data); - if (!interpreter->f_op || !interpreter->f_op->read) - goto out; - if (interpreter->f_op->read(interpreter, addr, text_data, &offset) < 0) -@@ -452,7 +452,7 @@ - flush_icache_range((unsigned long)addr, - (unsigned long)addr + text_data); - -- do_brk(ELF_PAGESTART(text_data + ELF_MIN_ALIGN - 1), -+ do_brk_locked(ELF_PAGESTART(text_data + ELF_MIN_ALIGN - 1), - interp_ex->a_bss); - elf_entry = interp_ex->a_entry; - -@@ -1097,7 +1097,7 @@ - len = ELF_PAGESTART(elf_phdata->p_filesz + elf_phdata->p_vaddr + ELF_MIN_ALIGN - 1); - bss = elf_phdata->p_memsz + elf_phdata->p_vaddr; - if (bss > len) -- do_brk(len, bss - len); -+ do_brk_locked(len, bss - len); - error = 0; - - out_free_ph: -diff -uraN linux-2.4.28-openmosix-r4/include/linux/mm.h linux-2.4.28-openmosix-r5/include/linux/mm.h ---- linux-2.4.28-openmosix-r4/include/linux/mm.h 2005-01-10 19:21:21.000000000 +0300 -+++ linux-2.4.28-openmosix-r5/include/linux/mm.h 2005-01-10 19:21:46.000000000 +0300 -@@ -575,6 +575,7 @@ - extern int do_munmap(struct mm_struct *, unsigned long, size_t); - - extern unsigned long do_brk(unsigned long, unsigned long); -+extern unsigned long do_brk_locked(unsigned long, unsigned long); - - static inline void __vma_unlink(struct mm_struct * mm, struct vm_area_struct * vma, struct vm_area_struct * prev) - { -diff -uraN linux-2.4.28-openmosix-r4/kernel/ksyms.c linux-2.4.28-openmosix-r5/kernel/ksyms.c ---- linux-2.4.28-openmosix-r4/kernel/ksyms.c 2005-01-10 19:21:17.000000000 +0300 -+++ linux-2.4.28-openmosix-r5/kernel/ksyms.c 2005-01-10 19:21:46.000000000 +0300 -@@ -88,6 +88,7 @@ - EXPORT_SYMBOL(do_mmap_pgoff); - EXPORT_SYMBOL(do_munmap); - EXPORT_SYMBOL(do_brk); -+EXPORT_SYMBOL(do_brk_locked); - EXPORT_SYMBOL(exit_mm); - EXPORT_SYMBOL(exit_files); - EXPORT_SYMBOL(exit_fs); -diff -uraN linux-2.4.28-openmosix-r4/mm/mmap.c linux-2.4.28-openmosix-r5/mm/mmap.c ---- linux-2.4.28-openmosix-r4/mm/mmap.c 2005-01-10 19:20:43.000000000 +0300 -+++ linux-2.4.28-openmosix-r5/mm/mmap.c 2005-01-10 19:21:46.000000000 +0300 -@@ -1392,6 +1392,21 @@ - return addr; - } - -+/* locking version of do_brk. */ -+unsigned long do_brk_locked(unsigned long addr, unsigned long len) -+{ -+ unsigned long ret; -+ -+ down_write(¤t->mm->mmap_sem); -+ ret = do_brk(addr, len); -+ up_write(¤t->mm->mmap_sem); -+ -+ return ret; -+} -+ -+ -+ -+ - /* Build the RB tree corresponding to the VMA list. */ - void build_mmap_rb(struct mm_struct * mm) - { diff --git a/sys-kernel/openmosix-sources/metadata.xml b/sys-kernel/openmosix-sources/metadata.xml deleted file mode 100644 index db933d7a6217..000000000000 --- a/sys-kernel/openmosix-sources/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ - - - -cluster - - tantive@gentoo.org - Michael Imhof - Release manager, patch manager - - diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r10.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r10.ebuild deleted file mode 100644 index f121a58f72a0..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r10.ebuild +++ /dev/null @@ -1,86 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.24-r10.ebuild,v 1.6 2005/07/14 18:32:16 voxus Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel eutils linux-info - -OKV="2.4.24" -OMV="2" -[ "${PR}" == "r0" ] && KV=${PV/_/-}-openmosix || KV=${PV/_/-}-openmosix-${PR} -S=${WORKDIR}/linux-${KV} - -# What's in this kernel? - -# INCLUDED: -# 2.4.22, plus: -# 2.4.22 openmosix-2.4.22-3 -# various security patches - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2 -mirror://sourceforge/openmosix/openMosix-${OKV}-${OMV}.bz2 -http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.4.23-CAN-2004-0415.patch -http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/linux-2.4.26-CAN-2004-0814.patch -mirror://gentoo/linux-2.4.27-nfs3-xdr.patch.bz2" - -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ http://www.gentoo.org/ http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="-* ~x86" -IUSE="" - -src_unpack() { - unpack linux-${OKV}.tar.bz2 - mv linux-${OKV} linux-${KV} || die - cd linux-${KV} - - epatch ${DISTDIR}/openMosix-${OKV}-${OMV}.bz2 || die "openMosix patch failed" - - epatch ${FILESDIR}/${PN}.CAN-2003-0985.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0001.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0010.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0177.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0178.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0181.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0495.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0497.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0535.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}.CAN-2004-0685.patch || die "Security patch failed" - epatch ${FILESDIR}/cmdline-proc-fix.patch || die "Security patch failed" - epatch ${FILESDIR}/${PN}-binfmt_elf.patch || die "Security patch failed" - - epatch ${DISTDIR}/linux-2.4.23-CAN-2004-0415.patch || die "Failed to add CAN-2004-0415" - epatch ${DISTDIR}/linux-2.4.26-CAN-2004-0814.patch || die "Failed to add CAN-2004-0814" - epatch ${FILESDIR}/${PN}.CAN-2004-0841-fix_ldisc_switch.patch || die "Antipatch failed." - epatch ${DISTDIR}/linux-2.4.27-nfs3-xdr.patch.bz2 || die "Failed to add nfs3-xdk patch" - epatch ${FILESDIR}/${PN}-${PV}-smbfs.patch || die "Failed to add smbfs patch" - epatch ${FILESDIR}/${PN}-af_unix.patch || die "Failed to add af_unix patch" - - kernel_universal_unpack -} - -pkg_postinst() { - einfo - ewarn "openmosix-sources <2.4.28 is obsoleted due to security reasons" - ewarn "and will be dropped from tree soon" - ewarn "please, take a look at >=openmosix-sources-2.4.28" - einfo - - echo - - einfo - ewarn "using this obsoleted and unsupported sources you are always" - ewarn "under high security risc." - einfo - - [ "$ETYPE" = "headers" ] && return - if [ ! -e ${ROOT}usr/src/linux ] - then - rm -f ${ROOT}usr/src/linux - ln -sf linux-${KV} ${ROOT}/usr/src/linux - fi -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.26-r1.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.26-r1.ebuild deleted file mode 100644 index 551db65ab1dc..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.26-r1.ebuild +++ /dev/null @@ -1,39 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.26-r1.ebuild,v 1.4 2005/07/14 18:32:16 voxus Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel-2 eutils - -[ "${PR}" == "r0" ] && KV=${PV/_/-}-openmosix || KV=${PV/_/-}-openmosix-${PR} -S=${WORKDIR}/linux-${KV} - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${PV}.tar.bz2 - mirror://sourceforge/openmosix/openMosix-2.4.26-1.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ - http://www.openmosix.org/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="-* ~x86" -IUSE="" - -src_unpack() { - unpack linux-${PV}.tar.bz2 - mv linux-${PV} linux-${KV} - cd linux-${KV} - epatch ${DISTDIR}/openMosix-${PV}-${PR/r/}.bz2 || die "openMosix patch failed." - - unpack_2_4 -} - -pkg_postinst() { - echo - ewarn "Please, note that MFS and DFSA support is now Officially dropped." - echo - einfo "For documentation about setting up your cluster - consider look at" - einfo "http://www.gentoo.org/doc/en/openmosix-howto.xml" - echo -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.30-r3.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.30-r3.ebuild deleted file mode 100644 index d7e2d9a9d6f3..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.30-r3.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.30-r3.ebuild,v 1.2 2005/07/14 13:09:56 voxus Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel-2 eutils - -TIMESTAMP="20050527" -[ "${PR}" == "r0" ] && KV=${PV/_/-}-openmosix || KV=${PV/_/-}-openmosix-${PR} -S=${WORKDIR}/linux-${KV} - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel, including shared memory migration patch (migshm)" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${PV}.tar.bz2 - http://dev.gentoo.org/~voxus/om/patch-${PV}-om-migshm-no-mfs-${TIMESTAMP}.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ - http://www.openmosix.org/ - http://openmosix.snarc.org/ - http://dev.gentoo.org/~voxus/om/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="-* x86" -IUSE="" - -src_unpack() { - unpack linux-${PV}.tar.bz2 - mv linux-${PV} linux-${KV} - cd linux-${KV} - epatch ${DISTDIR}/patch-${PV}-om-migshm-no-mfs-${TIMESTAMP}.bz2 || die "openMosix patch failed." - - unpack_2_4 -} - -pkg_postinst() { - echo - ewarn "Please, note that MFS and DFSA support is now Officially dropped." - echo - einfo "For documentation about setting up your cluster - consider look at" - einfo "http://www.gentoo.org/doc/en/openmosix-howto.xml" - echo -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.4.32.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.4.32.ebuild deleted file mode 100644 index 50724be4877e..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.4.32.ebuild +++ /dev/null @@ -1,42 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.4.32.ebuild,v 1.1 2006/04/17 21:28:20 voxus Exp $ -#OKV=original kernel version, KV=patched kernel version. They can be the same. - -ETYPE="sources" -inherit kernel-2 eutils - -TIMESTAMP="20060417" -[ "${PR}" == "r0" ] && KV=${PV/_/-}-openmosix || KV=${PV/_/-}-openmosix-${PR} -S=${WORKDIR}/linux-${KV} - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel, including shared memory migration patch (migshm)" -SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${PV}.tar.bz2 - http://dev.gentoo.org/~voxus/om/patch-${PV}-om-migshm-no-mfs-${TIMESTAMP}.bz2" -PROVIDE="virtual/linux-sources" -HOMEPAGE="http://www.kernel.org/ - http://www.openmosix.org/ - http://openmosix.snarc.org/ - http://dev.gentoo.org/~voxus/om/" -LICENSE="GPL-2" -SLOT="${KV}" -KEYWORDS="-* ~x86" -IUSE="" - -src_unpack() { - unpack linux-${PV}.tar.bz2 - mv linux-${PV} linux-${KV} - cd linux-${KV} - epatch ${DISTDIR}/patch-${PV}-om-migshm-no-mfs-${TIMESTAMP}.bz2 || die "openMosix patch failed." - - unpack_2_4 -} - -pkg_postinst() { - echo - ewarn "Please, note that MFS and DFSA support is now Officially dropped." - echo - einfo "For documentation about setting up your cluster - consider look at" - einfo "http://www.gentoo.org/doc/en/openmosix-howto.xml" - echo -} diff --git a/sys-kernel/openmosix-sources/openmosix-sources-2.6.12.577.ebuild b/sys-kernel/openmosix-sources/openmosix-sources-2.6.12.577.ebuild deleted file mode 100644 index 2b86c5840450..000000000000 --- a/sys-kernel/openmosix-sources/openmosix-sources-2.6.12.577.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-kernel/openmosix-sources/openmosix-sources-2.6.12.577.ebuild,v 1.1 2005/08/03 14:04:39 voxus Exp $ - -ETYPE="sources" - -# stripping oM's revision -inherit versionator eutils - -OMR="$(get_version_component_range 4 ${PV})" -OKV="$(get_version_component_range 1-3 ${OKV})" -EXTRAVERSION="-openmosix-r${OMR}" - -inherit kernel-2 - -detect_version -detect_arch - -KV_FULL=${OKV}-openmosix-r${OMR} - -# version of gentoo patchset -GPV="12-11" -GPV_SRC="mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.base.tar.bz2 - mirror://gentoo/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.extras.tar.bz2" - -KEYWORDS="~amd64 ~x86" - -HOMEPAGE="http://openmosix.snarc.org/" - -UNIPATCH_LIST="${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.base.tar.bz2 - ${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.extras.tar.bz2 - ${DISTDIR}/patch-${OKV}-om-r${OMR}.bz2" - -UNIPATCH_STRICTORDER="genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.base.tar.bz2 - ${DISTDIR}/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}.extras.tar.bz2 - ${DISTDIR}/patch-${OKV}-om-r${OMR}.bz2" - -UNIPATCH_DOCS="${WORKDIR}/patches/genpatches-${KV_MAJOR}.${KV_MINOR}.${GPV}/0000_README" - -OM_SRC="http://openmosix.snarc.org/files/releases/2.6/patch-${OKV}-om-r${OMR}.bz2" - -DESCRIPTION="Full sources for the Gentoo openMosix Linux kernel ${KV_MAJOR}.${KV_MINOR} kernel tree" -SRC_URI="${KERNEL_URI} ${GPV_SRC} ${ARCH_URI} ${OM_SRC}" - -src_unpack() { - kernel-2_src_unpack - - epatch ${FILESDIR}/${PN}-extraversion.patch -} - -pkg_postinst() { - postinst_sources - - echo - - einfo "For more info on this patchset, and how to report problems, see:" - einfo "${HOMEPAGE}" -} -- 2.26.2