Add OpenAt Opcode

This commit is contained in:
Darley Barreto
2025-04-05 10:50:48 -03:00
parent a65f94f37e
commit 8b2bbae6e6
+4
View File
@@ -129,6 +129,8 @@ pub enum Opcode {
Getdents = 26,
CloseMsg = 27,
Call = 28,
OpenAt = 29, // fd, buf_ptr, buf_len, flags
}
impl Opcode {
@@ -169,6 +171,8 @@ impl Opcode {
27 => CloseMsg,
28 => Call,
29 => OpenAt,
_ => return None,
})
}