summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_util.h
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>1999-12-04 11:10:22 +0000
committermarcel <marcel@FreeBSD.org>1999-12-04 11:10:22 +0000
commitab78406859294ed692980f9adcf75ce70f7d9e6d (patch)
tree8269a72dd31266ff6a3e1a602005fb055f1d1450 /sys/compat/linux/linux_util.h
parent7abb3f060ee61c8619560641712d72752a702cd7 (diff)
downloadFreeBSD-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/compat/linux/linux_util.h')
-rw-r--r--sys/compat/linux/linux_util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h
index 61a6371..f8775fb 100644
--- a/sys/compat/linux/linux_util.h
+++ b/sys/compat/linux/linux_util.h
@@ -80,6 +80,8 @@ stackgap_alloc(sgp, sz)
#define DPRINTF(a)
#endif
+extern const char linux_emul_path[];
+
int linux_emul_find __P((struct proc *, caddr_t *, const char *, char *,
char **, int));
OpenPOWER on IntegriCloud