diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-08-28 08:43:03 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-08-28 08:43:03 +0000 |
commit | 86f95e6b6d691fd71245967ca2cc603717c9fb96 (patch) | |
tree | 855e46178f55fcc9971ba9e7eb660bf9798820ef /sys/compat | |
parent | c805b031d1542c9a3ef95f3cfd1e059896a3936d (diff) | |
download | src-test2-86f95e6b6d691fd71245967ca2cc603717c9fb96.tar.gz src-test2-86f95e6b6d691fd71245967ca2cc603717c9fb96.zip |
Notes
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 8 |
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", |