| Index: mojo/edk/embedder/system_impl_private_entrypoints.cc
|
| diff --git a/mojo/edk/embedder/system_impl_private_entrypoints.cc b/mojo/edk/embedder/system_impl_private_entrypoints.cc
|
| index fb705c4038933c603f5445819f843362931a240e..6afdf2d4ad97f21c037548220f9d7d6558149da6 100644
|
| --- a/mojo/edk/embedder/system_impl_private_entrypoints.cc
|
| +++ b/mojo/edk/embedder/system_impl_private_entrypoints.cc
|
| @@ -100,6 +100,17 @@ MojoResult MojoSystemImplGetRights(MojoSystemImpl system,
|
| return core->GetRights(handle, MakeUserPointer(rights));
|
| }
|
|
|
| +MojoResult MojoSystemImplReplaceHandleWithReducedRights(
|
| + MojoSystemImpl system,
|
| + MojoHandle handle,
|
| + MojoHandleRights rights_to_remove,
|
| + MojoHandle* replacement_handle) {
|
| + mojo::system::Core* core = static_cast<mojo::system::Core*>(system);
|
| + DCHECK(core);
|
| + return core->ReplaceHandleWithReducedRights(
|
| + handle, rights_to_remove, MakeUserPointer(replacement_handle));
|
| +}
|
| +
|
| MojoResult MojoSystemImplDuplicateHandleWithReducedRights(
|
| MojoSystemImpl system,
|
| MojoHandle handle,
|
|
|