Open filiphsps opened 1 year ago
I can say from experience that always flagging missing syscalls() as unimplemented and returning _ENOSYS fixes issues like this and doesn't cause many, if any problems. The only time there could be an issue is if the code that invoked the unimplemented syscall() fails to handle ENOSYS correctly. I've yet to see that happen, though I'm sure there are cases where it does. In any case, that seems less onerous then having a binary crash that would run fine otherwise.
See
vim
,nano
,zsh
etc.