Open datacompboy opened 3 weeks ago
Also touched on in this issue about some other IO syscalls used by Java golang: https://github.com/shadow/shadow/issues/3322
Also this broader issue about policies/features around these sort of "stub" implementations: https://github.com/shadow/shadow/issues/3280
Offhand, I think this particular syscall would be fairly easy to implement for real.
Offhand, I think this particular syscall would be fairly easy to implement for real.
Ah, actually #3322 talks about this; we probably need a little bit of refactoring to handle these sort of syscalls.
Describe the issue Java's transferTo tries to use sendfile and fallback to read/send in case of EINVAL
To Reproduce Try to run Kafka under Shadow
Shadow (please complete the following information):
Additional context Just adding EINVAL shim to
src/main/host/syscall/handler/mod.rs
:Makes java fallback to read+recv.