| Index: mojo/edk/system/core.cc
|
| diff --git a/mojo/edk/system/core.cc b/mojo/edk/system/core.cc
|
| index 65eb0733836af90e4935dcda1261fbfd74421d1e..f1c869f19e60f4232939bba869e55658d2dec2ce 100644
|
| --- a/mojo/edk/system/core.cc
|
| +++ b/mojo/edk/system/core.cc
|
| @@ -175,6 +175,17 @@ MojoResult Core::Close(MojoHandle handle) {
|
| return h.dispatcher->Close();
|
| }
|
|
|
| +MojoResult Core::GetRights(MojoHandle handle,
|
| + UserPointer<MojoHandleRights> rights) {
|
| + Handle h;
|
| + MojoResult result = GetHandle(handle, &h);
|
| + if (result != MOJO_RESULT_OK)
|
| + return result;
|
| +
|
| + rights.Put(h.rights);
|
| + return MOJO_RESULT_OK;
|
| +}
|
| +
|
| MojoResult Core::Wait(MojoHandle handle,
|
| MojoHandleSignals signals,
|
| MojoDeadline deadline,
|
|
|