Re: Entropy poolsize

From: Randy Dunlap
Date: Mon Jun 21 2010 - 11:52:10 EST


On Mon, 21 Jun 2010 09:58:16 -0400 Weedy wrote:

> I know grsecurity has a option for this but I don't want to patch my
> kernel with it at this time. I have been poking around random.c but I
> can't seem to figure out where .poolsize is assigned it's value and
> how to increase it.
>
> If someone could point it out that would be nice.
>
> Thank you for your time.
> --

Do you mean this one in drivers/char/random.c or something else?

static int sysctl_poolsize = INPUT_POOL_WORDS * 32;

It's a sysctl, so it is tunable.

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/