OLD | NEW |
---|---|
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 /* |
15 void nonsfi_initialize_signal_handler(void); | 15 * Initializes the urandom fd with the given |fd|. This function takes the |
Mark Seaborn
2014/11/05 19:01:16
Nit: "takes ownership" (no "the")
hidehiko
2014/11/06 13:22:24
Done.
| |
16 * ownership of the given |fd|. | |
17 */ | |
18 void nonsfi_set_urandom_fd(int fd); | |
16 | 19 |
17 EXTERN_C_END | 20 EXTERN_C_END |
18 | 21 |
19 #endif | 22 #endif |
OLD | NEW |