Trying to run tmux results in a ‘Bad system call’ error
# apk add tmux
...
# tmux
Bad system call
#
now it crashes the app
It no longer crashes the app or returns bad system call. The current message is
lost server
The issue now is missing sendmsg and recvmsg, which I've been holding off on because they the most complicated parameter passing of any system call. I think @wallisch said he was working on recvmsg?
Yes, I started working on them both. Going to take a bit, since - as you said - correctly copying the msghdr struct from/to userspace is a pain in the ass.
I will happily test tmux when closed. Watching this thread.
tmux is working now 🎉
Most helpful comment
Yes, I started working on them both. Going to take a bit, since - as you said - correctly copying the msghdr struct from/to userspace is a pain in the ass.