| 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 /* 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 |
| OLD | NEW |