diff options
author | Scott Long <scottl@FreeBSD.org> | 2001-09-02 23:15:26 +0000 |
---|---|---|
committer | Scott Long <scottl@FreeBSD.org> | 2001-09-02 23:15:26 +0000 |
commit | 3361abb7a74f77b8874c92831523e7b2d02f4288 (patch) | |
tree | 5d860b8ad996fab8f50197f6c2aba80bd4432a25 /sys/dev/aac | |
parent | 3652b4dc72f9b400cdb134179bed5611038680e6 (diff) | |
download | src-3361abb7a74f77b8874c92831523e7b2d02f4288.tar.gz src-3361abb7a74f77b8874c92831523e7b2d02f4288.zip |
Restrict the range of linux ioctls we will accept.
Notes
Notes:
svn path=/head/; revision=82829
Diffstat (limited to 'sys/dev/aac')
-rw-r--r-- | sys/dev/aac/aac.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aac/aac.c b/sys/dev/aac/aac.c index d9ec97b01584..8f6b5dfd8c7b 100644 --- a/sys/dev/aac/aac.c +++ b/sys/dev/aac/aac.c @@ -2332,8 +2332,8 @@ aac_handle_aif(struct aac_softc *sc, struct aac_fib *fib) #include <machine/../linux/linux_proto.h> #include <compat/linux/linux_ioctl.h> -#define AAC_LINUX_IOCTL_MIN 0x0000 -#define AAC_LINUX_IOCTL_MAX 0xffff +#define AAC_LINUX_IOCTL_MIN 0x2000 +#define AAC_LINUX_IOCTL_MAX 0x21ff static linux_ioctl_function_t aac_linux_ioctl; static struct linux_ioctl_handler aac_handler = {aac_linux_ioctl, |