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

Unified Diff: src/untrusted/irt/irt.h

Issue 11141016: mprotect system call exposed to the untrusted code. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Removed leftover code. Created 8 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
« no previous file with comments | « no previous file | src/untrusted/irt/irt.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/irt/irt.h
diff --git a/src/untrusted/irt/irt.h b/src/untrusted/irt/irt.h
index d417be8fe41ad4f9427beed790f6564a9f19bab8..f1b92dcc2c4e79811608b4700e480da7119808fb 100644
--- a/src/untrusted/irt/irt.h
+++ b/src/untrusted/irt/irt.h
@@ -193,6 +193,15 @@ struct nacl_irt_dev_exception_handling {
int (*exception_clear_flag)(void);
};
+/*
+ * NOTE: This is a 'dev' interface which is NOT stable.
+ * In the future, requests for this interface will fail.
+ */
+#define NACL_IRT_DEV_MPROTECT_v0_1 "nacl-irt-dev-mprotect-0.1"
+struct nacl_irt_dev_mprotect {
+ int (*mprotect)(void *addr, size_t len, int prot);
+};
+
#if defined(__cplusplus)
}
#endif
« no previous file with comments | « no previous file | src/untrusted/irt/irt.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698