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

Unified 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: Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« src/nonsfi/irt/irt_interfaces.c ('K') | « src/nonsfi/irt/irt_interfaces.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 4a69c1344274ae9fffbeb94fb1091d8ec85dfe79..e84e325ef54ea6434a59c3dc50735ed583398e0a 100644
--- a/src/nonsfi/linux/irt_exception_handling.h
+++ b/src/nonsfi/irt/irt_random.h
@@ -4,15 +4,15 @@
* found in the LICENSE file.
*/
-#ifndef NATIVE_CLIENT_SRC_NONSFI_IRT_IRT_EXCEPTION_HANDLING_H_
-#define NATIVE_CLIENT_SRC_NONSFI_IRT_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 by the given |fd|. */
+void nonsfi_set_urandom_fd(int fd);
EXTERN_C_END
« src/nonsfi/irt/irt_interfaces.c ('K') | « src/nonsfi/irt/irt_interfaces.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698