| Summary: | [PATCH] linux_getrandom always returns 0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Base System | Reporter: | Maciej Pasternacki <maciej> | ||||
| Component: | kern | Assignee: | Dmitry Chagin <dchagin> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Some People | CC: | dchagin, emaste | ||||
| Priority: | --- | Keywords: | patch | ||||
| Version: | CURRENT | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
|
Description
Maciej Pasternacki
2017-05-22 20:21:57 UTC
Cc: dchagin as r315505 committer take, my fault A commit references this bug: Author: dchagin Date: Sun May 28 07:40:10 UTC 2017 New revision: 319053 URL: https://svnweb.freebsd.org/changeset/base/319053 Log: 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 Changes: head/sys/compat/linux/linux_misc.c head/sys/conf/config.mk head/sys/modules/linux/Makefile head/sys/modules/linux64/Makefile A commit references this bug: Author: dchagin Date: Sun Jun 4 18:35:30 UTC 2017 New revision: 319571 URL: https://svnweb.freebsd.org/changeset/base/319571 Log: On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej Pasternacki MFC after: 1 week Changes: head/sys/compat/linux/linux_misc.c A commit references this bug: Author: dchagin Date: Sun Jun 11 09:33:09 UTC 2017 New revision: 319823 URL: https://svnweb.freebsd.org/changeset/base/319823 Log: MFC r319571: On success, getrandom() Linux system call returns the number of bytes that were copied to the buffer supplied by the user. PR: 219464 Submitted by: Maciej Pasternacki Reported by: Maciej Pasternacki Approved by: re (kib) Changes: _U stable/11/ stable/11/sys/compat/linux/linux_misc.c |