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

Unified Diff: src/public/nonsfi/irt_signal_handling.h

Issue 1212613002: Non-SFI mode: Add Linux asynchronous signal support (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Added a TODO to remove code after roll Created 5 years, 4 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
« no previous file with comments | « src/public/nonsfi/irt_exception_handling.h ('k') | src/untrusted/irt/irt.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/public/nonsfi/irt_signal_handling.h
diff --git a/src/public/nonsfi/irt_signal_handling.h b/src/public/nonsfi/irt_signal_handling.h
new file mode 100644
index 0000000000000000000000000000000000000000..a276bdfce6fd74d098cc078b95e51561fe7ce48a
--- /dev/null
+++ b/src/public/nonsfi/irt_signal_handling.h
@@ -0,0 +1,22 @@
+/*
+ * Copyright (c) 2015 The Native Client Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef NATIVE_CLIENT_SRC_PUBLIC_NONSFI_IRT_SIGNAL_HANDLING_H_
+#define NATIVE_CLIENT_SRC_PUBLIC_NONSFI_IRT_SIGNAL_HANDLING_H_ 1
+
+#include "native_client/src/include/nacl_base.h"
+
+EXTERN_C_BEGIN
+
+/*
+ * Initialize signal handler for exceptions and async signals at startup
+ * before entering sandbox.
+ */
+void nonsfi_initialize_signal_handler(void);
+
+EXTERN_C_END
+
+#endif
« no previous file with comments | « src/public/nonsfi/irt_exception_handling.h ('k') | src/untrusted/irt/irt.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698