|
@@ -669,11 +669,13 @@ static const struct file_operations prng_tdes_fops = {
|
|
static struct miscdevice prng_sha512_dev = {
|
|
static struct miscdevice prng_sha512_dev = {
|
|
.name = "prandom",
|
|
.name = "prandom",
|
|
.minor = MISC_DYNAMIC_MINOR,
|
|
.minor = MISC_DYNAMIC_MINOR,
|
|
|
|
+ .mode = 0644,
|
|
.fops = &prng_sha512_fops,
|
|
.fops = &prng_sha512_fops,
|
|
};
|
|
};
|
|
static struct miscdevice prng_tdes_dev = {
|
|
static struct miscdevice prng_tdes_dev = {
|
|
.name = "prandom",
|
|
.name = "prandom",
|
|
.minor = MISC_DYNAMIC_MINOR,
|
|
.minor = MISC_DYNAMIC_MINOR,
|
|
|
|
+ .mode = 0644,
|
|
.fops = &prng_tdes_fops,
|
|
.fops = &prng_tdes_fops,
|
|
};
|
|
};
|
|
|
|
|