PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : linux 2.6.11.1



Samsara
09.03.05, 10:21
Diese neueste Kernel-Version laeuft nun auch auf Dell-Laptops.

Changelog:

Summary of changes from v2.6.11 to v2.6.11.1
============================================

<rene@exactcode.de>
[PATCH] trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec

From: Rene Rebe <rene@exactcode.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<olof@austin.ibm.com>
[PATCH] Fix for trivial fix for 2.6.11 raid6 compilation on ppc w/ Altivec

Here's a patch that will work for both PPC and PPC64. The proper way to
fix this in mainline is to merge -mm's cpu_has_feature patch, but for
the stable 2.6.11-series, this much less intrusive (i.e. just the pure
bugfix, not the cleanup part).

Signed-off-by: Olof Johansson <olof@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<dtor_core@ameritech.net>
[PATCH] Fix keyboards for Dell machines

Some ACPI-related changes were recently made to i8042 discovery for ia64.
Unfortunately this broke a significant number of Dell laptops due to their
having incorrect BIOS tables.

So, for now, arrange for the new code to be ia64-only.

From: Dmitry Torokhov <dtor_core@ameritech.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Quelle:http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.11.1

Download: http://www.kernel.org/
.

Freekazonid
09.03.05, 10:55
den 11.1 gibt es schon "laenger", dafuer gibt es seit heute version 11.2 ausm suckertree, die du wohl meinst : ) allerdings brauch man ja net bei jedem release aus jedem tree nen thread machen *meine meinung*

fuffy
09.03.05, 11:30
Hi!


dafuer gibt es seit heute version 11.2 ausm suckertree
Ich glaub, es wird langsam Zeit für nen Cronjob. :ugly:

Gruß
fuffy

Tomek
09.03.05, 12:04
Heute ist eine weitere neue Version erschienen. Der Linux-Kernel 2.6.11.2 behebt einen Bug, wie aus der Mail von Greg KH und dem Changelog zu entnehmen ist:

And to further test this whole -stable system, I've released 2.6.11.2.
It contains one patch, which is already in the -bk tree, and came from
the security team (hence the lack of the longer review cycle).

It's available now in the normal kernel.org places:
kernel.org/pub/linux/kernel/v2.6/patch-2.6.11.2.gz
which is a patch against the 2.6.11.1 release. If consensus arrives
that this patch should be against the 2.6.11 tree, it will be done that
way in the future.

A detailed changelog can be found at:
kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.11.2

A bitkeeper tree for the 2.6.11.y releases can be found at:
bk://linux-release.bkbits.net/linux-2.6.11

The diffstat and short summary of the fixes are below.

I'll also be replying to this message with a copy of the patch itself,
as it is small enough to do so.

thanks,

greg k-h

-------


Makefile | 2 +-
fs/eventpoll.c | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)


Summary of changes from v2.6.11.1 to v2.6.11.2
============================================

Greg Kroah-Hartman:
o Linux 2.6.11.2

Linus Torvalds:
o epoll: return proper error on overflow condition

Samsara
09.03.05, 14:28
den 11.1 gibt es schon "laenger", dafuer gibt es seit heute version 11.2 ausm suckertree, die du wohl meinst : ) allerdings brauch man ja net bei jedem release aus jedem tree nen thread machen *meine meinung*
Ja, den meinte ich, aber habe wohl auf der kernel.org den falschen erwischt, weil die noch nicht aktualisiert war.

Danke,

Samsara

PS: Ich ueberlege im Moment, einen bot fuer irc.linuxforen.de zu schreiben, der diese ganze Changelog-Posterei automatisiert. Da koennen wir dann einen channel #newversions oder so aufmachen fuer alle, die den output lesen wollen! Ihr koennt mich gerne schonmal vorab dafuer loben/beschimpfen ;)
.

stefan-tiger
09.03.05, 14:32
Wenn das so weitergeht dann kommen 50 Patch-Versionen raus, bevor die nächste Feature-Version rauskommt :ugly:

Schwarzer'Engel
09.03.05, 16:26
Wenn das so weitergeht dann kommen 50 Patch-Versionen raus, bevor die nächste Feature-Version rauskommt :ugly:

2.6.11.xx sind also patchversionen ?

Freekazonid
09.03.05, 16:39
2.6.11.xx sind also patchversionen ?

jein

http://www.linuxforen.de/forums/showthread.php?t=175298

da hamwa auch nen thread drueber die deine antwort hoffentlich beantwortet ;D

Schwarzer'Engel
09.03.05, 16:48
jein

http://www.linuxforen.de/forums/showthread.php?t=175298

da hamwa auch nen thread drueber die deine antwort hoffentlich beantwortet ;D

alles klar, danke. :D

Shutdown
10.03.05, 11:33
Hier mal ne schnelle Info an alle, die auf Sicherheitspatches und stabile Kernel stehen und sich deswegen den 2.6.11.2 draufgemacht haben;
2.6.11-ac2 ist eindeutig die bessere Wahl, da er alles was der .2 hat drin hat und noch mehr :D

Changelog

2.6.11-ac2
o Merge 2.6.11.2 (Greg Kroah-Hartmann)
including epoll error handling (Georgi Guninski)
| Theoretically security
o Fix a couple of pwc warnings (Alan Cox)
o Ressurect epca driver (Alan Cox)
2.6.11-ac1
o Fix jbd race in ext3 (Stephen Tweedie)

Carried over from 2.6.10-ac

Security
o AF_ROSE security hole fix - still missing from base
o Bridge failure to check kmalloc argument overflow

Functionality
o PWC USB camera driver
o Working ULI526X support (added to base in .11 but broken)
o ATP88x support
o Intelligent misrouted IRQ handlers
o Fix PCI boxes that take minutes IDE probing
o Remove bogus confusing XFree86 keyboard message
o Support fibre AMD pcnet32
o Runtime configurable clock
| So you can run laptops usefully. Set 100Hz to fix
| the power drain, clock sliding and other problems
| 1000Hz causes
o Fix token ring locking so token ring can be used again
o x86_64/32 cross build fixes
o NetROM locking fixes (so NetROM actually works!)
o SUID dumpable support
o Don't log pointless CD messages
o Minimal stallion driver functionality
o IDE from 2.6-ac
Misc
o Correct LANANA URL

Ausserdem vertraue ich auch voll auf Alan Cox, der hat bis jetzt immer sehr gute Sachen gemacht finde ich...

Shutdown

nIght
10.03.05, 13:33
Hier mal ne schnelle Info an alle, die auf Sicherheitspatches und stabile Kernel stehen und sich deswegen den 2.6.11.2 draufgemacht haben;
2.6.11-ac2 ist eindeutig die bessere Wahl, da er alles was der .2 hat drin hat und noch mehr :D

Changelog

2.6.11-ac2
o Merge 2.6.11.2 (Greg Kroah-Hartmann)
including epoll error handling (Georgi Guninski)
| Theoretically security
o Fix a couple of pwc warnings (Alan Cox)
o Ressurect epca driver (Alan Cox)
2.6.11-ac1
o Fix jbd race in ext3 (Stephen Tweedie)

Carried over from 2.6.10-ac

Security
o AF_ROSE security hole fix - still missing from base
o Bridge failure to check kmalloc argument overflow

Functionality
o PWC USB camera driver
o Working ULI526X support (added to base in .11 but broken)
o ATP88x support
o Intelligent misrouted IRQ handlers
o Fix PCI boxes that take minutes IDE probing
o Remove bogus confusing XFree86 keyboard message
o Support fibre AMD pcnet32
o Runtime configurable clock
| So you can run laptops usefully. Set 100Hz to fix
| the power drain, clock sliding and other problems
| 1000Hz causes
o Fix token ring locking so token ring can be used again
o x86_64/32 cross build fixes
o NetROM locking fixes (so NetROM actually works!)
o SUID dumpable support
o Don't log pointless CD messages
o Minimal stallion driver functionality
o IDE from 2.6-ac
Misc
o Correct LANANA URL

Ausserdem vertraue ich auch voll auf Alan Cox, der hat bis jetzt immer sehr gute Sachen gemacht finde ich...

Shutdown

hi,

ich benutze auch die ac patches. laufen sehr gut :)

cu
ogu

m0L
10.03.05, 13:40
Mhh, noch garnicht probiert...
Mit welchem patchlever (-p0, -p1, -p2, -p3) patcht man denn die -ac Patches?

~ejr

fuffy
10.03.05, 13:44
Hi!


Mit welchem patchlever (-p0, -p1, -p2, -p3) patcht man denn die -ac Patches?
Wie eigentlich jeden Kernel-Patch mit -p1

Gruß
fuffy

m0L
10.03.05, 13:46
Oki, danke, beim nächsten Patch/Kernel werd ich wohl auch den -ac Patch einspielen ...

~ejr

Samsara
13.03.05, 09:44
Das lohnt sich wohl nicht mehr, jedesmal einen neuen thread aufzumachen...

Hier also das etwas laengere Changelog vom 2.6.11.3:
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.11.3

Zusammenfassung:

<khali@linux-fr.org>
[PATCH] fix amd64 2.6.11 oops on modprobe (saa7110)

<akpm@osdl.org>
[PATCH] cramfs: small stat(2) fix

<airlied@linux.ie>
[PATCH] drm missing memset can crash X server..

<akpm@osdl.org>
[PATCH] ppc32: Compilation fixes for Ebony, Luan and Ocotea

<khali@linux-fr.org>
[PATCH] Fix i2c messsage flags in video drivers

<davem@davemloft.net>
[PATCH] [TCP]: Put back tcp_timer_bug_msg[] symbol export.

<galak@freescale.com>
[PATCH] ppc32: trivial fix for e500 oprofile build

<alexn@dsv.su.se>
[PATCH] PCI: fix hotplug double free

<shemminger@osdl.org>
[PATCH] r8169: receive descriptor length fix

<chrisw@osdl.org>
[PATCH] sis900 kernel oops fix

<olof@austin.ibm.com>
[PATCH] [VIA RHINE] older chips oops on shutdown

Gruss,

Samsara
.

michel_vaclav
13.03.05, 16:24
Ist das nur bei mir so, dass es beim patchen von 2.6.11.2 auf 3 Fehler hagelt?

Bin ich sonst nicht gewohnt.

michel_vaclav

derRichard
13.03.05, 16:57
Ist das nur bei mir so, dass es beim patchen von 2.6.11.2 auf 3 Fehler hagelt?

Bin ich sonst nicht gewohnt.

michel_vaclav
hallo!

der patch ist nicht für 2.6.11.2, sondern für 2.6.11.
den .2er musst erst unpatchen.
siehe manpage von patch...

//richard

Fatty
16.03.05, 10:58
Gibt mittlerweile auch schon die Version 2.6.11.4.

Summary of changes from v2.6.11.3 to v2.6.11.4
==============================================

<paulus@au1.ibm.com>
[PATCH] CAN-2005-0384: Remote Linux DoS on ppp servers

Martin Schulze writes:

> Ben Martel and Stephen Blackheath have discovered a denial-of-service attack
> that a client of pppd can make that can hang the server machine. The bug is
> in the Linux kernel 2.6 (tested on 2.6.9), but it looks like it also exists
> in the 2.4 series.

Yes, this is my bug. :(

I would just do this instead:

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<akpm@osdl.org>
[PATCH] use strncpy in get_task_comm

From: Prasanna Meda <pmeda@akamai.com>

Set_task_comm uses strlcpy, so get_task_comm must use strncpy.

Signed-Off-by: Prasanna Meda <pmeda@akamai.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<gregkh@suse.de>
Linux 2.6.11.4

Igge
19.03.05, 22:06
2.6.11.5 ist draussen...

Homepage: http://www.kernel.org
Download: http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.5.tar.bz2
Changelog: http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.11.5

Igge

stefan-tiger
20.03.05, 10:37
Mal so ne Frage in die Runde:

nVidia bzw. ATI Treiber die mit dem 2.6.11 kompatibel sind, sind die auch mit allen 2.6.11.x kompatibel?

Bei den schnellen Releases wäre es ungeschickt wenn es mit diesen Sub-Versionen jedesmal Probleme gibt.

Gruß

derRichard
20.03.05, 10:57
hallo!

ich würd sagen, dass das keine probleme macht.
weil die es immer nur kleine bugfixes sind und am design vom kernel nichts verändert wird.

//richard

zander
20.03.05, 11:31
@stefan-tiger: ja, lediglich bei aktuellen 2.6.11-bk/2.6.12-rc Kerneln, die ohne AGPGART Unterstützung konfiguriert wurden, gibt es aufgrund eines Fehlers im NVIDIA Treiber derzeit Probleme (siehe http://www.nvnews.net/vbulletin/showthread.php?t=47405).

zeratul2099
26.03.05, 09:43
Nun is 2.6.11.6 da:


Summary of changes from v2.6.11.5 to v2.6.11.6
==============================================

<torvalds@osdl.org>
[PATCH] isofs: Handle corupted rock-ridge info slightly better

Michal Zalewski <lcamtuf@dione.ids.pl> discovers range checking flaws in
iso9660 filesystem.

http://marc.theaimsgroup.com/?l=bugtraq&m=111110067304783&w=2

CAN-2005-0815 is assigned to this issue.

From: Linus Torvalds <torvalds@osdl.org>

isofs: Handle corupted rock-ridge info slightly better.

Keyword here being 'slightly'. The code is a mess.

Signed-off-by: Chris Wright <chrisw@osdl.org>

<torvalds@osdl.org>
[PATCH] isofs: more "corrupted iso image" error cases

Michal Zalewski <lcamtuf@dione.ids.pl> discovers range checking flaws in
iso9660 filesystem.

http://marc.theaimsgroup.com/?l=bugtraq&m=111110067304783&w=2

CAN-2005-0815 is assigned to this issue.

From: Linus Torvalds <torvalds@osdl.org>

isofs: more "corrupted iso image" error cases

Thanks to Michal Zalewski for testing.

Signed-off-by: Chris Wright <chrisw@osdl.org>

<chrisw@osdl.org>
[PATCH] isofs: more defensive checks against corrupt isofs images

Michal Zalewski <lcamtuf@dione.ids.pl> discovers range checking flaws in
iso9660 filesystem.

http://marc.theaimsgroup.com/?l=bugtraq&m=111110067304783&w=2

CAN-2005-0815 is assigned to this issue.

Some more defensive checks to keep corrupt isofs images from corrupting
memory or causing Oops.

Signed-off-by: Chris Wright <chrisw@osdl.org>

===== fs/isofs/rock.c 1.23 vs edited =====

<meissner@suse.de>
[PATCH] Fix signedness problem at socket creation

From: Marcel Holtmann <marcel@holtmann.org>

CAN-2005-0750 is assigned to this issue

ilja <ilja@suresec.org> discovered potential local root exploit in
bluetooth socket creation.

This patch fixes a small signedness problem when creating the
socket.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>

<mlafon@arkoon.net>
[PATCH] Suspected information leak (mem pages) in ext2

From: "Mathieu Lafon" <mlafon@arkoon.net>

I think I have discovered a potential security problem in ext2: when a
new directory is created, the ext2 block written to disk is not
initialized.

Included is a proposed patch for Linux 2.6 (ext2_make_empty() function):

CAN-2005-0400 is assigned to this issue.

Signed-off-by: Chris Wright <chrisw@osdl.org>

<akpm@osdl.org>
[PATCH] Potential DOS in load_elf_library

From: Herbert Xu <herbert@gondor.apana.org.au>

Yichen Xie <yxie@cs.stanford.edu> points out that load_elf_library can
modify `elf_phdata' before freeing it.

CAN-2005-0749 is assigned to this issue.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>

<chrisw@osdl.org>
Linux 2.6.11.6

Homepage: http://www.kernel.org
Patch: http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.11.6.bz2

ThorstenHirsch
26.03.05, 10:53
das muss man sich mal auf der Zunge zergehen lassen:

From: Linus Torvalds <torvalds@osdl.org>

isofs: Handle corupted rock-ridge info slightly better.

Keyword here being 'slightly'. The code is a mess.

zeratul2099
08.04.05, 01:08
Und 2.6.11.7:



Summary of changes from v2.6.11.6 to v2.6.11.7
==============================================

<tiwai@suse.de>
[PATCH] Fix Oops with ALSA timer event notification

the patch below fixes the bug of ALSA timer notification, which is
used in the recent ALSA dmix plugin.

- fixed Oops in read()
- fixed wake-up polls and signals with new events

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<jack@suse.cz>
[PATCH] Prevent race condition in jbd

From: Stephen Tweedie <sct@redhat.com>
Subject: Prevent race condition in jbd

This patch from Stephen Tweedie which fixes a race in jbd code (it
demonstrated itself as more or less random NULL dereferences in the
journal code).

Acked-by: Jan Kara <jack@suse.cz>
Acked-by: Chris Mason <mason@suse.com>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<amy.griffis@hp.com>
[PATCH] fix ia64 syscall auditing

Attached is a patch against David's audit.17 kernel that adds checks
for the TIF_SYSCALL_AUDIT thread flag to the ia64 system call and
signal handling code paths. The patch enables auditing of system
calls set up via fsys_bubble_down, as well as ensuring that
audit_syscall_exit() is called on return from sigreturn.

Neglecting to check for TIF_SYSCALL_AUDIT at these points results in
incorrect information in audit_context, causing frequent system panics
when system call auditing is enabled on an ia64 system.

I have tested this patch and have seen no problems with it.

[Original patch from Amy Griffis ported to current kernel by David Woodhouse]

From: Amy Griffis <amy.griffis@hp.com>
From: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<khali@linux-fr.org>
[PATCH] I2C: Fix oops in eeprom driver

This fixes an oops in the eeprom driver. It was first reported here:
http://bugzilla.kernel.org/show_bug.cgi?id=4347

It was additionally discussed here (while tracking a completely
different bug):
http://archives.andrew.net.au/lm-sensors/msg30021.html

The patch is already in 2.6.12-rc1:
http://linux.bkbits.net:8080/linux-2.5/cset@1.2227

The oops happens when one reads data from the sysfs interface file such
that (off < 16) and (count < 16 - off). For example "sensors" from
lm_sensors 2.9.0 does this, and causes the oops.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<kaber@trash.net>
[PATCH] : Do not hold state lock while checking size

This patch from Herbert Xu fixes a deadlock with IPsec.
When an ICMP frag. required is sent and the ICMP message
needs the same SA as the packet that caused it the state
will be locked twice.

[IPSEC]: Do not hold state lock while checking size.

This can elicit ICMP message output and thus result in a
deadlock.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<akpm@osdl.org>
[PATCH] rwsem fix

We should merge this backport - it's needed to prevent deadlocks when
dio_complete() does up_read() from IRQ context. And perhaps other places.

From: David Howells <dhowells@redhat.com>

[PATCH] rwsem: Make rwsems use interrupt disabling spinlocks

The attached patch makes read/write semaphores use interrupt disabling
spinlocks in the slow path, thus rendering the up functions and trylock
functions available for use in interrupt context. This matches the
regular semaphore behaviour.

I've assumed that the normal down functions must be called with interrupts
enabled (since they might schedule), and used the irq-disabling spinlock
variants that don't save the flags.

Signed-Off-By: David Howells <dhowells@redhat.com>
Tested-by: Badari Pulavarty <pbadari@us.ibm.com>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<davem@davemloft.net>
[PATCH] Fix BIC congestion avoidance algorithm error

Since BIC is the default congestion control algorithm
enabled in every 2.6.x kernel out there, fixing errors
in it becomes quite critical.

A flaw in the loss handling caused it to not perform
the binary search regimen of the BIC algorithm
properly.

The fix below from Stephen Hemminger has been heavily
verified.

[TCP]: BIC not binary searching correctly

While redoing BIC for the split up version, I discovered that the existing
2.6.11 code doesn't really do binary search. It ends up being just a slightly
modified version of Reno. See attached graphs to see the effect over simulated
1mbit environment.

The problem is that BIC is supposed to reset the cwnd to the last loss value
rather than ssthresh when loss is detected. The correct code (from the BIC
TCP code for Web100) is in this patch.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<blaisorblade@yahoo.it>
[PATCH] [patch 1/1] uml: va_copy fix

Uses __va_copy instead of va_copy since some old versions of gcc (2.95.4
for instance) don't accept va_copy.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<gregkh@suse.de>
Linux 2.6.11.7


Patch (http://www.kernel.org/pub/linux/kernel/v2.6/patch-2.6.11.7.bz2)
Full Source (http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.11.7.tar.bz2)
Homepage (http://www.kernel.org)


Läuft bei mir soweit ohne auffällige Probleme.

michel_vaclav
30.04.05, 19:30
Und weiter gehts: 2.6.11.8 ist erschienen

Changelog:

Summary of changes from v2.6.11.7 to v2.6.11.8
==============================================

<js@linuxtv.org>
[PATCH] [fix Bug 4395] modprobe bttv freezes the computer

Here's a patch that fixes
http://bugme.osdl.org/show_bug.cgi?id=4395.

Patch by Manu Abraham and Gerd Knorr:
Remove redundant bttv_reset_audio() which caused the computer to
freeze with some bt8xx based DVB cards when loading the bttv driver.

Signed-off-by: Johannes Stezenbach <js@linuxtv.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Gerd Knorr <kraxel@bytesex.org>

<khali@linux-fr.org>
[PATCH] I2C: Fix incorrect sysfs file permissions in it87 and via686a drivers

The it87 and via686a hardware monitoring drivers each create a sysfs
file named "alarms" in R/W mode, while they should really create it in
read-only mode. Since we don't provide a store function for these files,
write attempts to these files will do something undefined (I guess) and
bad (I am sure). My own try resulted in a locked terminal (where I
attempted the write) and a 100% CPU load until next reboot.

As a side note, wouldn't it make sense to check, when creating sysfs
files, that readable files have a non-NULL show method, and writable
files have a non-NULL store method? I know drivers are not supposed to
do stupid things, but there is already a BUG_ON for several conditions
in sysfs_create_file, so maybe we could add two more?

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<akpm@osdl.org>
[PATCH] Fix reproducible SMP crash in security/keys/key.c

Jani Jaakkola <jjaakkol@cs.Helsinki.FI> wrote:
>
> SMP race handling is broken in key_user_lookup() in security/keys/key.c

This was fixed post-2.6.11. Can you confirm that 2.6.12-rc2 works OK?

This is the patch we used. It should go into -stable if it's not already
there.


From: Alexander Nyberg <alexn@dsv.su.se>

I looked at some of the oops reports against keyrings, I think the problem
is that the search isn't restarted after dropping the key_user_lock, *p
will still be NULL when we get back to try_again and look through the tree.

It looks like the intention was that the search start over from scratch.

Signed-off-by: Alexander Nyberg <alexn@dsv.su.se>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<blaisorblade@yahoo.it>
[PATCH] uml: quick fix syscall table

I'm resending this for inclusion in the -stable tree. I've deleted whitespace
cleanups, and hope this can be merged. I've been asked to split the former
patch, I don't know if I must split again this one, even because I don't want
to split this correct patch into multiple non-correct ones by mistake.

Uml 2.6.11 does not compile with gcc 2.95.4 because some entries are
duplicated, and that GCC does not accept this (unlike gcc 3). Plus various
other bugs in the syscall table definitions, resulting in probable wrong
syscall entries:

*) 223 is a syscall hole (i.e. ni_syscall) only on i386, on x86_64 it's a
valid syscall (thus a duplicated one).

*) __NR_vserver must be only once with sys_ni_syscall, and not multiple
times with different values!

*) syscalls duplicated in SUBARCHs and in common files (thus assigning twice
to the same array entry and causing the GCC 2.95.4 failure mentioned above):
sys_utimes, which is common, and sys_fadvise64_64, sys_statfs64,
sys_fstatfs64, which exist only on i386.

*) syscalls duplicated in each SUBARCH, to put in common files:
sys_remap_file_pages, sys_utimes, sys_fadvise64

*) 285 is a syscall hole (i.e. ni_syscall) only on i386, on x86_64 the range
does not arrive to that point.

*) on x86_64, the macro name is __NR_kexec_load and not __NR_sys_kexec_load.
Use the correct name in either case.

Note: as you can see, part of the syscall table definition in UML is
arch-independent (with everywhere defined syscalls), and part is
arch-dependant. This has created confusion (some syscalls are listed in both
places, some in the wrong one, some are wrong on one arch or another).

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<davem@davemloft.net>
[PATCH] sparc: Fix PTRACE_CONT bogosity

SunOS aparently had this weird PTRACE_CONT semantic which
we copied. If the addr argument is something other than
1, it sets the process program counter to whatever that
value is.

This is different from every other Linux architecture, which
don't do anything with the addr and data args.

This difference in particular breaks the Linux native GDB support
for fork and vfork tracing on sparc and sparc64.

There is no interest in running SunOS binaries using this weird
PTRACE_CONT behavior, so just delete it so we behave like other
platforms do.

From: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<davem@davemloft.net>
[PATCH] sparc64: Fix copy_sigingo_to_user32()

From: jurij@wooyd.org

Because this routine was not filling in the siginfo
values for si_band and si_fd, this broke applications
trying to actually get at this data.

This makes the sparc64 code in line with PowerPC64's
implementation, which already gets it right.

Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<davem@davemloft.net>
[PATCH] : sparc64: use message queue compat syscalls

A couple message queue system call entries for compat tasks
were not using the necessary compat_sys_*() functions, causing
some glibc test cases to fail.

From: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

<gregkh@suse.de>
Linux 2.6.11.8

Die Links spare ich mir, daran hat sich ja zu meinen Vorgängern nichts geändert.

Gruß und fröhliches Kompilieren

michel_vaclav