Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(417)

Unified Diff: src/untrusted/nacl/syscall_bindings_trampoline.h

Issue 537543003: Add a get_random_bytes() syscall to replace the SRPC-based implementation (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Fix glibc tests Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/untrusted/irt/irt_random.c ('k') | tests/random/nacl.scons » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nacl/syscall_bindings_trampoline.h
diff --git a/src/untrusted/nacl/syscall_bindings_trampoline.h b/src/untrusted/nacl/syscall_bindings_trampoline.h
index b607f1dae40f88a69eb7c6be90dcb81e38ce1743..c657343fe36caaace4da9128fa62c3b7fab4068d 100644
--- a/src/untrusted/nacl/syscall_bindings_trampoline.h
+++ b/src/untrusted/nacl/syscall_bindings_trampoline.h
@@ -258,6 +258,8 @@ typedef int (*TYPE_nacl_futex_wait_abs) (volatile int *addr, int value,
typedef int (*TYPE_nacl_futex_wake) (volatile int *addr, int nwake);
+typedef int (*TYPE_nacl_get_random_bytes) (void *buf, size_t buf_size);
+
#if defined(__cplusplus)
}
#endif
« no previous file with comments | « src/untrusted/irt/irt_random.c ('k') | tests/random/nacl.scons » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698