[Toybox] [PATCH] xgetrandom: use getrandom result if it succeeds

Rob Landley rob at landley.net
Fri Aug 3 14:15:23 PDT 2018


On 07/18/2018 12:15 AM, Patrick Oppenlander wrote:
> Currently xgetrandom always uses the fallback path even if getrandom returns
> success.

Finally did the proper fix to the xgetrandom() cross compiler issue (where the
cross compiler supports it but the host doesn't so the config2help.c build broke
in lib/portability.c due to host/target confusion).

Applied this on top of that.

Thanks,

Rob



More information about the Toybox mailing list