]> granicus.if.org Git - libevent/commit
arc4random: replace sysctl() with getrandom (on linux)
authorAzat Khuzhin <azat@libevent.org>
Mon, 2 Sep 2019 21:34:35 +0000 (00:34 +0300)
committerAzat Khuzhin <azat@libevent.org>
Mon, 2 Sep 2019 21:50:10 +0000 (00:50 +0300)
commit86f55b0420f864b518475f781ce7a3c619180b12
treef5ffa2acb7eb445b2c11d3126259b398af3cdafa
parent13b8fc39fd4000de2c836b0acdc52ae5b4c757c7
arc4random: replace sysctl() with getrandom (on linux)

Since sysctl() is deprecated for a long-long time, according to
sysctl(2):

    Since Linux 2.6.24, uses of this system call result in warnings in the kernel log.

Fixes: #890
Suggested-by: Pierce Lopez
CMakeLists.txt
arc4random.c
configure.ac
event-config.h.cmake