Patch "MODSIGN: do not send garbage to stderr when enabling modules signature" has been added to the 3.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    MODSIGN: do not send garbage to stderr when enabling modules signature

to the 3.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     modsign-do-not-send-garbage-to-stderr-when-enabling-modules-signature.patch
and it can be found in the queue-3.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.


>From 07c449bbc6aa514098c4f12c7b04180cec2417c6 Mon Sep 17 00:00:00 2001
From: David Cohen <david.a.cohen@xxxxxxxxx>
Date: Thu, 11 Apr 2013 13:22:14 +0930
Subject: MODSIGN: do not send garbage to stderr when enabling modules signature

From: David Cohen <david.a.cohen@xxxxxxxxx>

commit 07c449bbc6aa514098c4f12c7b04180cec2417c6 upstream.

When compiling kernel with -jN (N > 1), all warning/error messages
printed while openssl is generating key pair may get mixed dots and
other symbols openssl sends to stderr. This patch makes sure openssl
logs go to default stdout.

Example of the garbage on stderr:

crypto/anubis.c:581: warning: â??interâ?? is used uninitialized in this function
Generating a 4096 bit RSA private key
.........
drivers/gpu/drm/i915/i915_gem_gtt.c: In function â??gen6_ggtt_insert_entriesâ??:
drivers/gpu/drm/i915/i915_gem_gtt.c:440: warning: â??addrâ?? may be used uninitialized in this function
.net/mac80211/tx.c: In function â??ieee80211_subif_start_xmitâ??:
net/mac80211/tx.c:1780: warning: â??chanctx_confâ?? may be used uninitialized in this function
..drivers/isdn/hardware/mISDN/hfcpci.c: In function â??hfcpci_softirqâ??:
.....drivers/isdn/hardware/mISDN/hfcpci.c:2298: warning: ignoring return value of â??driver_for_each_deviceâ??, declared with attribute warn_unused_result

Signed-off-by: David Cohen <david.a.cohen@xxxxxxxxx>
Reviewed-by: mark gross <mark.gross@xxxxxxxxx>
Acked-by: David Howells <dhowells@xxxxxxxxxx>
Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

---
 kernel/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -175,7 +175,7 @@ signing_key.priv signing_key.x509: x509.
 	openssl req -new -nodes -utf8 -$(CONFIG_MODULE_SIG_HASH) -days 36500 \
 		-batch -x509 -config x509.genkey \
 		-outform DER -out signing_key.x509 \
-		-keyout signing_key.priv
+		-keyout signing_key.priv 2>&1
 	@echo "###"
 	@echo "### Key pair generated."
 	@echo "###"


Patches currently in stable-queue which might be from david.a.cohen@xxxxxxxxx are

queue-3.9/modsign-do-not-send-garbage-to-stderr-when-enabling-modules-signature.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]