mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 00:02:28 +00:00
Remove sys_getrandom() on NetBSD
This fixes an apparent regression caused by
3f0bcdc3ef
where getrandom() on NetBSD 9.2
doesn't appear to work; ktrace oddly reports:
1446 1 .ape CALL #91 (unimplemented getdopt)
1446 1 .ape RET #91 (unimplemented getdopt) -1 errno 78
Function not implemented
1446 1 .ape PSIG SIGSYS SIG_DFL: code=SI_NOINFO
This commit is contained in:
parent
a0237a017c
commit
86d9323a43
3 changed files with 3 additions and 3 deletions
2
third_party/nsync/futex.c
vendored
2
third_party/nsync/futex.c
vendored
|
@ -16,6 +16,7 @@
|
|||
│ TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR │
|
||||
│ PERFORMANCE OF THIS SOFTWARE. │
|
||||
╚─────────────────────────────────────────────────────────────────────────────*/
|
||||
#include "libc/sysv/consts/futex.h"
|
||||
#include "libc/assert.h"
|
||||
#include "libc/atomic.h"
|
||||
#include "libc/calls/calls.h"
|
||||
|
@ -36,7 +37,6 @@
|
|||
#include "libc/nt/runtime.h"
|
||||
#include "libc/nt/synchronization.h"
|
||||
#include "libc/sysv/consts/clock.h"
|
||||
#include "libc/sysv/consts/futex.h"
|
||||
#include "libc/sysv/consts/timer.h"
|
||||
#include "libc/sysv/errfuns.h"
|
||||
#include "libc/thread/freebsd.internal.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue