From 3361abb7a74f77b8874c92831523e7b2d02f4288 Mon Sep 17 00:00:00 2001 From: Scott Long Date: Sun, 2 Sep 2001 23:15:26 +0000 Subject: Restrict the range of linux ioctls we will accept. --- sys/dev/aac/aac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/aac') 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 #include -#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, -- cgit v1.2.3