[zion] Finish cleaning up process capability interface.
Make all functions generic and specify existing/vs new cap.
This commit is contained in:
parent
fc94bc5bf5
commit
242a18ae3c
5 changed files with 15 additions and 15 deletions
|
|
@ -81,7 +81,7 @@ z_err_t ProcessSpawn(ZProcessSpawnReq* req, ZProcessSpawnResp* resp) {
|
|||
return Z_ERR_CAP_NOT_FOUND;
|
||||
}
|
||||
// FIXME: Check permissions.
|
||||
resp->bootstrap_cap = proc->AddCapability(cap);
|
||||
resp->bootstrap_cap = proc->AddExistingCapability(cap);
|
||||
}
|
||||
|
||||
return Z_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue