summaryrefslogtreecommitdiffstats
path: root/sys/kern/device_if.m
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2006-07-08 20:12:14 +0000
committerjhb <jhb@FreeBSD.org>2006-07-08 20:12:14 +0000
commit094306d69d41989862ff128380df0e7e2bdbe80d (patch)
tree08f1122008ef638646627d52e5fc05db3ffc64ba /sys/kern/device_if.m
parent28bb163264ff66e4b22bed304a675e7ab2ca723a (diff)
downloadFreeBSD-src-094306d69d41989862ff128380df0e7e2bdbe80d.zip
FreeBSD-src-094306d69d41989862ff128380df0e7e2bdbe80d.tar.gz
- Split ioctl() up into ioctl() and kern_ioctl(). The kern_ioctl() assumes
that the 'data' pointer is already setup to point to a valid KVM buffer or contains the copied-in data from userland as appropriate (ioctl(2) still does this). kern_ioctl() takes care of looking up a file pointer, implementing FIONCLEX and FIOCLEX, and calling fi_ioctl(). - Use kern_ioctl() to implement xenix_rdchk() instead of using the stackgap and mark xenix_rdchk() MPSAFE.
Diffstat (limited to 'sys/kern/device_if.m')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud