summaryrefslogtreecommitdiffstats
path: root/sys/kern/uipc_usrreq.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>2003-01-11 20:10:41 +0000
committerjoerg <joerg@FreeBSD.org>2003-01-11 20:10:41 +0000
commitfc7b77b4852541f21105a45b4f546a6fccdff978 (patch)
treed89a8bf9e2812f5bc8b4f9fd35a8ae2cb8560971 /sys/kern/uipc_usrreq.c
parent660cebb9d7cdc56c46fa8c93ffec76fe7d950f30 (diff)
downloadFreeBSD-src-fc7b77b4852541f21105a45b4f546a6fccdff978.zip
FreeBSD-src-fc7b77b4852541f21105a45b4f546a6fccdff978.tar.gz
Bail out of fd_clone() if the parsed unit number doesn't match our
expectation. This solves the problem, where in a constellation with two (or more) drives, an attempt is made to access a device name for that device using a historic partition letter, like /dev/fd1c. This is supposed to create a symlink to the master device, but previously, the link was always created to /dev/fd0, even if the request was for fd1*.
Diffstat (limited to 'sys/kern/uipc_usrreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud