Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Syscall write() broken on qemu #109

Closed
pdressen opened this issue May 28, 2019 · 0 comments
Closed

Syscall write() broken on qemu #109

pdressen opened this issue May 28, 2019 · 0 comments

Comments

@pdressen
Copy link
Contributor

sys_write() returns the bytesize of the bytecounter of the written data, instead of the bytes written.
So it always returns 8, because length is a ssize_t.

https://github.com/hermitcore/libhermit/blob/423cb0e80e4b81122fb088fdbc5bb385d9232933/kernel/syscall.c#L285

stlankes pushed a commit that referenced this issue Jun 1, 2019
removes incorrect use of arguments
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant