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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/untrusted/irt/irt_random.c ('k') | tests/random/nacl.scons » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 /* 6 /*
7 * TODO(bradchen): figure out where to move this include file and then 7 * TODO(bradchen): figure out where to move this include file and then
8 * move it. 8 * move it.
9 */ 9 */
10 10
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 typedef int (*TYPE_nacl_test_infoleak) (void); 252 typedef int (*TYPE_nacl_test_infoleak) (void);
253 253
254 typedef int (*TYPE_nacl_test_crash) (int crash_type); 254 typedef int (*TYPE_nacl_test_crash) (int crash_type);
255 255
256 typedef int (*TYPE_nacl_futex_wait_abs) (volatile int *addr, int value, 256 typedef int (*TYPE_nacl_futex_wait_abs) (volatile int *addr, int value,
257 const struct timespec *abstime); 257 const struct timespec *abstime);
258 258
259 typedef int (*TYPE_nacl_futex_wake) (volatile int *addr, int nwake); 259 typedef int (*TYPE_nacl_futex_wake) (volatile int *addr, int nwake);
260 260
261 typedef int (*TYPE_nacl_get_random_bytes) (void *buf, size_t buf_size);
262
261 #if defined(__cplusplus) 263 #if defined(__cplusplus)
262 } 264 }
263 #endif 265 #endif
264 266
265 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */ 267 #endif /* NATIVE_CLIENT_SRC_UNTRUSTED_NACL_SYSCALL_BINDINGS_TRAMPOLINE_H */
OLDNEW
« 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