Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek d0ad37d17f TTY: allow selecting on translated minors
Due to the existence of /dev/console and /dev/log, and the new
"console=" setting, it is now possible that a single non-PTY object
(e.g. serial) is accessible through two different minor numbers.  This
poses a problem when sending late select replies (CDEV_SEL2_REPLY),
because the object's minor number can not be used to identify the
device.  Since selecting on such objects through translated minor
numbers is actually required, we now save the minor number used to
initiate the select query in order to send a late reply.

The solution is suboptimal, as it is not possible to use two different
minors to select on the same object at once.  In the future, there
should be at least one select record for each minor that can be used
with each object.

Change-Id: I4d39681d2ffd68b4047daf933d45b7bafe3c885e
2013-09-28 00:11:00 +02:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin Import NetBSD df(1) 2013-09-28 00:10:40 +02:00
commands Importing usr.bin/uname 2013-09-28 00:11:00 +02:00
common a bit more -Werror compatability 2013-08-20 11:37:40 +02:00
dist/nvi Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
distrib Take LOG out of the boot image 2013-09-28 00:11:00 +02:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers TTY: allow selecting on translated minors 2013-09-28 00:11:00 +02:00
etc Take LOG out of the boot image 2013-09-28 00:11:00 +02:00
external Enable sys-root support in the native binutils 2013-09-28 00:11:00 +02:00
gnu Prevent make -C gnu from installing files in / 2013-09-17 15:19:50 +02:00
include uname: normalize release and version 2013-09-28 00:11:00 +02:00
kernel uname: normalize release and version 2013-09-28 00:11:00 +02:00
lib Kernel: make SIGKMESS target process list dynamic 2013-09-28 00:10:59 +02:00
libexec increase -Werror resilience 2013-08-21 13:53:39 +02:00
man Importing usr.bin/uname 2013-09-28 00:11:00 +02:00
releasetools Importing usr.bin/uname 2013-09-28 00:11:00 +02:00
sbin Enable getmntinfo(3) 2013-09-28 00:10:26 +02:00
servers uname: normalize release and version 2013-09-28 00:11:00 +02:00
share fix sysroot clang 2013-09-28 00:03:42 +02:00
sys uname: normalize release and version 2013-09-28 00:11:00 +02:00
test Add testvnd.sh test script 2013-09-28 00:10:59 +02:00
tests fix a few more minix specific warnings 2013-08-27 16:16:03 +00:00
tools x86 hd image creator 2013-09-25 19:30:22 +02:00
usr.bin Importing usr.bin/uname 2013-09-28 00:11:00 +02:00
usr.sbin Import NetBSD vndconfig(8) 2013-09-28 00:10:58 +02:00
.gitignore gitignore: ignore some more generated files 2012-12-06 13:29:20 +00:00
.gitreview misc:Add gerrit code review support. 2013-01-16 09:44:16 +01:00
build.sh Reverting back to default value of MKARZERO 2013-01-17 10:03:58 +01:00
LICENSE Fix parameter parsing in cut 2010-01-21 10:16:05 +00:00
Makefile Importing NetBSD "Kyua" test framework 2013-07-23 20:43:41 +02:00