original_kernel/drivers
Oleg Nesterov 040b6362d5 tty: fix leakage of -ERESTARTSYS to userland
Spotted by Satoru Takeuchi.

kill_pgrp(task_pgrp(current)) sends the signal to the current's thread
group, but can choose any sub-thread as a target for signal_wake_up().
This means that job_control() and tty_check_change() may return
-ERESTARTSYS without signal_pending().

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
Cc: Satoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-01 08:18:29 -07:00
..
acorn
acpi
amba
ata
atm
auxdisplay cfag12864bfb: Use sys_ instead of cfb_ framebuffer accessors 2007-06-01 08:18:28 -07:00
base
block
bluetooth
cdrom
char tty: fix leakage of -ERESTARTSYS to userland 2007-06-01 08:18:29 -07:00
clocksource
connector
cpufreq
crypto
dio
dma
edac
eisa
fc4
firewire
firmware
hid
hwmon
i2c
ide
ieee1394
infiniband IB/cm: Fix stale connection detection 2007-05-29 16:07:09 -07:00
input [ARM] Fix some section mismatch warnings 2007-05-30 17:48:45 +01:00
isdn drivers/isdn/hardware/eicon/message.c warning fixes 2007-05-23 20:14:15 -07:00
kvm
leds
macintosh
mca
md
media
message
mfd
misc misc/tifm_7xx1: replace deprecated irq flag 2007-06-01 08:18:28 -07:00
mmc
mtd parse errors in ifdefs 2007-06-01 08:18:28 -07:00
net parse errors in ifdefs 2007-06-01 08:18:28 -07:00
nubus
oprofile
parisc
parport
pci msi: mask the msix vector before we unmap it 2007-06-01 08:18:27 -07:00
pcmcia at91: fix enable/disable_irq_wake symmetry in pcmcia driver 2007-05-31 07:58:13 -07:00
pnp
ps3
rapidio
rtc RTC: use fallback IRQ if PNP tables don't provide one 2007-06-01 08:18:29 -07:00
s390 [S390] cio: deregister ccw device when pgid disband failed 2007-05-31 17:38:14 +02:00
sbus [SPARC]: Missing #include <linux/mm.h> in drivers/sbus/char/flash.c 2007-05-31 01:52:53 -07:00
scsi parse errors in ifdefs 2007-06-01 08:18:28 -07:00
serial Merge master.kernel.org:/home/rmk/linux-2.6-arm 2007-05-30 10:04:01 -07:00
sh
sn
spi
tc
telephony
usb
video fbdev: Move declaration of fb_class to <linux/fb.h> 2007-06-01 08:18:28 -07:00
w1
zorro
Kconfig
Makefile