Official MINIX sources - Automatically replicated from gerrit.minix3.org
Go to file
David van Moolenbroek ec2359d566 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
2014-03-01 09:04:55 +01:00
benchmarks Removing obsolete _MINIX define 2013-02-26 09:44:20 +00:00
bin Import NetBSD df(1) 2014-02-18 11:25:02 +01:00
commands Importing usr.bin/uname 2014-03-01 09:04:55 +01: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 2014-03-01 09:04:55 +01:00
docs Allow install of binutils and import texinfo 2013-07-12 14:18:08 +02:00
drivers TTY: allow selecting on translated minors 2014-03-01 09:04:55 +01:00
etc Take LOG out of the boot image 2014-03-01 09:04:55 +01:00
external Enable sys-root support in the native binutils 2014-03-01 09:04:55 +01:00
gnu Prevent make -C gnu from installing files in / 2013-09-17 15:19:50 +02:00
include uname: normalize release and version 2014-03-01 09:04:55 +01:00
kernel uname: normalize release and version 2014-03-01 09:04:55 +01:00
lib Kernel: make SIGKMESS target process list dynamic 2014-03-01 09:04:54 +01:00
libexec increase -Werror resilience 2013-08-21 13:53:39 +02:00
man Importing usr.bin/uname 2014-03-01 09:04:55 +01:00
releasetools Importing usr.bin/uname 2014-03-01 09:04:55 +01:00
sbin Enable getmntinfo(3) 2014-02-18 11:25:02 +01:00
servers uname: normalize release and version 2014-03-01 09:04:55 +01:00
share fix sysroot clang 2014-02-18 11:25:01 +01:00
sys uname: normalize release and version 2014-03-01 09:04:55 +01:00
test Add testvnd.sh test script 2014-03-01 09:04:54 +01:00
tests Importing usr.bin/id 2013-11-12 10:15:47 -05:00
tools x86_hdimage.sh -i: crossbuild x86 release CD 2013-11-07 13:44:22 +00:00
usr.bin Importing usr.bin/uname 2014-03-01 09:04:55 +01:00
usr.sbin Import NetBSD vndconfig(8) 2014-03-01 09:04:54 +01: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