On Fri, Jul 18, 2014 at 08:54:14AM -0400, Theodore Ts'o wrote: > On Fri, Jul 18, 2014 at 02:03:06PM +0200, Johannes Schauer wrote: > > > > maybe this will help in the future: > > > > http://lists.openwall.net/linux-kernel/2014/07/17/235 > > Latest version of the patch: > > http://lists.openwall.net/linux-kernel/2014/07/18/329 > > Of course, the syscall numbers and interface details are not set into > stone until this gets merged into mainline.
It doesn't say much about sizes you can request and what the result of that would be. The getentropy() replacement seems to suggest 256 isn't something you want to do (when GRND_RANDOM is not set?). random(4) says not to use > 256 bit (32 byte). Shouldn't it return a ssize_t instead of an int? I see it's limited to INT_MAX, but it seems in the code to return a ssize_t but the manpage says int. Kurt -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/20140719002756.ga7...@roeckx.be