Hi aleks. Getrandom is available since 3.17 kernel version (I think correct me if I m wrong) as a syscall. Plus good care needs for its call in non blocking mode I think. Cheers.
On Wed 11 Apr 2018 6:26 PM Aleksandar Lazic <[email protected]> wrote: > Hi David. > > How about to use getrandom instead of random? > > http://man7.org/linux/man-pages/man2/getrandom.2.html > https://lwn.net/Articles/711013/ > > Best regards > Aleks > > > ------------------------------ > *Von:* David CARLIER <[email protected]> > *Gesendet:* 11. April 2018 18:33:46 MESZ > *An:* Haproxy <[email protected]>, Willy TARREAU <[email protected]> > *Betreff:* [PATCH 1/5]: random generator functions wrapper > > Hi dear list, > > Here a patch proposal to have a wrapper around rand/random calls. > > If it s ok with this one I ll send the rest. > > Thanks. > > Kind regards. >

