]> git.proxmox.com Git - pve-kernel-3.10.0.git/commitdiff
update to kernel-3.10.0-123.6.3.el7.src.rpm
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 21 Aug 2014 06:47:33 +0000 (08:47 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 21 Aug 2014 06:54:10 +0000 (08:54 +0200)
Makefile
README
changelog.Debian
kernel-3.10.0-123.6.3.el7.src.rpm [new file with mode: 0644]
kernel-3.10.0-123.el7.src.rpm [deleted file]
n_tty-Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch [deleted file]

index 58d838cee5b53e337604c80769a823925640dc5b..c1e64535001e4118e28cd9bfd46fd6195d86cead 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
 RELEASE=3.2
 
 KERNEL_VER=3.10.0
-PKGREL=15
+PKGREL=16
 # also include firmware of previous versrion into 
 # the fw package:  fwlist-2.6.32-PREV-pve
 KREL=4
 
-RHKVER=123.el7
+RHKVER=123.6.3.el7
 
 KERNELSRCRPM=kernel-${KERNEL_VER}-${RHKVER}.src.rpm
 
@@ -70,8 +70,9 @@ all: check_gcc ${DST_DEB} ${FW_DEB} ${HDR_DEB}
 
 .PHONY: download
 download:
-       rm ${KERNELSRCRPM}
-       wget http://vault.centos.org/7.0.1406/os/Source/SPackages/${KERNELSRCRPM}
+       rm -f ${KERNELSRCRPM}
+       #wget http://vault.centos.org/7.0.1406/os/Source/SPackages/${KERNELSRCRPM}
+       wget http://vault.centos.org/7.0.1406/updates/Source/SPackages/${KERNELSRCRPM}
 
 check_gcc: 
 ifeq    ($(CC), cc)
@@ -159,7 +160,6 @@ ${KERNEL_SRC}/README: ${KERNEL_SRC}.org/README
        #cd ${KERNEL_SRC}; patch -p1 <../add-tiocgdev-ioctl.patch
        #cd ${KERNEL_SRC}; patch -p1 <../fix-nfs-block-count.patch
        #cd ${KERNEL_SRC}; patch -p1 <../fix-idr-header-for-drbd-compilation.patch
-       cd ${KERNEL_SRC}; patch -p1 <../n_tty-Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch
        cd ${KERNEL_SRC}; patch -p1 <../add-empty-ndo_poll_controller-to-veth.patch
        cd ${KERNEL_SRC}; patch -p1 <../override_for_missing_acs_capabilities.patch
        sed -i ${KERNEL_SRC}/Makefile -e 's/^EXTRAVERSION.*$$/EXTRAVERSION=${EXTRAVERSION}/'
diff --git a/README b/README
index 34ceba705c511a0ea215aa0c8a3f0aa026b755d7..3e76abbe1c01f5cd11c120a0d550e6249c6c5da1 100644 (file)
--- a/README
+++ b/README
@@ -1,9 +1,9 @@
 KERNEL SOURCE:
 ==============
 
-We use the RHEL7 kernel sources, available from:
+We use the CENTOS7/RHEL7 kernel sources, available from:
 
-ftp://ftp.redhat.com/redhat/rhel/
+http://vault.centos.org/
 
 
 Additional/Updated Modules:
@@ -15,11 +15,10 @@ Additional/Updated Modules:
 
 - include latest e1000e driver from intel/sourceforge
 
-# this driver does not compile with RHEL7 kernel
-#- include latest Broadcom bnx2 drivers
-#
-#  * original file linux-7.8.56.zip contains
-#    netxtreme2-7.8.56.tar.gz (added to repository)
+ include latest Broadcom bnx2 drivers: http://driverdownloads.qlogic.com/
+
+  * original file linux-7.10.14.zip contains
+    netxtreme2-7.10.14.tar.gz (added to repository)
 
 - include latest Adaptec aacraid driver
 
index 0d1cb659c8c20a3f5d5b3a6a59c0e7e81c69c3ba..6fc911b0c336a16a332b840a918bfb35ef36b791 100644 (file)
@@ -1,3 +1,12 @@
+pve-kernel-3.10.0 (3.10.0-16) unstable; urgency=low
+
+  * update to kernel-3.10.0-123.6.3.el7.src.rpm
+  
+  * remove patch n_tty-Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch 
+    (now upstream)
+
+ -- Proxmox Support Team <support@proxmox.com>  Thu, 21 Aug 2014 08:46:54 +0200
+
 pve-kernel-3.10.0 (3.10.0-15) unstable; urgency=low
 
   * gpu passthrough: add override_for_missing_acs_capabilities.patch,
diff --git a/kernel-3.10.0-123.6.3.el7.src.rpm b/kernel-3.10.0-123.6.3.el7.src.rpm
new file mode 100644 (file)
index 0000000..4d7e99a
Binary files /dev/null and b/kernel-3.10.0-123.6.3.el7.src.rpm differ
diff --git a/kernel-3.10.0-123.el7.src.rpm b/kernel-3.10.0-123.el7.src.rpm
deleted file mode 100644 (file)
index e34d713..0000000
Binary files a/kernel-3.10.0-123.el7.src.rpm and /dev/null differ
diff --git a/n_tty-Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch b/n_tty-Fix-n_tty_write-crash-when-echoing-in-raw-mode.patch
deleted file mode 100644 (file)
index 3d837a8..0000000
+++ /dev/null
@@ -1,78 +0,0 @@
-From: Peter Hurley <peter@hurleysoftware.com>\r
-\r
-commit 4291086b1f081b869c6d79e5b7441633dc3ace00 upstream.\r
-\r
-The tty atomic_write_lock does not provide an exclusion guarantee for\r
-the tty driver if the termios settings are LECHO & !OPOST.  And since\r
-it is unexpected and not allowed to call TTY buffer helpers like\r
-tty_insert_flip_string concurrently, this may lead to crashes when\r
-concurrect writers call pty_write. In that case the following two\r
-writers:\r
-* the ECHOing from a workqueue and\r
-* pty_write from the process\r
-race and can overflow the corresponding TTY buffer like follows.\r
-\r
-If we look into tty_insert_flip_string_fixed_flag, there is:\r
-  int space = __tty_buffer_request_room(port, goal, flags);\r
-  struct tty_buffer *tb = port->buf.tail;\r
-  ...\r
-  memcpy(char_buf_ptr(tb, tb->used), chars, space);\r
-  ...\r
-  tb->used += space;\r
-\r
-so the race of the two can result in something like this:\r
-              A                                B\r
-__tty_buffer_request_room\r
-                                  __tty_buffer_request_room\r
-memcpy(buf(tb->used), ...)\r
-tb->used += space;\r
-                                  memcpy(buf(tb->used), ...) ->BOOM\r
-\r
-B's memcpy is past the tty_buffer due to the previous A's tb->used\r
-increment.\r
-\r
-Since the N_TTY line discipline input processing can output\r
-concurrently with a tty write, obtain the N_TTY ldisc output_lock to\r
-serialize echo output with normal tty writes.  This ensures the tty\r
-buffer helper tty_insert_flip_string is not called concurrently and\r
-everything is fine.\r
-\r
-Note that this is nicely reproducible by an ordinary user using\r
-forkpty and some setup around that (raw termios + ECHO). And it is\r
-present in kernels at least after commit\r
-d945cb9cce20ac7143c2de8d88b187f62db99bdc (pty: Rework the pty layer to\r
-use the normal buffering logic) in 2.6.31-rc3.\r
-\r
-js: add more info to the commit log\r
-js: switch to bool\r
-js: lock unconditionally\r
-js: lock only the tty->ops->write call\r
-\r
-References: CVE-2014-0196\r
-Reported-and-tested-by: Jiri Slaby <jslaby@suse.cz>\r
-Signed-off-by: Peter Hurley <peter@hurleysoftware.com>\r
-Signed-off-by: Jiri Slaby <jslaby@suse.cz>\r
-Cc: Linus Torvalds <torvalds@linux-foundation.org>\r
-Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>\r
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>\r
-\r
----\r
- drivers/tty/n_tty.c |    4 ++++\r
- 1 file changed, 4 insertions(+)\r
-\r
---- a/drivers/tty/n_tty.c\r
-+++ b/drivers/tty/n_tty.c\r
-@@ -2066,8 +2066,12 @@ static ssize_t n_tty_write(struct tty_st\r
-                       if (tty->ops->flush_chars)\r
-                               tty->ops->flush_chars(tty);\r
-               } else {\r
-+                      struct n_tty_data *ldata = tty->disc_data;\r
-+\r
-                       while (nr > 0) {\r
-+                              mutex_lock(&ldata->output_lock);\r
-                               c = tty->ops->write(tty, b, nr);\r
-+                              mutex_unlock(&ldata->output_lock);\r
-                               if (c < 0) {\r
-                                       retval = c;\r
-                                       goto break_out;\r
-\r