* [GIT PATCH] TTY fix for 2.6.32-git
@ 2009-10-14 23:04 Greg KH
2009-10-14 23:52 ` [PATCH 1/1] tty: fix vt_compat_ioctl Greg Kroah-Hartman
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2009-10-14 23:04 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
Here is one tty bugfix for your kernel tree.
It's been in the -next and -mm trees for a while.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/tty-2.6.git/
The full patches will be sent to the linux-kernel mailing list, if anyone
wants to see them.
thanks,
greg k-h
------------
drivers/char/vt_ioctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---------------
Andreas Schwab (1):
tty: fix vt_compat_ioctl
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH 1/1] tty: fix vt_compat_ioctl
2009-10-14 23:04 [GIT PATCH] TTY fix for 2.6.32-git Greg KH
@ 2009-10-14 23:52 ` Greg Kroah-Hartman
0 siblings, 0 replies; 3+ messages in thread
From: Greg Kroah-Hartman @ 2009-10-14 23:52 UTC (permalink / raw)
To: linux-kernel; +Cc: Andreas Schwab, Greg Kroah-Hartman
From: Andreas Schwab <schwab@linux-m68k.org>
Call compat_unimap_ioctl, not do_unimap_ioctl.
This was broken by commit e9216651.
The compat_unimap_ioctl was originally called do_unimap_ioctl in
fs/compat_ioctl.h which got moved to drivers/char/vt_ioctl.c.
In that patch, the caller was not updated and consequently called
the native handler.
Signed-off-by: Andreas Schwab <schwab@linux-m68k.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
---
drivers/char/vt_ioctl.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/char/vt_ioctl.c b/drivers/char/vt_ioctl.c
index 6b36ee5..ed86d3b 100644
--- a/drivers/char/vt_ioctl.c
+++ b/drivers/char/vt_ioctl.c
@@ -1532,7 +1532,7 @@ long vt_compat_ioctl(struct tty_struct *tty, struct file * file,
case PIO_UNIMAP:
case GIO_UNIMAP:
- ret = do_unimap_ioctl(cmd, up, perm, vc);
+ ret = compat_unimap_ioctl(cmd, up, perm, vc);
break;
/*
--
1.6.4.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [GIT PATCH] TTY fix for 2.6.32-git
@ 2009-10-30 22:09 Greg KH
0 siblings, 0 replies; 3+ messages in thread
From: Greg KH @ 2009-10-30 22:09 UTC (permalink / raw)
To: Linus Torvalds, Andrew Morton; +Cc: linux-kernel
Here is one tty bugfix for your kernel tree.
Please pull from:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/tty-2.6.git/
The full patch will be sent to the linux-kernel mailing list, if anyone
wants to see it.
thanks,
greg k-h
------------
arch/m68k/Kconfig | 6 +++---
drivers/char/Kconfig | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
---------------
Alan Cox (1):
tty: Mark generic_serial users as BROKEN
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-10-30 22:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-14 23:04 [GIT PATCH] TTY fix for 2.6.32-git Greg KH
2009-10-14 23:52 ` [PATCH 1/1] tty: fix vt_compat_ioctl Greg Kroah-Hartman
-- strict thread matches above, loose matches on Subject: below --
2009-10-30 22:09 [GIT PATCH] TTY fix for 2.6.32-git Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox