[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1408083536-8578-1-git-send-email-jarkko.sakkinen@linux.intel.com>
Date: Fri, 15 Aug 2014 09:18:56 +0300
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: zohar@...ux.vnet.ibm.com, safford@...ibm.com
Cc: dhowells@...hat.com, james.l.morris@...cle.com, serge@...lyn.com,
linux-security-module@...r.kernel.org, keyrings@...ux-nfs.org,
linux-kernel@...r.kernel.org,
Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
Subject: [PATCH] keys, encrypted: add forgotten newline characters
I was debugging patches that I'm working for trusted keys.
I have a test case where I seal an encrypted key with a trusted
key. Piping of the encrypted key failed but I couldn't see any
error message from the encrypted subsystem. Then I tried my
test a second time and error message was visible in klog.
The root cause was the forgotten newline characters. This patch
fixes the issue.
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
---
security/keys/encrypted-keys/encrypted.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/keys/encrypted-keys/encrypted.c b/security/keys/encrypted-keys/encrypted.c
index 5fe443d..406f6cb 100644
--- a/security/keys/encrypted-keys/encrypted.c
+++ b/security/keys/encrypted-keys/encrypted.c
@@ -447,10 +447,10 @@ static struct key *request_master_key(struct encrypted_key_payload *epayload,
int ret = PTR_ERR(mkey);
if (ret == -ENOTSUPP)
- pr_info("encrypted_key: key %s not supported",
+ pr_info("encrypted_key: key %s not supported\n",
epayload->master_desc);
else
- pr_info("encrypted_key: key %s not found",
+ pr_info("encrypted_key: key %s not found\n",
epayload->master_desc);
goto out;
}
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists