diff options
author | joerg <joerg@FreeBSD.org> | 2003-01-11 20:10:41 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 2003-01-11 20:10:41 +0000 |
commit | fc7b77b4852541f21105a45b4f546a6fccdff978 (patch) | |
tree | d89a8bf9e2812f5bc8b4f9fd35a8ae2cb8560971 /sys/kern/uipc_usrreq.c | |
parent | 660cebb9d7cdc56c46fa8c93ffec76fe7d950f30 (diff) | |
download | FreeBSD-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