diff --git a/zion/syscall/ipc.cpp b/zion/syscall/ipc.cpp index 98e6a49..021695c 100644 --- a/zion/syscall/ipc.cpp +++ b/zion/syscall/ipc.cpp @@ -202,7 +202,7 @@ glcr::ErrorCode EndpointRecv(ZEndpointRecvReq* req) { glcr::ErrorCode ReplyPortSend(ZReplyPortSendReq* req) { auto& proc = gScheduler->CurrentProcess(); auto reply_port_cap = proc.GetCapability(req->reply_port_cap); - RET_ERR(ValidateCapability(reply_port_cap, kZionPerm_Read)); + RET_ERR(ValidateCapability(reply_port_cap, kZionPerm_Write)); auto reply_port = reply_port_cap->obj(); ASSIGN_OR_RETURN(IpcMessage message, TranslateRequestToIpcMessage(*req));