From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:34971 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751670AbcIINn1 (ORCPT ); Fri, 9 Sep 2016 09:43:27 -0400 Subject: Patch "[PATCH 103/135] s390/crypto: provide correct file mode at device" has been added to the 4.4-stable tree To: freude@linux.vnet.ibm.com, alexander.levin@verizon.com, gregkh@linuxfoundation.org, schwidefsky@de.ibm.com Cc: , From: Date: Fri, 09 Sep 2016 15:38:33 +0200 Message-ID: <147342831321994@kroah.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ANSI_X3.4-1968 Content-Transfer-Encoding: 8bit Sender: stable-owner@vger.kernel.org List-ID: This is a note to let you know that I've just added the patch titled [PATCH 103/135] s390/crypto: provide correct file mode at device to the 4.4-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: 0103-s390-crypto-provide-correct-file-mode-at-device-regi.patch and it can be found in the queue-4.4 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let know about it. >>From db553bf6a4ed0c90c33ff622f3c963b940711242 Mon Sep 17 00:00:00 2001 From: Harald Freudenberger Date: Thu, 17 Mar 2016 14:52:17 +0100 Subject: [PATCH 103/135] s390/crypto: provide correct file mode at device register. [ Upstream commit 74b2375e6767935e6d9220bdbc6ed0db57f71a59 ] When the prng device driver calls misc_register() there is the possibility to also provide the recommented file permissions. This fix now gives useful values (0644) where previously just the default was used (resulting in 0600 for the device file). Signed-off-by: Harald Freudenberger Signed-off-by: Martin Schwidefsky Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- arch/s390/crypto/prng.c | 2 ++ 1 file changed, 2 insertions(+) --- a/arch/s390/crypto/prng.c +++ b/arch/s390/crypto/prng.c @@ -669,11 +669,13 @@ static const struct file_operations prng static struct miscdevice prng_sha512_dev = { .name = "prandom", .minor = MISC_DYNAMIC_MINOR, + .mode = 0644, .fops = &prng_sha512_fops, }; static struct miscdevice prng_tdes_dev = { .name = "prandom", .minor = MISC_DYNAMIC_MINOR, + .mode = 0644, .fops = &prng_tdes_fops, }; Patches currently in stable-queue which might be from freude@linux.vnet.ibm.com are queue-4.4/0103-s390-crypto-provide-correct-file-mode-at-device-regi.patch