Patch "[PATCH 103/135] s390/crypto: provide correct file mode at device" has been added to the 4.4-stable tree
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 <[email protected]> know about it.
Quoted 1 line
From
db553bf6a4ed0c90c33ff622f3c963b940711242Mon Sep 17 00:00:00 2001
From: Harald Freudenberger <[email protected]>
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).
--- arch/s390/crypto/prng.c | 2 ++ 1 file changed, 2 insertions(+)
arch/s390/crypto/prng.c +2 -0
@@ -669,11 +669,13 @@ static const struct file_operations prngstatic 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 [email protected] are
queue-4.4/0103-s390-crypto-provide-correct-file-mode-at-device-regi.patch