diff options
author | marcel <marcel@FreeBSD.org> | 1999-12-04 11:10:22 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 1999-12-04 11:10:22 +0000 |
commit | ab78406859294ed692980f9adcf75ce70f7d9e6d (patch) | |
tree | 8269a72dd31266ff6a3e1a602005fb055f1d1450 /sys/i386/linux/imgact_linux.c | |
parent | 7abb3f060ee61c8619560641712d72752a702cd7 (diff) | |
download | FreeBSD-src-ab78406859294ed692980f9adcf75ce70f7d9e6d.zip FreeBSD-src-ab78406859294ed692980f9adcf75ce70f7d9e6d.tar.gz |
Implement pluggable ioctl handlers.
Other modules can register and unregister ioctl handlers to extend the
ioctls known by the Linuxulator. A recent application is the vmware
port. The Linuxulator itself uses the new interface to register its
handlers as well. Handlers for the following types of ioctls have been
defined:
cdrom
console (=keyboard and VT handling)
socket
sound
termio
All ioctl related defines and declarations have been moved to a new
file (linux_ioctl.h), except for the pluggable ioctl handler interface
definition.
While there, cleanup linux.h some more.
linux.h and linux_ioctl.[ch] have been made to conform to style(9) as
much as possible.
Inspired and reviewed by: Vladimir N. Silyaev
Diffstat (limited to 'sys/i386/linux/imgact_linux.c')
-rw-r--r-- | sys/i386/linux/imgact_linux.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/i386/linux/imgact_linux.c b/sys/i386/linux/imgact_linux.c index c560d74..36f6946 100644 --- a/sys/i386/linux/imgact_linux.c +++ b/sys/i386/linux/imgact_linux.c @@ -52,6 +52,8 @@ #include <i386/linux/linux.h> +extern struct sysentvec linux_sysvec; + static int exec_linux_imgact __P((struct image_params *iparams)); static int |