Creating the same random numbers

Anuz Pratap Singh Tomar chambilkethakur at gmail.com
Sat Jan 29 14:34:21 EST 2011


On Sat, Jan 29, 2011 at 2:09 PM, Andreas Leppert <wudmx at web.de> wrote:

> Hi,
>
> for my evaluation of different kernel modules which rely on randomness I
> need the same set of random numbers for each of them.
>
> Is there any chance that I can get a random number which depends on a
> kind of seed value? So if I start with the same seed value, the same
> random numbers should be generated.
>
> If the same numbers are generated, then how can you call it random?


> Is there any way in the kernel to achieve this?
>
> Thanks for your hints,
> Andreas Leppert
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110129/e45a98fd/attachment.html 


More information about the Kernelnewbies mailing list