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

Side by Side Diff: src/nonsfi/irt/irt_random.h

Issue 686723003: Non-SFI mode: Implement nacl_irt_random only for nacl_helper_nonsfi. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Created 6 years, 1 month 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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2014 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2014 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 #ifndef NATIVE_CLIENT_SRC_NONSFI_IRT_IRT_EXCEPTION_HANDLING_H_ 7 #ifndef NATIVE_CLIENT_SRC_NONSFI_IRT_IRT_RANDOM_H_
8 #define NATIVE_CLIENT_SRC_NONSFI_IRT_IRT_EXCEPTION_HANDLING_H_ 1 8 #define NATIVE_CLIENT_SRC_NONSFI_IRT_IRT_RANDOM_H_ 1
9 9
10 #include "native_client/src/include/nacl_base.h" 10 #include "native_client/src/include/nacl_base.h"
11 11
12 EXTERN_C_BEGIN 12 EXTERN_C_BEGIN
13 13
14 /* Initialize signal handler at startup before entering sandbox. */ 14 /* Initializes the urandom fd by the given |fd|. */
15 void nonsfi_initialize_signal_handler(void); 15 void nonsfi_set_urandom_fd(int fd);
16 16
17 EXTERN_C_END 17 EXTERN_C_END
18 18
19 #endif 19 #endif
OLDNEW
« src/nonsfi/irt/irt_interfaces.c ('K') | « src/nonsfi/irt/irt_interfaces.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698