summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authoriedowse <iedowse@FreeBSD.org>2001-11-19 15:43:50 +0000
committeriedowse <iedowse@FreeBSD.org>2001-11-19 15:43:50 +0000
commita7c89cf1a83e437aca0b87219683aebe33f8146b (patch)
treeca52f5c1cc767655fbdfdfd1f319579fc5996098 /sys/boot
parenta9c3d65330ced3ef34a2a3a9aa5eac51e1383ec2 (diff)
downloadFreeBSD-src-a7c89cf1a83e437aca0b87219683aebe33f8146b.zip
FreeBSD-src-a7c89cf1a83e437aca0b87219683aebe33f8146b.tar.gz
Deal with a few issues that cropped up following the recent changes
to the code for translating socket and private ioctls: - Only perform socket ioctl translation if the file descriptor is a socket. - Treat socket ioctls on non-sockets specially, and for now assume that these are directed at a tap/vmnet device, so translate the ioctl numbers as appropriate (the way if_tap abuses some socket ioctls to pass non-ifreq data is utterly bogus, but this is how VMware on FreeBSD has always "worked"; I will deal with this later). - Add (untested) support for translating SIOCSIFADDR. - In all cases where we fail to translate an ioctl, return ENOIOCTL so that other handlers have a chance to do the translation. This should fix the "/dev/vmnet1: Invalid argument" errors that users of VMware were experiencing, though I have only verified this on RELENG_4. Submitted by: des (mostly) MFC after: 3 days
Diffstat (limited to 'sys/boot')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud