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

Unified Diff: mojo/edk/system/core.h

Issue 2001673003: EDK: Add Core::DuplicateHandleWithReducedRights(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 7 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 | mojo/edk/system/core.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/edk/system/core.h
diff --git a/mojo/edk/system/core.h b/mojo/edk/system/core.h
index a97010f3aeca3e3110ff3fade881019e975b98a6..b4cfbda02ef695c8782bd5852b28bedc8c24b202 100644
--- a/mojo/edk/system/core.h
+++ b/mojo/edk/system/core.h
@@ -117,6 +117,10 @@ class Core {
// "mojo/public/c/system/handle.h":
MojoResult Close(MojoHandle handle);
MojoResult GetRights(MojoHandle handle, UserPointer<MojoHandleRights> rights);
+ MojoResult DuplicateHandleWithReducedRights(
+ MojoHandle handle,
+ MojoHandleRights rights_to_remove,
+ UserPointer<MojoHandle> new_handle);
// These methods correspond to the API functions defined in
// "mojo/public/c/system/wait.h":
« no previous file with comments | « no previous file | mojo/edk/system/core.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698