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

Unified Diff: mojo/public/platform/native/system_thunks.c

Issue 2056513002: Plumb MojoReplaceHandleWithReducedRights() out. (Closed) Base URL: https://github.com/domokit/mojo.git@work790_replace_reduce_1
Patch Set: Created 4 years, 6 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
Index: mojo/public/platform/native/system_thunks.c
diff --git a/mojo/public/platform/native/system_thunks.c b/mojo/public/platform/native/system_thunks.c
index 6cff1cbaa3d5343148d33b0cf2a5feb8f47dfedc..c9517ffee4b2aca19155644f96d592db9e211caf 100644
--- a/mojo/public/platform/native/system_thunks.c
+++ b/mojo/public/platform/native/system_thunks.c
@@ -25,6 +25,15 @@ MojoResult MojoGetRights(MojoHandle handle, MojoHandleRights* rights) {
return g_thunks.GetRights(handle, rights);
}
+MojoResult MojoReplaceHandleWithReducedRights(
+ MojoHandle handle,
+ MojoHandleRights rights_to_remove,
+ MojoHandle* replacement_handle) {
+ assert(g_thunks.ReplaceHandleWithReducedRights);
+ return g_thunks.ReplaceHandleWithReducedRights(
+ handle, rights_to_remove, replacement_handle);
+}
+
MojoResult MojoDuplicateHandleWithReducedRights(
MojoHandle handle,
MojoHandleRights rights_to_remove,
« mojo/nacl/sfi/nacl_bindings/mojo_irt.c ('K') | « mojo/public/platform/native/system_thunks.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698