This is mostly just the signatures and syscall method matching.
It is expected that users of this crate requiring these syscalls will create a custom Handler, which will impl Execute and provide implementations for these methods.
Note, that if that would require proxying the (custom) syscall to the host, then currently we have no mechanism in place to cater for that, but that would be easy to implement - please let me know if we need that now and/or file a follow-up issue.
Part of #34
Just like https://github.com/enarx/sallyport/blob/8efea8f02f46af32f570ddac6b6a86bd51755733/src/syscall/memory.rs#L8-L37
This is mostly just the signatures and
syscall
method matching.It is expected that users of this crate requiring these syscalls will create a custom
Handler
, which willimpl Execute
and provide implementations for these methods. Note, that if that would require proxying the (custom) syscall to the host, then currently we have no mechanism in place to cater for that, but that would be easy to implement - please let me know if we need that now and/or file a follow-up issue.