minix/drivers
Thomas Veerman ca7a466f48 TTY: don't allow multiple readers on tty minor
TTY has no way of keeping track of multiple readers for a tty minor
device. Instead, it stores a read request for the last reader only.
Consequently, the first ("overwritten") reader gets stuck on a read
request that's never going to be finished. Also, the overwriting
causes a grant mismatch in VFS when TTY returns a reply for the
second reader.

This patch is a work around for the actual problem (i.e., keeping track
of multiple readers). It checks whether there is a read operation in
progress and returns an error if it is --preventing that reader from
getting overwritten and stuck. It fixes a bug triggered by executing
'top | more' and pressing the space bar for a while (easily reproducable
in a VM, not on hardware).
2012-04-13 13:22:13 +00:00
..
acpi retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
ahci retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
amddev retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
at_wini retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
atl2 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
audio retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
dec21140A retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
dp8390 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
dpeth retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
e1000 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
fbd retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
filter Kernel/servers/drivers: resolve a few warnings 2012-03-30 16:55:06 +02:00
floppy retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
fxp retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
hello retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
lance retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
log retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
memory retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
orinoco retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
pci retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
printer retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
ramdisk retire bios_wini 2012-04-12 03:02:21 +02:00
random retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
readclock retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
rtl8139 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
rtl8169 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
ti1225 retire PUBLIC, PRIVATE and FORWARD 2012-03-25 21:58:14 +02:00
tty TTY: don't allow multiple readers on tty minor 2012-04-13 13:22:13 +00:00
vbox VBOX: add host/guest communication interface 2012-04-09 15:56:20 +02:00
Makefile retire bios_wini 2012-04-12 03:02:21 +02:00
Makefile.inc Full switch to clang/ELF. Drop ack. Simplify. 2012-02-14 14:52:02 +01:00