summaryrefslogtreecommitdiff
path: root/packages/linux/linux-rp-2.6.23/vt_ioctl_race.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux-rp-2.6.23/vt_ioctl_race.patch')
-rw-r--r--packages/linux/linux-rp-2.6.23/vt_ioctl_race.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/packages/linux/linux-rp-2.6.23/vt_ioctl_race.patch b/packages/linux/linux-rp-2.6.23/vt_ioctl_race.patch
deleted file mode 100644
index 5a51d1c3f5..0000000000
--- a/packages/linux/linux-rp-2.6.23/vt_ioctl_race.patch
+++ /dev/null
@@ -1,46 +0,0 @@
----
- drivers/char/vt_ioctl.c | 8 +++++---
- 1 file changed, 5 insertions(+), 3 deletions(-)
-
-Index: linux-2.6.22/drivers/char/vt_ioctl.c
-===================================================================
---- linux-2.6.22.orig/drivers/char/vt_ioctl.c 2007-07-09 01:32:17.000000000 +0200
-+++ linux-2.6.22/drivers/char/vt_ioctl.c 2007-09-27 11:58:42.000000000 +0200
-@@ -770,6 +770,7 @@
- /*
- * Switching-from response
- */
-+ acquire_console_sem();
- if (vc->vt_newvt >= 0) {
- if (arg == 0)
- /*
-@@ -784,7 +785,6 @@
- * complete the switch.
- */
- int newvt;
-- acquire_console_sem();
- newvt = vc->vt_newvt;
- vc->vt_newvt = -1;
- i = vc_allocate(newvt);
-@@ -798,7 +798,6 @@
- * other console switches..
- */
- complete_change_console(vc_cons[newvt].d);
-- release_console_sem();
- }
- }
-
-@@ -810,9 +809,12 @@
- /*
- * If it's just an ACK, ignore it
- */
-- if (arg != VT_ACKACQ)
-+ if (arg != VT_ACKACQ) {
-+ release_console_sem();
- return -EINVAL;
-+ }
- }
-+ release_console_sem();
-
- return 0;
-