summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <dsd@gentoo.org>2005-05-01 22:46:17 +0000
committerDaniel Drake <dsd@gentoo.org>2005-05-01 22:46:17 +0000
commit04cecd89c3939f8c15354880b670b84bf4e9bbbf (patch)
treebeb73b43a03e9f72d16a0e589f17a59f66c3b5c8 /sys-kernel
parent~mips (diff)
downloadhistorical-04cecd89c3939f8c15354880b670b84bf4e9bbbf.tar.gz
historical-04cecd89c3939f8c15354880b670b84bf4e9bbbf.tar.bz2
historical-04cecd89c3939f8c15354880b670b84bf4e9bbbf.zip
Remove stale versions
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'sys-kernel')
-rw-r--r--sys-kernel/wolk-sources/ChangeLog21
-rw-r--r--sys-kernel/wolk-sources/Manifest70
-rw-r--r--sys-kernel/wolk-sources/files/digest-wolk-sources-4.11-r175
-rw-r--r--sys-kernel/wolk-sources/files/digest-wolk-sources-4.9-r2118
-rw-r--r--sys-kernel/wolk-sources/files/do_brk_fix.patch12
-rw-r--r--sys-kernel/wolk-sources/files/patches.txt269
-rw-r--r--sys-kernel/wolk-sources/files/wolk-4.9s-page.h.patch20
-rw-r--r--sys-kernel/wolk-sources/files/wolk-4.9s-setup.c.patch11
-rw-r--r--sys-kernel/wolk-sources/files/wolk-4.9s-speedstep.c.patch30
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources-4.9s.77666.patch44
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-0010.patch200
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-0685.patch83
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-1056.patch319
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources-4.9s.brk-locked.patch265
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources-4.9s.munmap.patch27
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources-4.9s.rtc_fix.patch156
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0643.patch26
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0985.patch13
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0109.patch87
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0177.patch10
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0178.patch11
-rw-r--r--sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch14
-rw-r--r--sys-kernel/wolk-sources/wolk-sources-4.11-r17.ebuild76
-rw-r--r--sys-kernel/wolk-sources/wolk-sources-4.9-r21.ebuild131
24 files changed, 49 insertions, 1869 deletions
diff --git a/sys-kernel/wolk-sources/ChangeLog b/sys-kernel/wolk-sources/ChangeLog
index b8627732b183..f54508e6eb7f 100644
--- a/sys-kernel/wolk-sources/ChangeLog
+++ b/sys-kernel/wolk-sources/ChangeLog
@@ -1,6 +1,25 @@
# ChangeLog for sys-kernel/wolk-sources
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-kernel/wolk-sources/ChangeLog,v 1.65 2005/03/26 18:41:50 plasmaroo Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-kernel/wolk-sources/ChangeLog,v 1.66 2005/05/01 22:46:17 dsd Exp $
+
+ 01 May 2005; Daniel Drake <dsd@gentoo.org>
+ -files/wolk-sources-4.9s.CAN-2004-1056.patch,
+ -files/wolk-sources-4.9s.77666.patch,
+ -files/wolk-sources-4.9s.CAN-2004-0010.patch,
+ -files/wolk-sources-4.9s.CAN-2004-0685.patch,
+ -files/wolk-sources-4.9s.brk-locked.patch,
+ -files/wolk-sources-4.9s.munmap.patch,
+ -files/wolk-sources-4.9s.rtc_fix.patch, -files/wolk-4.9s-page.h.patch,
+ -files/wolk-4.9s-setup.c.patch, -files/wolk-4.9s-speedstep.c.patch,
+ -files/wolk-sources.CAN-2003-0643.patch,
+ -files/wolk-sources.CAN-2003-0985.patch,
+ -files/wolk-sources.CAN-2004-0109.patch,
+ -files/wolk-sources.CAN-2004-0177.patch,
+ -files/wolk-sources.CAN-2004-0178.patch,
+ -files/wolk-sources.CAN-2004-0427.patch, -files/do_brk_fix.patch,
+ -files/patches.txt, -wolk-sources-4.9-r21.ebuild,
+ -wolk-sources-4.11-r17.ebuild:
+ Remove stale versions
*wolk-sources-4.14-r14 (26 Mar 2005)
diff --git a/sys-kernel/wolk-sources/Manifest b/sys-kernel/wolk-sources/Manifest
index 47f797fdc2b1..dccd4f00fc5d 100644
--- a/sys-kernel/wolk-sources/Manifest
+++ b/sys-kernel/wolk-sources/Manifest
@@ -1,50 +1,38 @@
-MD5 2353922bd70c7c195b0ca415f860d0eb ChangeLog 22018
-MD5 96e1fb420ee684ea7ae926ef13f6942d wolk-sources-4.9-r21.ebuild 7282
-MD5 6fd890f722da90b57c3c3f37ff79c75e metadata.xml 226
-MD5 42fab717ea07b6dffd09247bc6bdd085 wolk-sources-4.11-r17.ebuild 4244
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 d8584a84f602f7da97f4ae8211008c24 wolk-sources-4.14-r14.ebuild 2911
-MD5 0f66013f643c79c97fda489618a4e2fd files/wolk-sources.CAN-2004-0535.patch 476
-MD5 e47f4118ace22fbcd917d36fdc648c3c files/wolk-sources-4.9s.CAN-2004-1056.patch 11020
-MD5 94f64fabbe4227cbd1e0ccfb551683a8 files/wolk-sources-4.9s.77666.patch 1848
-MD5 d5efa40a4cca5b1a29d16204dd1f3a32 files/wolk-4.9s-page.h.patch 635
-MD5 0f93b46ae17cbd0fc9b4d1cf5d704296 files/wolk-sources.81106.patch 2243
-MD5 b0a1f80aff51d6601e8924329023b241 files/wolk-sources.AF_UNIX.patch 515
+MD5 0850a76d7c4d4a43b8e238742c45e34d ChangeLog 22863
+MD5 6fd890f722da90b57c3c3f37ff79c75e metadata.xml 226
+MD5 5bf9836a632a861728d33f9736bb7431 files/wolk-sources.CAN-2004-0133.patch 427
+MD5 aed7a106fcfdb29da439814c2454ea94 files/wolk-sources.78362.patch 9139
MD5 1efe4024e443e60db5fd9b21b22fabd2 files/wolk-sources.77666.patch 1724
-MD5 aa193a78c4f2fdd248f992db935c7895 files/wolk-sources-4.9s.CAN-2004-0010.patch 6065
-MD5 ac42024b6e6ee1e2165914db4b22a61c files/wolk-sources.CAN-2004-0178.patch 424
-MD5 21f3a4f186017d925067335e24db36a1 files/wolk-sources.CAN-2004-0109.patch 1877
-MD5 94da93ba922ec8143b6d7a8470747fb5 files/wolk-4.9s-setup.c.patch 531
+MD5 60d25ff310fc6abfdce39ec9e47345af files/wolk-sources.CAN-2004-0685.patch 2809
+MD5 d1ccc2047be533c992f67270a150a210 files/wolk-sources.cmdlineLeak.patch 388
MD5 a4cb2b30bc0ad5f4f3913a6ec2ddfe1a files/wolk-sources.binfmt_elf.patch 2618
-MD5 6ed89b8ac0b47a4c25d3a616ef9245cc files/wolk-sources.vma.patch 11369
MD5 1d78b90e495e432432e095ee47bbc2fc files/wolk-sources.77094.patch 452
-MD5 5bf9836a632a861728d33f9736bb7431 files/wolk-sources.CAN-2004-0133.patch 427
+MD5 2b3ddb8b8b15f8da35ade38544b57857 files/wolk-sources.XDRWrapFix.patch 1499
+MD5 c32e94fe7d557cb533bc29193d1706f0 files/digest-wolk-sources-4.14-r14 251
+MD5 792fa9165e5ae65d46ee206c7f7a4fc9 files/wolk-sources.78363.patch 788
+MD5 b9a94233e1457787352e5f85e3e3582d files/wolk-sources.binfmt_a.out.patch 2009
+MD5 757ee1239c3f14645ccea3640d551e11 files/wolk-sources.CAN-2004-1056.patch 11249
MD5 c9da1bc82b906f6abc648c056e7bf662 files/wolk-sources.FPULockup-53804.patch 354
+MD5 0f66013f643c79c97fda489618a4e2fd files/wolk-sources.CAN-2004-0535.patch 476
MD5 dc18e982f8149588a291956481885a8c files/wolk-sources.CAN-2004-0495.patch 17549
-MD5 2ca46d61e534cfd18a965e9ae8e870e2 files/binfmt_elf.patch 2347
-MD5 c460ea130cb4ae84a5063ba044e3ce72 files/wolk-sources.CAN-2004-0427.patch 460
-MD5 3bdf00d5f80fe9dfbfe8220e076cd04c files/wolk-sources.CAN-2004-0497.patch 707
-MD5 29e531cdd3f2effce5e31a1f2afb5b5d files/wolk-sources-4.9s.brk-locked.patch 8912
-MD5 b9a94233e1457787352e5f85e3e3582d files/wolk-sources.binfmt_a.out.patch 2009
-MD5 d4a740ae56c2049247083af387a22a85 files/wolk-sources.CAN-2004-0394.patch 350
-MD5 528da73c9e4a6fb017561e51dc0ab815 files/wolk-sources.CAN-2003-0643.patch 747
MD5 1e1fe7bb98c80db4644f4b7fd7dd5d32 files/wolk-sources.smbfs.patch 3434
-MD5 d4ef22c0e842ad7a48980130bf579e6e files/wolk-4.9s-speedstep.c.patch 777
-MD5 bf7030a67c46e734e2a7ea9265a45191 files/wolk-sources.brk-locked.patch 8859
MD5 de75cfa969ed092578d9ddda6c5be334 files/wolk-sources.CAN-2004-0181.patch 1233
-MD5 60d25ff310fc6abfdce39ec9e47345af files/wolk-sources.CAN-2004-0685.patch 2809
-MD5 792fa9165e5ae65d46ee206c7f7a4fc9 files/wolk-sources.78363.patch 788
-MD5 d1ccc2047be533c992f67270a150a210 files/wolk-sources.cmdlineLeak.patch 388
-MD5 e7b64a09d10444ca699e9696a4035c3e files/patches.txt 12893
-MD5 c32e94fe7d557cb533bc29193d1706f0 files/digest-wolk-sources-4.14-r14 251
-MD5 e77a93fdf26f06cf3ea5080b27211725 files/wolk-sources.CAN-2003-0985.patch 414
-MD5 aed7a106fcfdb29da439814c2454ea94 files/wolk-sources.78362.patch 9139
-MD5 45bc581e8ce46ed0a1cafbc866f8a8fb files/digest-wolk-sources-4.9-r21 1483
+MD5 bf7030a67c46e734e2a7ea9265a45191 files/wolk-sources.brk-locked.patch 8859
+MD5 b0a1f80aff51d6601e8924329023b241 files/wolk-sources.AF_UNIX.patch 515
+MD5 d4a740ae56c2049247083af387a22a85 files/wolk-sources.CAN-2004-0394.patch 350
+MD5 3bdf00d5f80fe9dfbfe8220e076cd04c files/wolk-sources.CAN-2004-0497.patch 707
+MD5 0f93b46ae17cbd0fc9b4d1cf5d704296 files/wolk-sources.81106.patch 2243
MD5 370cc17582bbb17605090009d24eba51 files/wolk-sources.CAN-2004-1016.patch 2168
-MD5 2b3ddb8b8b15f8da35ade38544b57857 files/wolk-sources.XDRWrapFix.patch 1499
-MD5 92f1b3aa68de326081b75653a77d64cf files/wolk-sources-4.9s.CAN-2004-0685.patch 2881
-MD5 eaeda68a619caaddd5b8fdc5e7c39932 files/wolk-sources.CAN-2004-0177.patch 384
-MD5 757ee1239c3f14645ccea3640d551e11 files/wolk-sources.CAN-2004-1056.patch 11249
-MD5 a61e57d5483a06f20da339d91f98fbb8 files/wolk-sources-4.9s.rtc_fix.patch 6769
-MD5 85e6a00b6009a423454751766a7c2b53 files/digest-wolk-sources-4.11-r17 395
-MD5 e637c6fa41097ea2c4693d0766f2e1c5 files/do_brk_fix.patch 242
-MD5 21ebf0ddc4b8ec4013470c4d243cd03b files/wolk-sources-4.9s.munmap.patch 826
+MD5 2ca46d61e534cfd18a965e9ae8e870e2 files/binfmt_elf.patch 2347
+MD5 6ed89b8ac0b47a4c25d3a616ef9245cc files/wolk-sources.vma.patch 11369
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCdV1KiJcSIUGNthERAk3gAJ486C/0FhuBv4vvDEnasxA1kwuSNQCeLFuN
+Da28iJ4JcETSkHjo9v8jzSQ=
+=nXmg
+-----END PGP SIGNATURE-----
diff --git a/sys-kernel/wolk-sources/files/digest-wolk-sources-4.11-r17 b/sys-kernel/wolk-sources/files/digest-wolk-sources-4.11-r17
deleted file mode 100644
index 87807a9d0fb6..000000000000
--- a/sys-kernel/wolk-sources/files/digest-wolk-sources-4.11-r17
+++ /dev/null
@@ -1,5 +0,0 @@
-MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046
-MD5 7ab3d945def110a2ee78ce88175c7abe linux-2.4.20-wolk4.10s.patch.bz2 12773140
-MD5 befb7511aa4075255bb7755fb961c0e5 linux-2.4.20-wolk4.10s-to-4.11s.patch.bz2 88660
-MD5 5483fa54161c0dd4b2762332a24c3b8a wolk-sources-4.11-CAN-2004-0415.patch 83257
-MD5 d144bce0303238a3d01618de68e0e588 wolk-sources-4.9-CAN-2004-0814.2.patch 136731
diff --git a/sys-kernel/wolk-sources/files/digest-wolk-sources-4.9-r21 b/sys-kernel/wolk-sources/files/digest-wolk-sources-4.9-r21
deleted file mode 100644
index 61d3cc28c6fe..000000000000
--- a/sys-kernel/wolk-sources/files/digest-wolk-sources-4.9-r21
+++ /dev/null
@@ -1,18 +0,0 @@
-MD5 c439d5c93d7fc9a1480a90842465bb97 linux-2.4.20.tar.bz2 27421046
-MD5 1a2631214a59d8cd1baadc709917518b linux-2.4.20-wolk4.0s.patch.bz2 8987097
-MD5 3695872e7123b1f8a0cbf1791755ba9a linux-2.4.20-wolk4.0s-to-4.1s.patch.bz2 38586
-MD5 2e43277e89e06604c6b2f824c1c5bf44 linux-2.4.20-wolk4.1s-to-4.2s.patch.bz2 204629
-MD5 a84b52c73a66d9daf5462cf4aa39311c linux-2.4.20-wolk4.2s-to-4.3s.patch.bz2 38388
-MD5 6fbff6c3c6c0e298eb203d6c2af36772 linux-2.4.20-wolk4.3s-to-4.4s.patch.bz2 634399
-MD5 022f242d488e6def5e23791787491e6e linux-2.4.20-wolk4.4s-to-4.5s.patch.bz2 35905
-MD5 0b758dcfc015034f80b10f8bba194d58 linux-2.4.20-wolk4.5s-to-4.6s.patch.bz2 89749
-MD5 51412491c4aed5b328f7dc68085b865d linux-2.4.20-wolk4.6s-to-4.7s.patch.bz2 726436
-MD5 992ecfbd8c227938ebe395e1b5682bcb linux-2.4.20-wolk4.7s-to-4.8s.patch.bz2 41114
-MD5 06d2f90afaa7438f56653611a7a00cce linux-2.4.20-wolk4.8s-to-4.9s.patch.bz2 400853
-MD5 3495fc5d08cd1c45c3252d438dddd2e9 1007_bootsplash-v3.0.7-2.4.20-0.patch 83101
-MD5 164b794eb5eb3321ee24c6f63734aee9 1007_bootsplash-v3.0.7-2.4.20-1-aty128.patch 1163
-MD5 87bdd189276be8de8c9f8177855e7f27 1007_bootsplash-v3.0.8-2.4.20-update.patch 4402
-MD5 48110e2e60a28e6a433bbb24f0bd93a9 1008_supermount-1.2.9-2.4.20-OLDIDE.patch 169980
-MD5 4c94545d63a35b216c7a9c5c3e10b223 1009_mipv6-0.9.5.1-v2.4.20-wolk4.0s.patch 586142
-MD5 c4a897cb2cfbc031bf73cf71ea45c6f2 wolk-sources-4.9-CAN-2004-0415.patch 83245
-MD5 d144bce0303238a3d01618de68e0e588 wolk-sources-4.9-CAN-2004-0814.2.patch 136731
diff --git a/sys-kernel/wolk-sources/files/do_brk_fix.patch b/sys-kernel/wolk-sources/files/do_brk_fix.patch
deleted file mode 100644
index fef1f1e981e2..000000000000
--- a/sys-kernel/wolk-sources/files/do_brk_fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/mm/mmap.c Fri Sep 12 06:44:06 2003
-+++ b/mm/mmap.c Thu Oct 2 01:18:19 2003
-@@ -1041,6 +1041,9 @@
- if (!len)
- return addr;
-
-+ if ((addr + len) > TASK_SIZE || (addr + len) < addr)
-+ return -EINVAL;
-+
- /*
- * mlock MCL_FUTURE?
- */
diff --git a/sys-kernel/wolk-sources/files/patches.txt b/sys-kernel/wolk-sources/files/patches.txt
deleted file mode 100644
index 6360b1f195b1..000000000000
--- a/sys-kernel/wolk-sources/files/patches.txt
+++ /dev/null
@@ -1,269 +0,0 @@
-Changes:
-Changelog from v4.0s-pre8 -> 4.0s-pre9
---------------------------------------
-o add: ReiserFS data-logging (requested alot)
-o add: (V)FAT filemode/dirmode mount option (fmode=)/(dmode=)
-o add: frlock-gettimeofday-1
- two sequence numbers to bring total SMP scalability to
- gettimeofday and implements a frlock framework that can
- replace read/write locks.
-o fixed: Server Scheduler Tweak build error
-o fixed: Since early 2.4 state: Silly depend config for miroPCM20
-o fixed: ALSA: unresolved symbols: un-/register_sound_midi
-o fixed: unresolved symbols: 'port_acl_gid' / 'sock_raw_gid'
-o fixed: three unresolved symbols when grsec is selected and
- 'Unix domain sockets' is a module
-o fixed: Strange Qlogic 2200 and such problems since early 2.4 state.
-o fixed: iptables v1.27a build errors
-o fixed: some very strange tmpfs problems if grsec is turned off
- This was a grsecurity problem!
-o fixed: ext3fs: rare BUG
-o fixed: ext3fs: scheduling storm and lockup
-o fixed: speedup "make dep" _alot_
-o fixed: Ethernet packet padding information leak (2.4ac)
-o fixed: oops with ltp
-o update: grsecurity v1.99-CVS as of 2003-01-26
-o update: Super FreeS/WAN v1.99-kb4-rc2
-o update: LVM v1.0.6
-o update: rawio-vary-io v17
-o update: blk-atomic aa5
-o update: New Adaptec AIC7xxx/AIC79xx drivers v2003-01-22
-o update: ACPI v2003-01-23
-o update: epoll 2.4.20 v0.62
-o update: BTTV drivers v0.7.102
-o update: Intel E100/E1000 driver + Fixes
-o update: SMP-timers A0 to co-exist with frlock-gettimeofday-1
-
-
-Changelog from v4.0s-pre7 -> 4.0s-pre8
---------------------------------------
-+ add: ALSA S/PDIF out for frequencies != 48 kHz for VIA
-o add: Broadcom BCM4400 Network Driver v1.0.1
-o add: Sigma Designs Hollywood & Creative Labs DXR3 support v0.13.0
-o add: Support for Tulip based fibre cards (eg. SMC1255FTX)
-+ fixed: IO TASKFILE default changed to NO
-+ fixed: i82092.c: redefinition of `__module_license'
-o fixed: ACPI <-> IPMI build error
-o fixed: ACPI PCI HotPlug compile error due to new merge of ACPI
-+ fixed: ALSA VIA82XX build error
-+ fixed: Lower Netfilter debugging output (annoying)
-o fixed: highmem I/O for qla2x00 driver
-o fixed: prevent statfs overflow for huge NFS filesystems
-o update: grsecurity v1.99-rc3
-o update: Broadcom BCM5700 Network Driver v5.0.17
-o update: AMD-8111 based 10/100 Ethernet support v3.0.0
-o update: PPP Microsoft encryption/compression (MPPE/MPPC) v0.96
-o update: Syskonnect Driver sk98lin v6.02
-o update: IPMI Driver v17
-o update: XFS v1.2-cvs as of 2003-01-12
-o update: some Documentation/Configure.help entries
-o update: Super FreeS/WAN v1.99-kb4-rc1
-o removed: vservers until it's #ifdef'ed for gradm breakage
-
-
-Changelog from v4.0s-pre6 -> 4.0s-pre7
---------------------------------------
-o add: 3com 3c920 PCI Device ID
-+ add: vservers (ctx) v16
-o add: BIOS Enhanced Disk Drive calls determine boot disk
-o fixed: eliminate Netfilter addons which breaks standard
- shipped iptables v1.2.7a
-o fixed: allow people to build M686 without PGE kernels
-o fixed: linux crash on boot with some boards
-o fixed: MP oops
-o fixed: ACPI IO-APIC boot for Pentium 4
-o fixed: exited with preempt count 1 if kernel boots/halts
- This is a Preempt Patch issue, not WOLK ones!
- Two simple unlock_kernel(); were missing.
-o fixed: Logitech/Dexa QuickCam too much verbose output
-+ fixed: missing bracket in kernel/sched.c for Server Scheduler Tweak
-o fixed: PPC32 build problems
-o fixed: Locking bug introduced by ext3fs updates from 2.4.21-pre2
-o fixed: i845G AGP Gart initialisation
-o fixed: IPv6: Length of Authentication Extension Header
-o fixed: O-PROFILE <-> rmap15b compile issues
-o fixed: rage128_vid driver was never built
-o update: New Adaptec AIC7xxx/AIC79xx drivers v2003-01-07
-o update: Super FreeS/WAN v1.99-kb3 Final
-o update: CPU Frequency scaling v2.4.20-5
-o update: IPMI Driver v16
-o update: ACPI v2003-01-09
-o change: Some more menu structures moved to seperated menus
-o removed: Config option 'Disable ECN by default': totally useless
-
-
-Changelog from v4.0s-pre5 -> 4.0s-pre6
---------------------------------------
-+ add: Extra Netfilter modules for IPv4 and IPv6
-o add: IMQ Target / Device
-o add: Prioritized Accept Queue
-o add: Preselections for Desktop and Server Scheduler
-o add: New eepro100 PCI Device ID (0x1059)
-o fixed: exited with preempt count 1 if kernel nfsd exits
- This is a Preempt Patch issue, not WOLK ones!
- A simple unlock_kernel(); was missing.
-o fixed: IDE config for Promise/Highpoint RAID was bogus
-o fixed: BTTV: another unresolved symbol if !CONFIG_SOUND
-+ fixed: CRLF in net/bridge/aes*
-o fixed: tmpfs strange problems
-o fixed: ALSA OSS Sequencer was never built
-o update: CPU Frequency scaling v2.4.20-4
-o update: Wireless LAN extensions v16
-o update: grsecurity v1.9.8-cvs as of 2003-01-02
- + secure /dev/kmem & /dev/mem are now sysctl'able.
- sysctl value: kernel.grsecurity.secure_mem = 1
-o update: i2c v2.7.0-cvs as of 2003-01-02
-o update: lmsensors v2.7.0-cvs as of 2003-01-02
-o change: OSS / ALSA are now in a seperated submenu "Sound"
-o change: kHTTPd / TUX are now in a seperated submenu "Webserver"
-o removed: TCP Zero Copy for mmapped files
- (Bogus, wrong, stinks, caused problems)
-
-
-
-NOTE: All the things marked with "fixed" are VANILLA issues that are also
-present in 2.4.18/2.4.19/2.4.20 and who knows what else versions, except the
-latest 4 "fixed" were WOLK issues (AFS, VIA AGP, IDE-SCSI and 3c590/3c980).
-
-Changelog from v4.0s-pre4 -> 4.0s-pre5
---------------------------------------
-o add: Alcatel SpeedTouch USB modem support
-o add: Creative SBLive! Audigy support
-o add: TCP Zero Copy for mmapped files
-o add: 32bit UID/GID support
-o add: Encrypting ethernet bridge
-o add: ebtales (firewalling) for ethernet bridge v2.0.003 + BridgeNF
-o add: Soft-/Hard Limit of Filedescriptors
-o add: Boot parameter "nolapic" do disable Local APIC
-o add: SiS APM Workaround for old chipsets
-o add: Show us the uptime at halt
-o add: change console loglevel via SYSRQ (same as -c param for klogd)
-o add: missing Configure.help entries (help for make menuconfig|xconfig)
-o add: Config option to be able to disable the OOM killer
-o add: Config option to be able to select -Os instead of -O2
-o fixed: Config entry "Ethernet (1000 Mbit)" was bogus
-o fixed: Config entry "SCSI low-level drivers" was bogus
-o fixed: VFAT file truncating
-o fixed: grub cannot boot from /dev/rd/*
-o fixed: DoS attack fd overflow (wtf not in vanilla? known since July 02)
-o fixed: IDE-CD error while ripping audio-cd's on VIA VT8233
-o fixed: >2TB scsi error
-o fixed: buffer overruns in /proc
-o fixed: Samba >2GB file truncating error
-o fixed: many missing license tags for drivers
-o fixed: f00f_workaround_enabled undeclared if AMD K6
-o fixed: instability on some Abit mobo's w/o APIC workaround
-o fixed: Promise PDC20265 not recognized correctly
-o fixed: Wrong recognition of Seagate LBA-48 drives
-o fixed: Crashes on 439HX chipsets because of missing settings in BIOS
-o fixed: 3ware doesn't recognize old firmware cards
-o fixed: some crashes on IBM laptops
-o fixed: DVD ROM reading errors
-o fixed: Garbage Collector for AF_UNIX socket races
-o fixed: Radeon Framebuffer Mobility crashes
-o fixed: Socket network access protocol races
-o fixed: wrong processor cache detection if soft reboot
-o fixed: PCI_DEVICE_ID_VIA_8633_5 undeclared
-o fixed: NIC: 3c590/3c980 build error if static
-o fixed: AFS compile error if static
-o fixed: IDE-SCSI crash on some systems
-o update: grsecurity v1.9.8 final (ACL subsystem _works_ now :))
- It has still missing rmap15b support, so PaX won't work! :(
-o update: PROCINFO support (fast ps) v2002-12-31
-o change: max_loop = 16; max msg queue identifiers = 512;
- max semaphore identifiers = 1024;
-o change: default filepermissions on VFAT was rwx, now rw-
-
-
-Changelog from v4.0s-pre3 -> 4.0s-pre4
---------------------------------------
-o add: Systrace v2.4.20
-+ add: Linux Trustees v2.10
-+ add: PSPA v2.4.19-16
-o add: VIA Apollo Pro266 AGP support
-o add: DRBD v0.6.1 support
-o add: panic(); Morse Code
-o add: Unblank console if panic();
-o add: AFS documentation help / set up info
-o add: Renice processes as a user in a special GID
-o add: Magic SysRQ via /proc/sys/kernel/magickey
-o add: BadMEM v4.9-rmap edition
-o add: some DMI workarounds for broken IBM Laptops
-o add: AMD Duron/Athlon SMP checkings
-o add: ECC memory monitoring v20020904
-o fixed: Thread wait race
-o fixed: RAID 0 (maybe 1/2/5/10) hang at boot
-o fixed: ALSA: unresolved symbol snd_hack_usb_set_interface
-o fixed: mmap.c:782: parse error before `unsigned'
-o fixed: Annoying but super trivial AFS compile error
- Now also works w/ Preempt.
-o fixed: BTTV unresolved symbols if !CONFIG_SOUND and CONFIG_SOUND_ALSA
-o fixed: ALSA Config.in showed slightly wrong info for VIA stuff
-o fixed: tcp_v4_lookup_listener already defined problems
-o change: OPEN_MAX 1024, NR_FILE 65536, NR_RESERVED_FILES 128
- TCP_KEEPALIVE_TIME (5*60*HZ), local_port_range 1024-9999
-
-
-Changelog from v4.0s-pre2 -> 4.0s-pre3
---------------------------------------
-o add: CIPE v1.5.4
-o add: F-RTO for dealing with spurious RTOs (from 2.4.21-BK)
-o add: NVIDIA_kernel-1.0-4191 userspace patch for rmap15b issues
- (find this in ./userspace-patches)
-o add: Matrox mga_vid / Radeon/Rage128 Driver
-o add: Work around BIOS problem with recent Athlons (from 2.4.21-BK)
-o add: CPU Frequency scaling v2.4.20-3 + SMP fix
-o fixed: tmpfs read hang (from 2.4.21-BK)
-o fixed: USB: Logitech/Dexxa Quickcam build errors
-o fixed: ieee1394 compile warning due to rmap15b
-o fixed: CPiA Video For Linux crash if static build
-o fixed: More vanilla build errors (ncpfs, intermezzo, parport etc.)
-o update: Bonding v2.4.20-20021210
-o update: XFS v1.2-cvs as of 2002-12-27
-o update: grsecurity v1.9.8-cvs as of 2002-12-27
- (ACL-subsystem is buggy yet)
-
-
-Changelog from v4.0s-pre1 -> 4.0s-pre2
---------------------------------------
-o add: Some $CONFIG_MONSTERBOX code (highmem, bufferwaste etc.)
-o add: blk-atomic-aa4
-o add: _LOTS_ of missing stuff for ppc32/ppc64: O(1) Scheduler and AIO.
-o add: Memory eXpansion Technology (MXT) Support
-o add: Deadman Timer
-o add: Hangcheck {Timer|Comp|Thread|Delay}
- - this code is wanted by the Oracle Community
-o add: IBM Advanced System Management Service Processor support
-o add: Intel VTune Support
-o add: IP stealth
-o add: grsecurity v1.9.8-cvs (ACL-subsystem is buggy yet)
-o add: IP NMAP freak
-o add: IP AntiDote2 (ARP attack detector)
-o add: CiFS v0.5.8
-o add: MPPE/MPPC v0.94
-o add: LZS compression support v2.4.20
-o add: RAID speedups
-o add: fast PID allocation (from LSE)
-o add: SCSI idle
-o add: USB: Logitech/Dexxa - QuickCam support
-o add: NIC: WL24xx Wireless LAN Card Driver (boerde.de approved)
-o add: NIC: SiS 900/7016 PCI Fast Ethernet Adapter support (old driver)
-o add: NIC: SysKonnect SK-9Dxx support
-o add: NIC: Netgear GA622T Gigabit UTP support
-o add: NIC: Netgear GA621 Gigabit Fiber support
-o add: NIC: Broadcom BCM5700 support
-o add: NIC: AMD PCnet32 PCI support (old driver)
-o add: NIC: AMD-8111 based 10/100 Ethernet support
-o add: NIC: 3c590/3c980 B/C series "Cyclone/Hurricane/Tornado" support
-o add: NIC: AT&T/Lucent Wavelan IEEE 802.11 wireless support
-o add: NIC: Alternate Aironet 4500/4800 PCMCIA support
-o add: SCSI: Tekram DC395/U/UW and DC315/U SCSI support
-o add: SCSI: Single Driver Qlogic FC/SCSI support
-o add: SCSI: Qlogic QLA 2XXX v6 FC SCSI support
-o add: SCSI: Adaptec AIC79xx support
-o add: SCSI: iSCSI support (scsi-over-network)
-o add: FTP file system support
-o add: ALSA v.0.9.0-rc6 (yezz, you wanted it no? ;)
-o fixed: Low-Latency vs. ext2|ext3|reiserfs|$whatever fs segfault bug
- Thanks to Joachim for noticing this.
-o removed: read-latency2 in favor of blk-atomic-aa4 (better)
diff --git a/sys-kernel/wolk-sources/files/wolk-4.9s-page.h.patch b/sys-kernel/wolk-sources/files/wolk-4.9s-page.h.patch
deleted file mode 100644
index b6cdcd52f71c..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-4.9s-page.h.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- include/asm-i386/page.h.orig 2003-09-03 18:37:01.000000000 +0200
-+++ include/asm-i386/page.h 2003-09-03 20:12:28.000000000 +0200
-@@ -85,13 +85,14 @@
- * as well as fixmap mappings.
- */
- #define __VMALLOC_RESERVE_MIN (32 << 20)
--#define __VMALLOC_RESERVE_DEFAULT (128 << 20)
--#define __VMALLOC_RESERVE_MAX (480 << 20)
-+#define __VMALLOC_RESERVE_DEFAULT (192 << 20)
-+#define __VMALLOC_RESERVE_MAX (800 << 20)
- #define __RESERVED_AREA (10 << 20)
-
--
- #ifndef __ASSEMBLY__
-
-+extern unsigned long vmalloc_reserve;
-+
- /*
- * Tell the user there is some problem. Beep too, so we can
- * see^H^H^Hhear bugs in early bootup as well!
diff --git a/sys-kernel/wolk-sources/files/wolk-4.9s-setup.c.patch b/sys-kernel/wolk-sources/files/wolk-4.9s-setup.c.patch
deleted file mode 100644
index 18699a2dd4bb..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-4.9s-setup.c.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- arch/i386/kernel/setup.c.orig 2003-09-03 18:31:28.000000000 +0200
-+++ arch/i386/kernel/setup.c 2003-09-03 18:33:03.000000000 +0200
-@@ -883,7 +883,7 @@
- * vm_reserve=size forces to reserve 'size' bytes for vmalloc and
- * ioremap areas minimum is 32 MB maximum is 800 MB
- * the default without vm_reserve depends on the total amount of
-- * memory the minimum default is 128 MB.
-+ * memory the minimum default is 192 MB.
- */
- else if (!memcmp(from, "vm_reserve=", 11))
- vm_reserve = memparse(from+11, &from);
diff --git a/sys-kernel/wolk-sources/files/wolk-4.9s-speedstep.c.patch b/sys-kernel/wolk-sources/files/wolk-4.9s-speedstep.c.patch
deleted file mode 100644
index 6c67f2120880..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-4.9s-speedstep.c.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- arch/i386/kernel/speedstep.c.orig 2003-09-04 15:10:18.000000000 +0200
-+++ arch/i386/kernel/speedstep.c 2003-09-04 15:11:37.000000000 +0200
-@@ -694,7 +694,6 @@
-
- __setup("speedstep_coppermine=", speedstep_setup);
- __setup("speedstep_default=", speedstep_set_default);
--#endif
-
-
- static struct cpufreq_driver speedstep_driver = {
-@@ -706,6 +705,19 @@
- .name = "speedstep",
- };
-
-+# else
-+
-+static struct cpufreq_driver speedstep_driver = {
-+ .verify = speedstep_verify,
-+ .target = speedstep_target,
-+ .init = speedstep_cpu_init,
-+ .exit = NULL,
-+ .policy = NULL,
-+ .name = "speedstep",
-+};
-+
-+#endif
-+
- /**
- * speedstep_init - initializes the SpeedStep CPUFreq driver
- *
diff --git a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.77666.patch b/sys-kernel/wolk-sources/files/wolk-sources-4.9s.77666.patch
deleted file mode 100644
index 3e7725165d9d..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.77666.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-# This is a BitKeeper generated diff -Nru style patch.
-#
-# ChangeSet
-# 2005/01/12 09:14:50-02:00 marcelo.tosatti@cyclades.com
-# [PATCH] Fix expand_stack() SMP race
-#
-# Description: Fix expand_stack() SMP race
-#
-# Two threads sharing the same VMA can race in expand_stack, resulting in incorrect VMA
-# size accounting and possibly a "uncovered-by-VMA" pte leak.
-#
-# Fix is to check if the stack has already been expanded after acquiring a lock which
-# guarantees exclusivity (page_table_lock in v2.4 and vma_anon lock in v2.6).
-#
-# include/linux/mm.h
-# 2005/01/07 14:51:21-02:00 marcelo.tosatti@cyclades.com +10 -3
-# Fix expand_stack() SMP race
-#
-diff -Nru linux-wolk/include/linux/mm.h linux-plasmaroo/include/linux/mm.h
---- linux-wolk/include/linux/mm.h 2005-01-13 04:59:30 -08:00
-+++ linux-plasmaroo/include/linux/mm.h 2005-01-13 04:59:30 -08:00
-@@ -876,14 +876,19 @@
- int err = -ENOMEM;
-
- /*
-- * vma->vm_start/vm_end cannot change under us because the caller is required
-- * to hold the mmap_sem in write mode. We need to get the spinlock only
-- * before relocating the vma range ourself.
-+ * vma->vm_start/vm_end cannot change under us because the caller
-+ * is required to hold the mmap_sem in read mode. We need the
-+ * page_table_lock lock to serialize against concurrent expand_stacks.
- */
- address &= PAGE_MASK;
- if (prev_vma && prev_vma->vm_end + (heap_stack_gap << PAGE_SHIFT) > address)
- goto out;
- spin_lock(&vma->vm_mm->page_table_lock);
-+ /* already expanded while we were spinning? */
-+ if (vma->vm_start <= address) {
-+ spin_unlock(&vma->vm_mm->page_table_lock);
-+ return 0;
-+ }
- grow = (vma->vm_start - address) >> PAGE_SHIFT;
- gr_learn_resource(current, RLIMIT_STACK, vma->vm_end - address);
- gr_learn_resource(current, RLIMIT_AS, (vma->vm_mm->total_vm + grow) << PAGE_SHIFT);
diff --git a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-0010.patch b/sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-0010.patch
deleted file mode 100644
index 158c555eb25f..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-0010.patch
+++ /dev/null
@@ -1,200 +0,0 @@
-diff -urN linux-2.4.20-wolk4.9-r5/fs/ncpfs/dir.c linux-2.4.20-wolk4.9-r6/fs/ncpfs/dir.c
---- linux-2.4.20-wolk4.9-r5/fs/ncpfs/dir.c 2002-11-28 15:53:15.000000000 -0800
-+++ linux-2.4.20-wolk4.9-r6/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=1, len = dentry->d_name.len + 1;
-- __u8 __name[len];
-+ int res, val=1, len;
-+ __u8 __name[NCP_MAXPATHLEN + 1];
-
- if (!dentry->d_inode || !dir)
- goto bad;
-@@ -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/wolk-sources/files/wolk-sources-4.9s.CAN-2004-0685.patch b/sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-0685.patch
deleted file mode 100644
index 77808162b2fb..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.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-04 22:41:03.000000000 +0100
-+++ a/drivers/usb/vicam.c.new 2004-08-08 15:56:04.026739936 +0100
-@@ -504,6 +504,7 @@ static int vicam_v4l_ioctl(struct video_
- {
- struct video_capability b;
- ret = vicam_get_capability(vicam,&b);
-+ memset(&b, 0, sizeof(b));
- dbg("name %s",b.name);
- if (copy_to_user(arg, &b, sizeof(b)))
- ret = -EFAULT;
diff --git a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-1056.patch b/sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-1056.patch
deleted file mode 100644
index b0b2a6d65598..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.CAN-2004-1056.patch
+++ /dev/null
@@ -1,319 +0,0 @@
-diff -ur linux-2.4.22/drivers/char/drm/i810.h linux-2.4.22.plasmaroo/drivers/char/drm/i810.h
---- linux-2.4.22/drivers/char/drm/i810.h 2001-08-08 17:42:14.000000000 +0100
-+++ linux-2.4.22.plasmaroo/drivers/char/drm/i810.h 2004-12-24 14:56:13.644644456 +0000
-@@ -113,4 +113,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.22/drivers/char/drm/i810_dma.c linux-2.4.22.plasmaroo/drivers/char/drm/i810_dma.c
---- linux-2.4.22/drivers/char/drm/i810_dma.c 2002-11-28 23:53:12.000000000 +0000
-+++ linux-2.4.22.plasmaroo/drivers/char/drm/i810_dma.c 2004-12-24 14:57:28.626245520 +0000
-@@ -1071,10 +1071,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;
-@@ -1096,10 +1093,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);
-@@ -1130,10 +1124,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) {
-@@ -1154,10 +1145,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;
-@@ -1193,10 +1181,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;
-
-@@ -1226,10 +1211,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;
-@@ -1334,11 +1316,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 );
-@@ -1382,10 +1360,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);
- }
-
-@@ -1396,10 +1371,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.22/drivers/char/drm/i830.h linux-2.4.22.plasmaroo/drivers/char/drm/i830.h
---- linux-2.4.22/drivers/char/drm/i830.h 2002-11-28 23:53:12.000000000 +0000
-+++ linux-2.4.22.plasmaroo/drivers/char/drm/i830.h 2004-12-24 14:56:13.658642328 +0000
-@@ -113,4 +113,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.22/drivers/char/drm/i830_dma.c linux-2.4.22.plasmaroo/drivers/char/drm/i830_dma.c
---- linux-2.4.22/drivers/char/drm/i830_dma.c 2002-11-28 23:53:12.000000000 +0000
-+++ linux-2.4.22.plasmaroo/drivers/char/drm/i830_dma.c 2004-12-24 14:57:55.225201864 +0000
-@@ -1187,10 +1187,8 @@
- drm_device_t *dev = priv->dev;
-
- DRM_DEBUG("i830_flush_ioctl\n");
-- 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;
-@@ -1211,10 +1209,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);
-@@ -1241,10 +1236,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) {
-@@ -1266,10 +1258,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;
-@@ -1305,10 +1294,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;
-
-@@ -1338,10 +1324,7 @@
- drm_i830_buf_priv_t *buf_priv;
- drm_device_dma_t *dma = dev->dma;
-
-- 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);
-
- if (copy_from_user(&d, (drm_i830_copy_t *)arg, sizeof(d)))
- return -EFAULT;
-diff -ur linux-2.4.22/drivers/char/drm-4.0/drmP.h linux-2.4.22.plasmaroo/drivers/char/drm-4.0/drmP.h
---- linux-2.4.22/drivers/char/drm-4.0/drmP.h 2002-02-25 19:37:57.000000000 +0000
-+++ linux-2.4.22.plasmaroo/drivers/char/drm-4.0/drmP.h 2004-12-24 14:56:16.389227216 +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.22/drivers/char/drm-4.0/i810_dma.c linux-2.4.22.plasmaroo/drivers/char/drm-4.0/i810_dma.c
---- linux-2.4.22/drivers/char/drm-4.0/i810_dma.c 2003-06-13 15:51:32.000000000 +0100
-+++ linux-2.4.22.plasmaroo/drivers/char/drm-4.0/i810_dma.c 2004-12-24 14:56:16.401225392 +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/wolk-sources/files/wolk-sources-4.9s.brk-locked.patch b/sys-kernel/wolk-sources/files/wolk-sources-4.9s.brk-locked.patch
deleted file mode 100644
index c275b0b1649e..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.brk-locked.patch
+++ /dev/null
@@ -1,265 +0,0 @@
-diff -ur linux-2.4.28-gentoo-r4/arch/mips/kernel/irixelf.c linux-2.4.28-gentoo-r5/arch/mips/kernel/irixelf.c
---- linux-2.4.28-gentoo-r4/arch/mips/kernel/irixelf.c 2005-01-07 20:33:12.000000000 +0000
-+++ linux-2.4.28-gentoo-r5/arch/mips/kernel/irixelf.c 2005-01-07 20:20:32.000000000 +0000
-@@ -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 -ur linux-2.4.28-gentoo-r4/arch/sparc64/kernel/binfmt_aout32.c linux-2.4.28-gentoo-r5/arch/sparc64/kernel/binfmt_aout32.c
---- linux-2.4.28-gentoo-r4/arch/sparc64/kernel/binfmt_aout32.c 2005-01-07 20:33:12.000000000 +0000
-+++ linux-2.4.28-gentoo-r5/arch/sparc64/kernel/binfmt_aout32.c 2005-01-07 20:20:32.000000000 +0000
-@@ -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 -ur linux-2.4.28-gentoo-r4/fs/binfmt_aout.c linux-2.4.28-gentoo-r5/fs/binfmt_aout.c
---- linux-2.4.28-gentoo-r4/fs/binfmt_aout.c 2005-01-07 20:33:12.000000000 +0000
-+++ linux-2.4.28-gentoo-r5/fs/binfmt_aout.c 2005-01-07 20:20:32.000000000 +0000
-@@ -46,7 +46,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 (BAD_ADDR(addr))
- return addr;
- }
-@@ -341,10 +341,10 @@
- loff_t pos = fd_offset;
- /* Fuck me plenty... */
- /* <AOL></AOL> */
-- 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;
-@@ -365,7 +365,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;
-@@ -399,7 +399,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),
-@@ -500,7 +500,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);
-@@ -524,7 +524,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 -ur linux-2.4.28-gentoo-r4/fs/binfmt_elf.c linux-2.4.28-gentoo-r5/fs/binfmt_elf.c
---- linux-2.4.28-gentoo-r4/fs/binfmt_elf.c 2005-01-07 20:33:12.000000000 +0000
-+++ linux-2.4.28-gentoo-r5/fs/binfmt_elf.c 2005-01-07 20:20:46.000000000 +0000
-@@ -88,6 +88,7 @@ static void set_brk(unsigned long start,
- end = ELF_PAGEALIGN(end);
- if (end <= start)
- return;
-+ down_write(&current->mm->mmap_sem);
- do_brk(start, end - start);
-
- #ifdef CONFIG_GRKERNSEC_PAX_RANDEXEC
-@@ -95,6 +96,7 @@ static void set_brk(unsigned long start,
- __do_mmap_pgoff(NULL, ELF_PAGEALIGN(start + current->mm->delta_exec), 0UL, PROT_READ | PROT_WRITE, MAP_PRIVATE | MAP_FIXED | MAP_MIRROR, start);
- #endif
-
-+ up_write(&current->mm->mmap_sem);
- }
-
-
-@@ -295,7 +297,9 @@ static unsigned long load_elf_interp(str
- */
- if (interp_elf_ex->e_phentsize != sizeof(struct elf_phdr))
- goto out;
-- if (interp_elf_ex->e_phnum > 65536U / sizeof(struct elf_phdr))
-+
-+ if (interp_elf_ex->e_phnum < 1 ||
-+ interp_elf_ex->e_phnum > 65536U / sizeof(struct elf_phdr))
- goto out;
-
- /* Now read in all of the header information */
-@@ -370,7 +370,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;
-@@ -407,7 +407,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)
-@@ -415,7 +415,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;
-
-@@ -1271,7 +1271,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 -ur linux-2.4.28-gentoo-r4/include/linux/mm.h linux-2.4.28-gentoo-r5/include/linux/mm.h
---- linux-2.4.28-gentoo-r4/include/linux/mm.h 2005-01-07 20:33:12.000000000 +0000
-+++ linux-2.4.28-gentoo-r5/include/linux/mm.h 2005-01-07 20:20:32.000000000 +0000
-@@ -601,6 +601,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 -ur linux-2.4.28-gentoo-r4/kernel/ksyms.c linux-2.4.28-gentoo-r5/kernel/ksyms.c
---- linux-2.4.28-gentoo-r4/kernel/ksyms.c 2005-01-07 20:33:12.000000000 +0000
-+++ linux-2.4.28-gentoo-r5/kernel/ksyms.c 2005-01-07 20:20:32.000000000 +0000
-@@ -90,6 +90,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 -ur linux-2.4.28-gentoo-r4/mm/mmap.c linux-2.4.28-gentoo-r5/mm/mmap.c
---- linux-2.4.28-gentoo-r4/mm/mmap.c 2005-01-07 20:33:12.000000000 +0000
-+++ linux-2.4.28-gentoo-r5/mm/mmap.c 2005-01-07 20:20:32.000000000 +0000
-@@ -1401,6 +1401,21 @@
- return addr;
- }
-
-+/* locking version of do_brk. */
-+unsigned long do_brk_locked(unsigned long addr, unsigned long len)
-+{
-+ unsigned long ret;
-+
-+ down_write(&current->mm->mmap_sem);
-+ ret = do_brk(addr, len);
-+ up_write(&current->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/wolk-sources/files/wolk-sources-4.9s.munmap.patch b/sys-kernel/wolk-sources/files/wolk-sources-4.9s.munmap.patch
deleted file mode 100644
index e5fb62eb95e1..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.munmap.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- linux-2.4.20-wolk4.9s/mm/mremap.c 2004-02-18 15:46:31.000000000 +0000
-+++ linux-2.4.20-wolk4.9s/mm/mremap.c.plasmaroo 2004-02-18 15:51:29.000000000 +0000
-@@ -316,7 +316,9 @@
- if ((addr <= new_addr) && (addr+old_len) > new_addr)
- goto out;
-
-- do_munmap(current->mm, new_addr, new_len);
-+ ret = do_munmap(current->mm, new_addr, new_len);
-+ if (ret && new_len)
-+ goto out;
- }
-
- /*
-@@ -324,9 +326,11 @@
- * the unnecessary pages..
- * do_munmap does all the needed commit accounting
- */
-- ret = addr;
- if (old_len >= new_len) {
-- do_munmap(current->mm, addr+new_len, old_len - new_len);
-+ ret = do_munmap(current->mm, addr+new_len, old_len - new_len);
-+ if (ret && old_len != new_len)
-+ goto out;
-+ ret = addr;
- if (!(flags & MREMAP_FIXED) || (new_addr == addr))
- goto out;
- old_len = new_len;
diff --git a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.rtc_fix.patch b/sys-kernel/wolk-sources/files/wolk-sources-4.9s.rtc_fix.patch
deleted file mode 100644
index 10e9c228d6d2..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources-4.9s.rtc_fix.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-diff -ur linux-2.4.20-wolk4.9s/arch/cris/drivers/ds1302.c linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/ds1302.c
---- linux-2.4.20-wolk4.9s/arch/cris/drivers/ds1302.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/ds1302.c 2004-01-05 23:41:44.000000000 +0000
-@@ -315,6 +315,7 @@
- {
- struct rtc_time rtc_tm;
-
-+ memset(&rtc_tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&rtc_tm);
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
- return -EFAULT;
-diff -ur linux-2.4.20-wolk4.9s/arch/cris/drivers/pcf8563.c linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/pcf8563.c
---- linux-2.4.20-wolk4.9s/arch/cris/drivers/pcf8563.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/cris/drivers/pcf8563.c 2004-01-05 23:42:22.000000000 +0000
-@@ -174,6 +174,7 @@
- {
- struct rtc_time tm;
-
-+ memset(&tm, 0, sizeof (struct rtc_time));
- get_rtc_time(&tm);
-
- if (copy_to_user((struct rtc_time *) arg, &tm, sizeof(struct rtc_time))) {
-diff -ur linux-2.4.20-wolk4.9s/arch/m68k/bvme6000/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/bvme6000/rtc.c
---- linux-2.4.20-wolk4.9s/arch/m68k/bvme6000/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/bvme6000/rtc.c 2004-01-05 23:43:15.000000000 +0000
-@@ -54,6 +54,7 @@
- /* Ensure clock and real-time-mode-register are accessible */
- msr = rtc->msr & 0xc0;
- rtc->msr = 0x40;
-+ memset(&wtime, 0, sizeof (struct rtc_time));
- do {
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
-diff -ur linux-2.4.20-wolk4.9s/arch/m68k/mvme16x/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/mvme16x/rtc.c
---- linux-2.4.20-wolk4.9s/arch/m68k/mvme16x/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/m68k/mvme16x/rtc.c 2004-01-05 23:44:02.000000000 +0000
-@@ -52,6 +52,7 @@
- cli();
- /* Ensure clock and real-time-mode-register are accessible */
- rtc->ctrl = RTC_READ;
-+ memset(&wtime, 0, sizeof (struct rtc_time));
- wtime.tm_sec = BCD2BIN(rtc->bcd_sec);
- wtime.tm_min = BCD2BIN(rtc->bcd_min);
- wtime.tm_hour = BCD2BIN(rtc->bcd_hr);
-diff -ur linux-2.4.20-wolk4.9s/arch/mips/sgi-ip27/ip27-rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/mips/sgi-ip27/ip27-rtc.c
---- linux-2.4.20-wolk4.9s/arch/mips/sgi-ip27/ip27-rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/mips/sgi-ip27/ip27-rtc.c 2004-01-05 23:48:34.000000000 +0000
-@@ -84,6 +84,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/arch/ppc64/kernel/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/arch/ppc64/kernel/rtc.c
---- linux-2.4.20-wolk4.9s/arch/ppc64/kernel/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/arch/ppc64/kernel/rtc.c 2004-01-05 23:44:34.000000000 +0000
-@@ -96,6 +96,7 @@
- switch (cmd) {
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ppc_md.get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/char/efirtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/efirtc.c
---- linux-2.4.20-wolk4.9s/drivers/char/efirtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/efirtc.c 2004-01-05 23:47:53.000000000 +0000
-@@ -118,6 +118,7 @@
- static void
- convert_from_efi_time(efi_time_t *eft, struct rtc_time *wtime)
- {
-+ memset(wtime, 0, sizeof(struct rtc_time));
- wtime->tm_sec = eft->second;
- wtime->tm_min = eft->minute;
- wtime->tm_hour = eft->hour;
-diff -ur linux-2.4.20-wolk4.9s/drivers/char/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/char/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/char/rtc.c 2004-01-05 23:52:43.000000000 +0000
-@@ -370,6 +370,7 @@
- * tm_min, and tm_sec values are filled in.
- */
-
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_alm_time(&wtime);
- break;
- }
-@@ -417,6 +418,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- get_rtc_time(&wtime);
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/hil/hp_sdc_rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/hil/hp_sdc_rtc.c
---- linux-2.4.20-wolk4.9s/drivers/hil/hp_sdc_rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/hil/hp_sdc_rtc.c 2004-01-05 23:53:36.000000000 +0000
-@@ -561,6 +561,7 @@
- }
- case RTC_ALM_READ: /* Read the present alarm time */
- {
-+ memset(&ttime, 0, sizeof(struct timeval));
- if (hp_sdc_rtc_read_mt(&ttime)) return -EFAULT;
- break;
- }
-@@ -609,6 +610,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- if (hp_sdc_rtc_read_bbrtc(&wtime)) return -EFAULT;
- break;
- }
-diff -ur linux-2.4.20-wolk4.9s/drivers/macintosh/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/macintosh/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/macintosh/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/macintosh/rtc.c 2004-01-05 23:54:15.000000000 +0000
-@@ -64,6 +64,7 @@
- case RTC_RD_TIME:
- if (ppc_md.get_rtc_time)
- {
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -ur linux-2.4.20-wolk4.9s/drivers/sbus/char/rtc.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/sbus/char/rtc.c
---- linux-2.4.20-wolk4.9s/drivers/sbus/char/rtc.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/sbus/char/rtc.c 2004-01-05 23:54:43.000000000 +0000
-@@ -89,6 +89,7 @@
- switch (cmd)
- {
- case RTCGET:
-+ memset(&rtc_tm, 0, sizeof(struct rtc_time));
- get_rtc_time(&rtc_tm);
-
- if (copy_to_user((struct rtc_time*)arg, &rtc_tm, sizeof(struct rtc_time)))
-diff -ur linux-2.4.20-wolk4.9s/drivers/sgi/char/ds1286.c linux-2.4.20-wolk4.9s.plasmaroo/drivers/sgi/char/ds1286.c
---- linux-2.4.20-wolk4.9s/drivers/sgi/char/ds1286.c 2004-01-05 23:33:45.000000000 +0000
-+++ linux-2.4.20-wolk4.9s.plasmaroo/drivers/sgi/char/ds1286.c 2004-01-05 23:47:25.000000000 +0000
-@@ -174,6 +174,7 @@
- * tm_min, and tm_sec values are filled in.
- */
-
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_alm_time(&wtime);
- break;
- }
-@@ -216,6 +217,7 @@
- }
- case RTC_RD_TIME: /* Read the time/date from RTC */
- {
-+ memset(&wtime, 0, sizeof(struct rtc_time));
- ds1286_get_time(&wtime);
- break;
- }
diff --git a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0643.patch b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0643.patch
deleted file mode 100644
index 346641ee93be..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0643.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-# This is a BitKeeper generated diff -Nru style patch.
-#
-# ChangeSet
-# 2003/07/25 09:53:06-07:00 kaber@trash.net
-# [NET]: Fix signnedness test in socket filter code.
-#
-# net/core/filter.c
-# 2003/07/25 09:52:50-07:00 kaber@trash.net +2 -3
-# [NET]: Fix signnedness test in socket filter code.
-#
-diff -Nru a/net/core/filter.c b/net/core/filter.c
---- a/net/core/filter.c 2004-06-27 19:54:06 -07:00
-+++ b/net/core/filter.c 2004-06-27 19:54:06 -07:00
-@@ -294,10 +294,9 @@
- goto load_b;
-
- case BPF_LDX|BPF_B|BPF_MSH:
-- k = fentry->k;
-- if(k >= 0 && (unsigned int)k >= len)
-+ if(fentry->k >= len)
- return (0);
-- X = (data[k] & 0xf) << 2;
-+ X = (data[fentry->k] & 0xf) << 2;
- continue;
-
- case BPF_LD|BPF_IMM:
diff --git a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0985.patch b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2003-0985.patch
deleted file mode 100644
index dacf6ed810f9..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-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/wolk-sources/files/wolk-sources.CAN-2004-0109.patch b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0109.patch
deleted file mode 100644
index d02b51c57fc6..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0109.patch
+++ /dev/null
@@ -1,87 +0,0 @@
---- linux/fs/isofs/rock.c.orig
-+++ linux/fs/isofs/rock.c
-@@ -14,6 +14,7 @@
- #include <linux/slab.h>
- #include <linux/pagemap.h>
- #include <linux/smp_lock.h>
-+#include <asm/page.h>
-
- #include "rock.h"
-
-@@ -419,7 +420,7 @@
- return 0;
- }
-
--static char *get_symlink_chunk(char *rpnt, struct rock_ridge *rr)
-+static char *get_symlink_chunk(char *rpnt, struct rock_ridge *rr, char *plimit)
- {
- int slen;
- int rootflag;
-@@ -431,16 +432,25 @@
- rootflag = 0;
- switch (slp->flags & ~1) {
- case 0:
-+ if (slp->len > plimit - rpnt)
-+ return NULL;
- memcpy(rpnt, slp->text, slp->len);
- rpnt+=slp->len;
- break;
-+ case 2:
-+ if (rpnt >= plimit)
-+ return NULL;
-+ *rpnt++='.';
-+ break;
- case 4:
-+ if (2 > plimit - rpnt)
-+ return NULL;
- *rpnt++='.';
-- /* fallthru */
-- case 2:
- *rpnt++='.';
- break;
- case 8:
-+ if (rpnt >= plimit)
-+ return NULL;
- rootflag = 1;
- *rpnt++='/';
- break;
-@@ -457,17 +467,23 @@
- * If there is another SL record, and this component
- * record isn't continued, then add a slash.
- */
-- if ((!rootflag) && (rr->u.SL.flags & 1) && !(oldslp->flags & 1))
-+ if ((!rootflag) && (rr->u.SL.flags & 1) &&
-+ !(oldslp->flags & 1)) {
-+ if (rpnt >= plimit)
-+ return NULL;
- *rpnt++='/';
-+ }
- break;
- }
-
- /*
- * If this component record isn't continued, then append a '/'.
- */
-- if (!rootflag && !(oldslp->flags & 1))
-+ if (!rootflag && !(oldslp->flags & 1)) {
-+ if (rpnt >= plimit)
-+ return NULL;
- *rpnt++='/';
--
-+ }
- }
- return rpnt;
- }
-@@ -548,7 +564,10 @@
- CHECK_SP(goto out);
- break;
- case SIG('S', 'L'):
-- rpnt = get_symlink_chunk(rpnt, rr);
-+ rpnt = get_symlink_chunk(rpnt, rr,
-+ link + (PAGE_SIZE - 1));
-+ if (rpnt == NULL)
-+ goto out;
- break;
- case SIG('C', 'E'):
- /* This tells is if there is a continuation record */
-
diff --git a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0177.patch b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0177.patch
deleted file mode 100644
index da6b7e190685..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-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/wolk-sources/files/wolk-sources.CAN-2004-0178.patch b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0178.patch
deleted file mode 100644
index 19e57268c2fa..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-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/wolk-sources/files/wolk-sources.CAN-2004-0427.patch b/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch
deleted file mode 100644
index ddc9610f67f8..000000000000
--- a/sys-kernel/wolk-sources/files/wolk-sources.CAN-2004-0427.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -Nar -U 4 linux-2.4.25/kernel/fork.c linux-2.4.25-new/kernel/fork.c
---- linux-2.4.25/kernel/fork.c 2004-02-18 05:36:32.000000000 -0800
-+++ linux-2.4.25-new/kernel/fork.c 2004-04-07 17:43:29.000000000 -0700
-@@ -825,8 +825,10 @@
- bad_fork_cleanup_namespace:
- exit_namespace(p);
- bad_fork_cleanup_mm:
- exit_mm(p);
-+ if (p->active_mm)
-+ mmdrop(p->active_mm);
- bad_fork_cleanup_sighand:
- exit_sighand(p);
- bad_fork_cleanup_fs:
- exit_fs(p); /* blocking */
diff --git a/sys-kernel/wolk-sources/wolk-sources-4.11-r17.ebuild b/sys-kernel/wolk-sources/wolk-sources-4.11-r17.ebuild
deleted file mode 100644
index ea27f5bf9604..000000000000
--- a/sys-kernel/wolk-sources/wolk-sources-4.11-r17.ebuild
+++ /dev/null
@@ -1,76 +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/wolk-sources/wolk-sources-4.11-r17.ebuild,v 1.1 2005/03/26 18:41:50 plasmaroo Exp $
-
-# OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-ETYPE="sources"
-
-inherit kernel eutils
-IUSE=""
-OKV=2.4.20
-KV=${OKV}-wolk4.11s-${PR}
-EXTRAVERSION=-wolk4.11s-${PR}
-
-S=${WORKDIR}/linux-${KV}
-DESCRIPTION="Working Overloaded Linux Kernel (Server-Edition)"
-
-KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa -mips"
-
-SRC_PATH="mirror://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.10s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.10s-to-4.11s.patch.bz2
- http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/${P}-CAN-2004-0415.patch
- http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/${PN}-4.9-CAN-2004-0814.2.patch"
-
-SLOT="${KV}"
-HOMEPAGE="http://wolk.sourceforge.net http://www.kernel.org"
-
-src_unpack() {
- unpack linux-${OKV}.tar.bz2 || die
- mv linux-${OKV} linux-${KV} || die
- cd ${WORKDIR}/linux-${KV} || die
- epatch ${DISTDIR}/linux-${OKV}-wolk4.10s.patch.bz2 || die
- epatch ${DISTDIR}/linux-${OKV}-wolk4.10s-to-4.11s.patch.bz2 || die
-
- epatch ${FILESDIR}/${PN}.CAN-2003-0985.patch || die "Failed to patch mremap() vulnerability!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Failed to add the CAN-2004-0109 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0133.patch || die "Failed to add the CAN-2004-0133 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0177.patch || die "Failed to add the CAN-2004-0177 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0178.patch || die "Failed to add the CAN-2004-0178 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0181.patch || die "Failed to add the CAN-2004-0181 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0394.patch || die "Failed to add the CAN-2004-0394 patch!"
- epatch ${DISTDIR}/${P}-CAN-2004-0415.patch || die "Failed to add the CAN-2004-0415 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0427.patch || die "Failed to add the CAN-2004-0427 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0495.patch || die "Failed to add the CAN-2004-0495 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0497.patch || die "Failed to add the CAN-2004-0497 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0535.patch || die "Failed to add the CAN-2004-0535 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0685.patch || die "Failed to add the CAN-2004-0685 patch!"
- epatch ${DISTDIR}/${PN}-4.9-CAN-2004-0814.2.patch || die "Failed to add the CAN-2004-0814 patch!"
- epatch ${FILESDIR}/${PN}.FPULockup-53804.patch || die "Failed to apply FPU-lockup patch!"
- epatch ${FILESDIR}/${PN}.cmdlineLeak.patch || die "Failed to apply the /proc/cmdline patch!"
- epatch ${FILESDIR}/${PN}.XDRWrapFix.patch || die "Failed to apply the kNFSd XDR patch!"
- epatch ${FILESDIR}/${PN}.binfmt_elf.patch || die "Failed to apply the binfmt_elf patch!"
- epatch ${FILESDIR}/${PN}.smbfs.patch || die "Failed to apply the SMBFS patch!"
- epatch ${FILESDIR}/${PN}.AF_UNIX.patch || die "Failed to apply the AF_UNIX patch!"
- epatch ${FILESDIR}/${PN}.binfmt_a.out.patch || die "Failed to apply the binfmt_a.out patch!"
- epatch ${FILESDIR}/${PN}.vma.patch || die "Failed to apply the VMA patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-1016.patch || die "Failed to apply the CAN-2004-1016 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-1056.patch || die "Failed to apply the CAN-2004-1056 patch!"
- epatch ${FILESDIR}/${PN}.brk-locked.patch || die "Failed to apply the do_brk() locking patch!"
- epatch ${FILESDIR}/${PN}.77094.patch || die "Failed to apply bug #77094 patch!"
- epatch ${FILESDIR}/${PN}.77666.patch || die "Failed to apply bug #77666 patch!"
- epatch ${FILESDIR}/${PN}.78362.patch || die "Failed to apply bug #78362 patch!"
- epatch ${FILESDIR}/${PN}.78363.patch || die "Failed to apply bug #78363 patch!"
- epatch ${FILESDIR}/${PN}.81106.patch || die "Failed to apply bug #81106 patch!"
-
- kernel_universal_unpack
-}
-
-pkg_postinst() {
- einfo
- einfo "This is the base WOLK 4.11 Server Edition with all"
- einfo "recent security fixes, but no workstation patches."
- einfo
-}
diff --git a/sys-kernel/wolk-sources/wolk-sources-4.9-r21.ebuild b/sys-kernel/wolk-sources/wolk-sources-4.9-r21.ebuild
deleted file mode 100644
index f15e7d9d6ce2..000000000000
--- a/sys-kernel/wolk-sources/wolk-sources-4.9-r21.ebuild
+++ /dev/null
@@ -1,131 +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/wolk-sources/wolk-sources-4.9-r21.ebuild,v 1.1 2005/03/26 18:41:50 plasmaroo Exp $
-
-# OKV=original kernel version, KV=patched kernel version. They can be the same.
-
-IUSE="build wolk-bootsplash wolk-supermount ipv6"
-ETYPE="sources"
-
-inherit kernel eutils
-
-OKV=2.4.20
-EXTRAVERSION="-${PN/-*/}4.9s-${PR}"
-KV="${OKV}${EXTRAVERSION}"
-
-S=${WORKDIR}/linux-${KV}
-DESCRIPTION="Working Overloaded Linux Kernel (Server-Edition)"
-KEYWORDS="x86 ~ppc ~sparc ~alpha ~hppa -mips"
-SRC_PATH="mirror://www.kernel.org/pub/linux/kernel/v2.4/linux-${OKV}.tar.bz2"
-
-SRC_URI="mirror://kernel/linux/kernel/v2.4/linux-${OKV}.tar.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.0s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.0s-to-4.1s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.1s-to-4.2s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.2s-to-4.3s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.3s-to-4.4s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.4s-to-4.5s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.5s-to-4.6s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.6s-to-4.7s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.7s-to-4.8s.patch.bz2
- mirror://sourceforge/wolk/linux-${OKV}-wolk4.8s-to-4.9s.patch.bz2
- wolk-bootsplash? ( http://wolk.sourceforge.net/Workstation-Edition/1007_bootsplash-v3.0.7-2.4.20-0.patch
- http://wolk.sourceforge.net/Workstation-Edition/1007_bootsplash-v3.0.7-2.4.20-1-aty128.patch
- http://wolk.sourceforge.net/Workstation-Edition/1007_bootsplash-v3.0.8-2.4.20-update.patch)
- wolk-supermount? ( http://wolk.sourceforge.net/Workstation-Edition/1008_supermount-1.2.9-2.4.20-OLDIDE.patch)
- ipv6? ( http://wolk.sourceforge.net/Workstation-Edition/1009_mipv6-0.9.5.1-v2.4.20-wolk4.0s.patch )
- http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/${P}-CAN-2004-0415.patch
- http://dev.gentoo.org/~plasmaroo/patches/kernel/misc/security/${P}-CAN-2004-0814.2.patch"
-
-SLOT="${KV}"
-HOMEPAGE="http://wolk.sourceforge.net http://www.kernel.org"
-
-src_unpack() {
- local PATCHFILES="-wolk4.0s -wolk4.0s-to-4.1s -wolk4.1s-to-4.2s -wolk4.2s-to-4.3s -wolk4.3s-to-4.4s -wolk4.4s-to-4.5s -wolk4.5s-to-4.6s -wolk4.6s-to-4.7s -wolk4.7s-to-4.8s -wolk4.8s-to-4.9s"
- unpack linux-${OKV}.tar.bz2 || die
-
- mv linux-${OKV} linux-${KV} || die
- cd ${WORKDIR}/linux-${KV} || die
- for PATCHES in ${PATCHFILES}
- do
- epatch ${DISTDIR}/linux-${OKV}${PATCHES}.patch.bz2 || die
- done
-
- einfo "Applying NVIDIA patches..."
- epatch ${FILESDIR}/wolk-4.9s-page.h.patch || die
- epatch ${FILESDIR}/wolk-4.9s-setup.c.patch || die
-
- einfo "Applying other needed patches..."
- epatch ${FILESDIR}/wolk-4.9s-speedstep.c.patch || die
-
- if use wolk-supermount; then
- ewinfo "Applying Supermount patch..."
- epatch ${DISTDIR}/1008_supermount-1.2.9-2.4.20-OLDIDE.patch || die
- fi
- if use ipv6; then
- einfo "Applying MIPv6 patch..."
- epatch ${DISTDIR}/1009_mipv6-0.9.5.1-v2.4.20-wolk4.0s.patch || die
- fi
-
- if use wolk-bootsplash; then
- einfo "Applying Bootsplash patches..."
- epatch ${DISTDIR}/1007_bootsplash-v3.0.7-2.4.20-0.patch || die
- epatch ${DISTDIR}/1007_bootsplash-v3.0.7-2.4.20-1-aty128.patch || die
- epatch ${DISTDIR}/1007_bootsplash-v3.0.8-2.4.20-update.patch || die
- fi
-
- epatch ${FILESDIR}/do_brk_fix.patch || die "Failed to patch for do_brk() vulnerability!"
- epatch ${FILESDIR}/${PN}-4.9s.munmap.patch || die "Failed to apply munmap patch!"
- epatch ${FILESDIR}/${PN}-4.9s.rtc_fix.patch || die "Failed to patch RTC vulnerabilities!"
- epatch ${FILESDIR}/${PN}-4.9s.CAN-2004-0010.patch || die "Failed to add the CAN-2004-0010 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2003-0643.patch || die "Failed to add the CAN-2003-0643 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2003-0985.patch || die "Failed to patch mremap() vulnerability!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0109.patch || die "Failed to add the CAN-2004-0109 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0133.patch || die "Failed to add the CAN-2004-0133 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0177.patch || die "Failed to add the CAN-2004-0177 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0178.patch || die "Failed to add the CAN-2004-0178 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0181.patch || die "Failed to add the CAN-2004-0181 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0394.patch || die "Failed to add the CAN-2004-0394 patch!"
- epatch ${DISTDIR}/${P}-CAN-2004-0415.patch || die "Failed to add the CAN-2004-0415 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0427.patch || die "Failed to add the CAN-2004-0427 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0495.patch || die "Failed to add the CAN-2004-0495 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0497.patch || die "Failed to add the CAN-2004-0497 patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-0535.patch || die "Failed to add the CAN-2004-0535 patch!"
- epatch ${FILESDIR}/${PN}-4.9s.CAN-2004-0685.patch || die "Failed to add the CAN-2004-0685 patch!"
- epatch ${DISTDIR}/${P}-CAN-2004-0814.2.patch || die "Failed to add the CAN-2004-0814 patch!"
- epatch ${FILESDIR}/${PN}.FPULockup-53804.patch || die "Failed to apply FPU-lockup patch!"
- epatch ${FILESDIR}/${PN}.cmdlineLeak.patch || die "Failed to apply the /proc/cmdline patch!"
- epatch ${FILESDIR}/${PN}.XDRWrapFix.patch || die "Failed to apply the kNFSd XDR patch!"
- epatch ${FILESDIR}/${PN}.binfmt_elf.patch || die "Failed to apply the binfmt_elf patch!"
- epatch ${FILESDIR}/${PN}.smbfs.patch || die "Failed to apply the SMBFS patch!"
- epatch ${FILESDIR}/${PN}.AF_UNIX.patch || die "Failed to apply the AF_UNIX patch!"
- epatch ${FILESDIR}/${PN}.binfmt_a.out.patch || die "Failed to apply the binfmt_a.out patch!"
- epatch ${FILESDIR}/${PN}.vma.patch || die "Failed to apply the VMA patch!"
- epatch ${FILESDIR}/${PN}.CAN-2004-1016.patch || die "Failed to apply the CAN-2004-1016 patch!"
- epatch ${FILESDIR}/${PN}-4.9s.CAN-2004-1056.patch || die "Failed to apply the CAN-2004-1056 patch!"
- epatch ${FILESDIR}/${PN}-4.9s.brk-locked.patch || die "Failed to apply the do_brk() locking patch!"
- epatch ${FILESDIR}/${PN}.77094.patch || die "Failed to apply bug #77094 patch!"
- epatch ${FILESDIR}/${PN}-4.9s.77666.patch || die "Failed to apply bug #77666 patch!"
- epatch ${FILESDIR}/${PN}.78362.patch || die "Failed to apply bug #78362 patch!"
- epatch ${FILESDIR}/${PN}.78363.patch || die "Failed to apply bug #78363 patch!"
- epatch ${FILESDIR}/${PN}.81106.patch || die "Failed to apply bug #81106 patch!"
-
- kernel_universal_unpack
-}
-
-pkg_postinst() {
- einfo
- einfo "Since wolk-sources-4.6s the 3com 3c59x v0.99Za drivers are excluded."
- einfo "For many people they may work, but too many people expecting problems"
- einfo "with this drivers. They will be reintroduced when they are fixed."
- einfo "You have to fall back to an earlier release of the wolk kernel when you want"
- einfo "to use one of these drivers."
- einfo
- einfo "This new ebuild has support for the workstation patches."
- einfo "With the wolk-bootsplash, wolk-supermount, and"
- einfo "ipv6 use flags you can take advantage of the"
- einfo "Bootsplash, Supermount, and MIPv6 patches."
- einfo
- ewarn "Patches not guaranteed; YMMV..."
- einfo
-}