diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2003-07-23 20:18:11 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2003-07-23 20:18:11 +0000 |
commit | 9f501e7c93b66a710df227294b2c1499e47ef871 (patch) | |
tree | 6391b22cecfe1c058ad24fc160f36c1b020bf7f5 | |
parent | f1301ecedbe82252f4ba6929a3a1b26149909c15 (diff) |
'r' ioctls, (VFAT) aren't supported, don't pass down.
see netbsd pr21936. ok deraadt@
-rw-r--r-- | sys/compat/linux/linux_ioctl.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c index 204c01d0a8c..5959f25a9a2 100644 --- a/sys/compat/linux/linux_ioctl.c +++ b/sys/compat/linux/linux_ioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: linux_ioctl.c,v 1.9 2001/04/09 06:53:45 tholo Exp $ */ +/* $OpenBSD: linux_ioctl.c,v 1.10 2003/07/23 20:18:10 tedu Exp $ */ /* $NetBSD: linux_ioctl.c,v 1.14 1996/04/05 00:01:28 christos Exp $ */ /* @@ -84,6 +84,8 @@ linux_sys_ioctl(p, v, retval) return linux_ioctl_termios(p, uap, retval); case 'S': return linux_ioctl_cdrom(p, uap, retval); + case 'r': /* VFAT ioctls; not yet support */ + return (EINVAL); case 0x89: return linux_ioctl_socket(p, uap, retval); case 0x03: |