Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lot of packages on alpine 3.18 require syscall 215 (setfsuid32) #2198

Closed
filiphsps opened this issue Aug 16, 2023 · 2 comments
Closed

lot of packages on alpine 3.18 require syscall 215 (setfsuid32) #2198

filiphsps opened this issue Aug 16, 2023 · 2 comments

Comments

@filiphsps
Copy link

See vim, nano, zsh etc.

localhost:~# vim
Vim: Caught deadly signal SYS
Vim: Finished.
Bad system call
localhost:~# dmesg
104(vim) missing syscall 215
107(vim) missing syscall 215
109(vim) missing syscall 215
117(nano) missing syscall 215
121(zsh) missing syscall 215
123(nano) missing syscall 215
136(vim) missing syscall 215
localhost:~# 
@emkey1
Copy link
Contributor

emkey1 commented Aug 16, 2023

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.

@tbodt
Copy link
Member

tbodt commented Oct 20, 2024

This is fixed by stubbing the syscall

@tbodt tbodt closed this as completed Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants