summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r--sys/compat/linux/linux_ioctl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index 56a0eda42066..5f4191fded76 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -50,6 +50,7 @@
#include <i386/linux/linux.h>
#include <i386/linux/linux_proto.h>
#include <i386/linux/linux_util.h>
+#include <i386/linux/linux_mib.h>
#define ISSIGVALID(sig) ((sig) > 0 && (sig) < NSIG)
@@ -1270,6 +1271,13 @@ linux_ioctl(struct proc *p, struct linux_ioctl_args *args)
return error;
}
+ case LINUX_OSS_GETVERSION: {
+ int version;
+
+ version = linux_get_oss_version(p);
+ return copyout((caddr_t)&version, (caddr_t)args->arg, sizeof(int));
+ }
+
}
uprintf("LINUX: 'ioctl' fd=%d, typ=0x%x(%c), num=0x%x not implemented\n",