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_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 |
OLD | NEW |