Re: [PATCH, RFC] random: introduce getrandom(2) system call

From: David Lang
Date: Thu Jul 17 2014 - 18:35:14 EST


On Thu, 17 Jul 2014, Andy Lutomirski wrote:

Can we please have a mode in which getrandom(2) can neither block nor
fail? If that gets added, then this can replace things like AT_RANDOM.

If a call to get random data isn't allowed to either block or fail, what is it supposed to return if there isn't random data available?

David Lang
--
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/