Writing my own idl to make ipc simpler and allow easy passing of capabilities between processes.
14 lines
197 B
Text
14 lines
197 B
Text
interface File {
|
|
method open (OpenFileRequest) -> (FileResponse);
|
|
}
|
|
|
|
message OpenFileRequest {
|
|
string path;
|
|
u64 options;
|
|
}
|
|
|
|
message File {
|
|
string path;
|
|
u64 attrs;
|
|
capability mem_cap;
|
|
}
|