[kernel] r16689 - in dists/sid/linux-2.6/debian: . patches/bugfix/all patches/series
Ben Hutchings
benh at alioth.debian.org
Fri Dec 10 03:19:43 UTC 2010
Author: benh
Date: Fri Dec 10 03:19:38 2010
New Revision: 16689
Log:
TTY: Fix error return from tty_ldisc_open() (regression in 2.6.32.27)
Added:
dists/sid/linux-2.6/debian/patches/bugfix/all/TTY-Fix-error-return-from-tty_ldisc_open.patch
Modified:
dists/sid/linux-2.6/debian/changelog
dists/sid/linux-2.6/debian/patches/series/29
Modified: dists/sid/linux-2.6/debian/changelog
==============================================================================
--- dists/sid/linux-2.6/debian/changelog Fri Dec 10 03:13:01 2010 (r16688)
+++ dists/sid/linux-2.6/debian/changelog Fri Dec 10 03:19:38 2010 (r16689)
@@ -58,6 +58,7 @@
- can-bcm: fix minor heap overflow (CVE-2010-3874)
- ivtvfb: prevent reading uninitialized stack memory (CVE-2010-4079)
- net/sched: fix some kernel information leaks
+ * TTY: Fix error return from tty_ldisc_open() (regression in 2.6.32.27)
[ Ian Campbell ]
* xen: disable ACPI NUMA for PV guests and allow IRQ desc allocation on any
Added: dists/sid/linux-2.6/debian/patches/bugfix/all/TTY-Fix-error-return-from-tty_ldisc_open.patch
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ dists/sid/linux-2.6/debian/patches/bugfix/all/TTY-Fix-error-return-from-tty_ldisc_open.patch Fri Dec 10 03:19:38 2010 (r16689)
@@ -0,0 +1,28 @@
+From f930131b7a9abed79df63a525c8435efe611b4c2 Mon Sep 17 00:00:00 2001
+From: Ben Hutchings <ben at decadent.org.uk>
+Date: Fri, 10 Dec 2010 03:15:40 +0000
+Subject: [PATCH] TTY: Fix error return from tty_ldisc_open()
+
+The backported version of "TTY: ldisc, fix open flag handling" causes
+tty_ldisc_open() to return 0 on error. Fix that.
+
+Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
+---
+ drivers/char/tty_ldisc.c | 1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/char/tty_ldisc.c b/drivers/char/tty_ldisc.c
+index 8b9f1a5..cf0bfc6 100644
+--- a/drivers/char/tty_ldisc.c
++++ b/drivers/char/tty_ldisc.c
+@@ -451,6 +451,7 @@ static int tty_ldisc_open(struct tty_struct *tty, struct tty_ldisc *ld)
+ ret = ld->ops->open(tty);
+ if (ret)
+ clear_bit(TTY_LDISC_OPEN, &tty->flags);
++ return ret;
+ }
+ return 0;
+ }
+--
+1.7.2.3
+
Modified: dists/sid/linux-2.6/debian/patches/series/29
==============================================================================
--- dists/sid/linux-2.6/debian/patches/series/29 Fri Dec 10 03:13:01 2010 (r16688)
+++ dists/sid/linux-2.6/debian/patches/series/29 Fri Dec 10 03:19:38 2010 (r16689)
@@ -36,3 +36,4 @@
- bugfix/x86/HPET-unmap-unused-I-O-space.patch
+ bugfix/all/stable/2.6.32.27.patch
+ debian/block-Avoid-ABI-change-from-fix-to-blk_queue_physica.patch
++ bugfix/all/TTY-Fix-error-return-from-tty_ldisc_open.patch
More information about the Kernel-svn-changes
mailing list