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

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: Rebase 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
« no previous file with comments | « src/nonsfi/irt/irt_interfaces.c ('k') | src/nonsfi/irt/irt_random.c » ('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) 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_LINUX_IRT_EXCEPTION_HANDLING_H_ 7 #ifndef NATIVE_CLIENT_SRC_NONSFI_IRT_IRT_RANDOM_H_
8 #define NATIVE_CLIENT_SRC_NONSFI_LINUX_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 /*
15 void nonsfi_initialize_signal_handler(void); 15 * Initializes the urandom fd with the given |fd|. This function takes
16 * ownership of the given |fd|.
17 */
18 void nonsfi_set_urandom_fd(int fd);
Mark Seaborn 2014/11/06 17:05:32 It occurs to me that if you want to call this from
hidehiko 2014/11/06 19:53:14 Hmm, then should we move src/nonsfi/linux/irt_exce
16 19
17 EXTERN_C_END 20 EXTERN_C_END
18 21
19 #endif 22 #endif
OLDNEW
« no previous file with comments | « src/nonsfi/irt/irt_interfaces.c ('k') | src/nonsfi/irt/irt_random.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698