Re: Bug#754513: ITP: libressl -- SSL library, forked from OpenSSL
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:
> 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.