summaryrefslogtreecommitdiff
path: root/libexec/ld.so/m88k
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2014-07-06 07:28:37 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2014-07-06 07:28:37 +0000
commitccea032754da70850b396992bada9aad229e7ce1 (patch)
treea6b2bb328e62c4273c2e62d30c575fcbca0af08f /libexec/ld.so/m88k
parent4aa0b086cfa4b91bee4edef283fc98dcdc1594b0 (diff)
move from sysclt(KERN_ARND) to getentropy(2); ok miod@, kettenis@
Diffstat (limited to 'libexec/ld.so/m88k')
-rw-r--r--libexec/ld.so/m88k/ldasm.S5
-rw-r--r--libexec/ld.so/m88k/syscall.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/libexec/ld.so/m88k/ldasm.S b/libexec/ld.so/m88k/ldasm.S
index e138946d154..ccb957ea667 100644
--- a/libexec/ld.so/m88k/ldasm.S
+++ b/libexec/ld.so/m88k/ldasm.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: ldasm.S,v 1.9 2014/07/05 16:59:36 miod Exp $ */
+/* $OpenBSD: ldasm.S,v 1.10 2014/07/06 07:28:36 otto Exp $ */
/*
* Copyright (c) 2013 Miodrag Vallat.
@@ -209,6 +209,9 @@ DL_SYSCALL(lstat)
DL_SYSCALL(utrace)
jmp %r1
+DL_SYSCALL(getentropy)
+ jmp %r1
+
DL_SYSCALL2(getcwd,__getcwd)
jmp %r1
diff --git a/libexec/ld.so/m88k/syscall.h b/libexec/ld.so/m88k/syscall.h
index 50331e50efa..c5e29620ee9 100644
--- a/libexec/ld.so/m88k/syscall.h
+++ b/libexec/ld.so/m88k/syscall.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.h,v 1.8 2014/07/05 21:54:51 miod Exp $ */
+/* $OpenBSD: syscall.h,v 1.9 2014/07/06 07:28:36 otto Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
@@ -58,6 +58,7 @@ int _dl_readlink(const char *, char *, size_t);
int _dl_lstat(const char *, struct stat *);
int _dl_getcwd(char *, size_t);
int _dl_utrace(const char *, const void *, size_t);
+int _dl_getentropy(char *, size_t);
static inline off_t
_dl_lseek(int fildes, off_t offset, int whence)