We would still need to exclude any tight loops which an attacker could
predict or influence a process to enter - the idle loop obviously, plus
udelay(), memcpy() and probably many other functions. Some such loops may
be in userland and therefore unknown to us. So there might not be nearly
as many bits of entropy in the program counter as could be naively
expected. What's more, once userland is blocked on /dev/random, there is
no more entropy available from the program counter!
Ben.
--
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html