commit 74b2375e6767935e6d9220bdbc6ed0db57f71a59
Author: Harald Freudenberger <email address hidden>
Date: Thu Mar 17 14:52:17 2016 +0100
s390/crypto: provide correct file mode at device register.
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 <email address hidden>
Signed-off-by: Martin Schwidefsky <email address hidden>
------- Comment From <email address hidden> 2016-04-05 06:56 EDT-------
Please backport upstream commit:
commit 74b2375e6767935 e6d9220bdbc6ed0 db57f71a59
Author: Harald Freudenberger <email address hidden>
Date: Thu Mar 17 14:52:17 2016 +0100
s390/crypto: provide correct file mode at device register.
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 <email address hidden>
Signed-off-by: Martin Schwidefsky <email address hidden>
arch/s390/ crypto/ prng.c | 2 ++
1 file changed, 2 insertions(+)