Commit 82a6857b authored by Al Viro's avatar Al Viro

compat_ioctl - kill keyboard ioctl handling

all of those are provided only by vt and s390 tty3270; both have
proper ->compat_ioctl()
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 969ec01e
...@@ -644,9 +644,6 @@ static int compat_ioctl_preallocate(struct file *file, ...@@ -644,9 +644,6 @@ static int compat_ioctl_preallocate(struct file *file,
static unsigned int ioctl_pointer[] = { static unsigned int ioctl_pointer[] = {
/* compatible ioctls first */ /* compatible ioctls first */
COMPATIBLE_IOCTL(0x4B50) /* KDGHWCLK - not in the kernel, but don't complain */
COMPATIBLE_IOCTL(0x4B51) /* KDSHWCLK - not in the kernel, but don't complain */
/* Little t */ /* Little t */
COMPATIBLE_IOCTL(TIOCOUTQ) COMPATIBLE_IOCTL(TIOCOUTQ)
/* Little f */ /* Little f */
...@@ -663,23 +660,6 @@ COMPATIBLE_IOCTL(FIGETBSZ) ...@@ -663,23 +660,6 @@ COMPATIBLE_IOCTL(FIGETBSZ)
COMPATIBLE_IOCTL(FIFREEZE) COMPATIBLE_IOCTL(FIFREEZE)
COMPATIBLE_IOCTL(FITHAW) COMPATIBLE_IOCTL(FITHAW)
COMPATIBLE_IOCTL(FITRIM) COMPATIBLE_IOCTL(FITRIM)
COMPATIBLE_IOCTL(KDGETKEYCODE)
COMPATIBLE_IOCTL(KDSETKEYCODE)
COMPATIBLE_IOCTL(KDGKBTYPE)
COMPATIBLE_IOCTL(KDGETMODE)
COMPATIBLE_IOCTL(KDGKBMODE)
COMPATIBLE_IOCTL(KDGKBMETA)
COMPATIBLE_IOCTL(KDGKBENT)
COMPATIBLE_IOCTL(KDSKBENT)
COMPATIBLE_IOCTL(KDGKBSENT)
COMPATIBLE_IOCTL(KDSKBSENT)
COMPATIBLE_IOCTL(KDGKBDIACR)
COMPATIBLE_IOCTL(KDSKBDIACR)
COMPATIBLE_IOCTL(KDGKBDIACRUC)
COMPATIBLE_IOCTL(KDSKBDIACRUC)
COMPATIBLE_IOCTL(KDKBDREP)
COMPATIBLE_IOCTL(KDGKBLED)
COMPATIBLE_IOCTL(KDGETLED)
#ifdef CONFIG_BLOCK #ifdef CONFIG_BLOCK
/* Big S */ /* Big S */
COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN) COMPATIBLE_IOCTL(SCSI_IOCTL_GET_IDLUN)
...@@ -1185,15 +1165,6 @@ static long do_ioctl_trans(unsigned int cmd, ...@@ -1185,15 +1165,6 @@ static long do_ioctl_trans(unsigned int cmd,
case HOT_ADD_DISK: case HOT_ADD_DISK:
case SET_DISK_FAULTY: case SET_DISK_FAULTY:
case SET_BITMAP_FILE: case SET_BITMAP_FILE:
/* Big K */
case KDSIGACCEPT:
case KIOCSOUND:
case KDMKTONE:
case KDSETMODE:
case KDSKBMODE:
case KDSKBMETA:
case KDSKBLED:
case KDSETLED:
return vfs_ioctl(file, cmd, arg); return vfs_ioctl(file, cmd, arg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment