Index: src/nonsfi/irt/irt_random.h |
diff --git a/src/nonsfi/linux/irt_exception_handling.h b/src/nonsfi/irt/irt_random.h |
similarity index 52% |
copy from src/nonsfi/linux/irt_exception_handling.h |
copy to src/nonsfi/irt/irt_random.h |
index 80f8f15cb66e6e77703ee699a402891bab711e83..93dc5696d69a02d05a504285bccc70b2f464d36b 100644 |
--- a/src/nonsfi/linux/irt_exception_handling.h |
+++ b/src/nonsfi/irt/irt_random.h |
@@ -4,15 +4,18 @@ |
* found in the LICENSE file. |
*/ |
-#ifndef NATIVE_CLIENT_SRC_NONSFI_LINUX_IRT_EXCEPTION_HANDLING_H_ |
-#define NATIVE_CLIENT_SRC_NONSFI_LINUX_IRT_EXCEPTION_HANDLING_H_ 1 |
+#ifndef NATIVE_CLIENT_SRC_NONSFI_IRT_IRT_RANDOM_H_ |
+#define NATIVE_CLIENT_SRC_NONSFI_IRT_IRT_RANDOM_H_ 1 |
#include "native_client/src/include/nacl_base.h" |
EXTERN_C_BEGIN |
-/* Initialize signal handler at startup before entering sandbox. */ |
-void nonsfi_initialize_signal_handler(void); |
+/* |
+ * Initializes the urandom fd with the given |fd|. This function takes |
+ * ownership of the given |fd|. |
+ */ |
+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
|
EXTERN_C_END |