2023-10-12 23:04:11 -07:00
|
|
|
interface VFS {
|
2023-10-12 23:14:25 -07:00
|
|
|
method open (OpenFileRequest) -> (File);
|
2023-10-12 22:46:37 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
message OpenFileRequest {
|
|
|
|
string path;
|
2023-11-10 12:26:59 -08:00
|
|
|
repeated u64 options;
|
2023-10-12 22:46:37 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
message File {
|
|
|
|
string path;
|
|
|
|
u64 attrs;
|
|
|
|
capability mem_cap;
|
|
|
|
}
|