]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
On success, getrandom() Linux system call returns the number of bytes that
authordchagin <dchagin@FreeBSD.org>
Sun, 28 May 2017 07:40:09 +0000 (07:40 +0000)
committerdchagin <dchagin@FreeBSD.org>
Sun, 28 May 2017 07:40:09 +0000 (07:40 +0000)
commite29481ad14e7ba622055e4100f2cd5171ca62abb
tree2a461883c5ea3e62314fcf046b53a15a55821c6a
parent94ad95773a6726771101f0eb0799cd587f915489
On success, getrandom() Linux system call returns the number of bytes that
were copied to the buffer supplied by the user.

Also fix getrandom() if Linuxulator modules are built without the kernel.

PR: 219464
Submitted by: Maciej Pasternacki
Reported by: Maciej Pasternacki
MFC after: 1 week
sys/compat/linux/linux_misc.c
sys/conf/config.mk
sys/modules/linux/Makefile
sys/modules/linux64/Makefile