linux_dsm_epyc7002/drivers/char
Alan Cox 47f86834bb redo locking of tty->pgrp
Historically tty->pgrp and friends were pid_t and the code "knew" they were
safe.  The change to pid structs opened up a few races and the removal of the
BKL in places made them quite hittable.  We put tty->pgrp under the ctrl_lock
for the tty.

Signed-off-by: Alan Cox <alan@redhat.com>
Cc: Oleg Nesterov <oleg@tv-sign.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-04-30 08:29:40 -07:00
..
agp agp: convert drivers/char/agp/frontend.c to use unlocked_ioctl 2008-04-26 18:43:20 +10:00
drm drivers: atm, char fix integer as NULL pointer warnings 2008-04-28 17:29:18 -07:00
hw_random Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2008-04-21 15:57:09 -07:00
ip2 proc: switch /proc/ip2mem to seq_file interface 2008-04-29 08:06:19 -07:00
ipmi ipmi: fix return from atca_oem_poweroff_hook 2008-04-29 08:06:16 -07:00
mwave arm/mach-integrator/time.c, mwave: revert portions of recent irq cleanups 2008-04-24 08:35:37 -04:00
pcmcia ipwireless: remove dead code 2008-04-29 08:06:01 -07:00
rio drivers: fix integer as NULL pointer warnings 2008-04-28 17:31:13 -07:00
tpm tpm: change Kconfig dependencies from PNPACPI to PNP 2008-04-29 08:06:26 -07:00
xilinx_hwicap [POWERPC] char/xilinx_hwicap/ section fix 2008-04-24 20:58:02 +10:00
.gitignore
amiserial.c amiserial: prepare for locking relaxation in caller 2008-04-30 08:29:38 -07:00
apm-emulation.c proc: switch /proc/apm to seq_file interface 2008-04-29 08:06:19 -07:00
applicom.c Char: applicom, use pci_match_id 2008-02-08 09:22:41 -08:00
applicom.h
bfin-otp.c Blackfin char driver for Blackfin on-chip OTP memory (v3) 2008-04-25 08:04:56 +08:00
briq_panel.c
cd1865.h
ChangeLog
consolemap.c unicode diacritics support 2007-10-17 08:42:52 -07:00
cp437.uni
cs5535_gpio.c drivers: fix integer as NULL pointer warnings 2008-04-28 17:31:13 -07:00
cyclades.c cyclades: Prepare for relaxed locking in callers 2008-04-30 08:29:38 -07:00
defkeymap.c_shipped Fix default compose table initialization 2008-03-03 14:53:16 -08:00
defkeymap.map
digi1.h
digiFep1.h
digiPCI.h
ds1286.c
ds1302.c
ds1620.c
dsp56k.c
dtlk.c
efirtc.c drivers/char/: Spelling fixes 2008-02-03 17:11:42 +02:00
epca.c epca: lock_kernel push down 2008-04-30 08:29:38 -07:00
epca.h Char: char/serial, remove SERIAL_TYPE_NORMAL redefines 2008-02-07 08:42:33 -08:00
epcaconfig.h
esp.c esp: lock_kernel push down 2008-04-30 08:29:39 -07:00
generic_nvram.c
generic_serial.c drivers: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:16:32 -04:00
genrtc.c
hangcheck-timer.c drivers/char/: Spelling fixes 2008-02-03 17:11:42 +02:00
hpet.c x86: revert assign IRQs to hpet timer 2008-04-04 18:36:49 +02:00
hvc_beat.c [POWERPC] hvcbeat: Fix buffer manipulation 2008-04-17 07:46:10 +10:00
hvc_console.c drivers/char: use LIST_HEAD instead of LIST_HEAD_INIT 2008-02-06 10:41:07 -08:00
hvc_console.h
hvc_iseries.c
hvc_rtas.c [POWERPC] hvc_rtas_init() must be __init 2008-02-14 22:11:02 +11:00
hvc_vio.c
hvc_xen.c
hvcs.c drivers/char: use LIST_HEAD instead of LIST_HEAD_INIT 2008-02-06 10:41:07 -08:00
hvsi.c
i8k.c drivers: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
ip27-rtc.c ip27-rtc: convert ioctl to unlocked_ioctl 2008-02-06 10:41:14 -08:00
isicom.c isicom: prepare for lock_kernel push down 2008-04-30 08:29:39 -07:00
istallion.c isicom: istallion prepare for lock_kernel pushdown 2008-04-30 08:29:39 -07:00
Kconfig make /dev/kmem a config option 2008-04-29 08:05:59 -07:00
keyboard.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-04-25 12:38:14 -07:00
lcd.c
lcd.h
lp.c Parallel port: convert port_mutex to the mutex API 2008-02-06 10:41:01 -08:00
Makefile Blackfin char driver for Blackfin on-chip OTP memory (v3) 2008-04-25 08:04:56 +08:00
mbcs.c MBCS: convert dmareadlock to mutex 2008-02-07 08:42:25 -08:00
mbcs.h MBCS: convert dmareadlock to mutex 2008-02-07 08:42:25 -08:00
mem.c make /dev/kmem a config option 2008-04-29 08:05:59 -07:00
misc.c drivers: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
mmtimer.c
moxa.c moxa: first pass at termios reporting 2008-02-08 09:22:24 -08:00
mspec.c [IA64] allocate multiple contiguous pages via uncached allocator 2008-04-29 13:49:01 -07:00
mxser.c mxser: prepare for BKL pushdown 2008-04-30 08:29:39 -07:00
mxser.h Char: mxser, remove it 2008-02-07 08:42:34 -08:00
n_hdlc.c tty: BKL pushdown 2008-04-30 08:29:40 -07:00
n_r3964.c tty: BKL pushdown 2008-04-30 08:29:40 -07:00
n_tty.c tty: BKL pushdown 2008-04-30 08:29:40 -07:00
nozomi.c fix iomem misannotations in nozomi 2008-03-30 14:20:23 -07:00
nsc_gpio.c
nvram.c
nwbutton.c
nwbutton.h
nwflash.c
pc8736x_gpio.c
ppdev.c [PARPORT] Remove unused 'irq' argument from parport irq functions 2007-10-23 19:53:16 -04:00
ps3flash.c
pty.c tty: BKL pushdown 2008-04-30 08:29:40 -07:00
random.c random: add async notification support to /dev/random 2008-04-29 08:06:25 -07:00
raw.c
riscom8_reg.h
riscom8.c riscom8: Prepare for BKL pushdown 2008-04-30 08:29:39 -07:00
riscom8.h Char: riscom8, remove wakeup and hangup bottomhalves 2008-02-07 08:42:34 -08:00
rocket_int.h char: use get_unaligned_* helpers 2008-04-29 08:06:27 -07:00
rocket.c rocket: Prepare for BKL pushdown 2008-04-30 08:29:39 -07:00
rocket.h
rtc.c drivers: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
scc.h
scx200_gpio.c
selection.c
ser_a2232.c Amiga serial driver: port_write_mutex fixup 2008-02-06 10:41:08 -08:00
ser_a2232.h
ser_a2232fw.ax
ser_a2232fw.h
serial167.c serial167: prepare to push BKL down into drivers 2008-04-30 08:29:39 -07:00
snsc_event.c char: use get_unaligned_* helpers 2008-04-29 08:06:27 -07:00
snsc.c
snsc.h Convert asm/semaphore.h users to linux/semaphore.h 2008-04-18 22:22:54 -04:00
sonypi.c sonypi: Storage class should be before const qualifier 2008-04-21 22:29:37 +00:00
specialix_io8.h Char: specialix, remove bottomhalves 2008-02-07 08:42:34 -08:00
specialix.c specialix: Prepare for BKL pushdown 2008-04-30 08:29:39 -07:00
stallion.c stallion: Prepare for BKL push down 2008-04-30 08:29:39 -07:00
sx.c sx: prepare for BKL pushdown 2008-04-30 08:29:39 -07:00
sx.h Char: char/serial, remove SERIAL_TYPE_NORMAL redefines 2008-02-07 08:42:33 -08:00
sxboards.h
sxwindow.h
synclink_gt.c synclink series: Prepare for BKL pushdown 2008-04-30 08:29:39 -07:00
synclink.c synclink series: Prepare for BKL pushdown 2008-04-30 08:29:39 -07:00
synclinkmp.c synclink series: Prepare for BKL pushdown 2008-04-30 08:29:39 -07:00
sysrq.c sysrq: add show-backtrace-on-all-cpus function 2008-04-29 08:06:03 -07:00
tb0219.c
tlclk.c
toshiba.c drivers: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
tty_audit.c [patch 1/2] audit: let userspace fully control TTY input auditing 2008-04-28 06:28:24 -04:00
tty_io.c redo locking of tty->pgrp 2008-04-30 08:29:40 -07:00
tty_ioctl.c tty: BKL pushdown 2008-04-30 08:29:40 -07:00
vc_screen.c
viocons.c viocons: BKL locking 2008-04-30 08:29:40 -07:00
viotape.c drivers: use non-racy method for proc entries creation 2008-04-29 08:06:22 -07:00
virtio_console.c virtio: simplify config mechanism. 2008-02-04 23:49:57 +11:00
vme_scc.c
vr41xx_giu.c
vt_ioctl.c vt_ioctl: Prepare for BKL push down 2008-04-30 08:29:40 -07:00
vt.c redo locking of tty->pgrp 2008-04-30 08:29:40 -07:00