ish-app / ish

Linux shell for iOS
https://ish.app
Other
16.37k stars 859 forks source link

Missing syscall 354 #2133

Open joshualamorie opened 1 year ago

joshualamorie commented 1 year ago

During attempt to install man-db and run man it complains about bad system call.

Joshuas-iPad:~# apk add man-db
(1/11) Installing libgcc (10.3.1_git20210424-r2)
(2/11) Installing libstdc++ (10.3.1_git20210424-r2)
(3/11) Installing groff (1.22.4-r1)
(4/11) Installing ncurses-terminfo-base (6.2_p20210612-r1)
(5/11) Installing ncurses-libs (6.2_p20210612-r1)
(6/11) Installing less (581-r2)
(7/11) Installing gdbm (1.19-r0)
(8/11) Installing libintl (0.21-r0)
(9/11) Installing libpipeline (1.5.3-r0)
(10/11) Installing libseccomp (2.5.1-r2)
(11/11) Installing man-db (2.9.4-r0)
Executing busybox-1.33.1-r6.trigger
Executing man-db-2.9.4-r0.trigger
ERROR: man-db-2.9.4-r0.trigger: script exited with error 0
OK: 34 MiB in 26 packages
Joshuas-iPad:~# man clock_gettime
Bad system call
Joshuas-iPad:~# man -help
Bad system call

Dmesg output

Joshuas-iPad:~# dmesg|tail
28(mandb) missing syscall 354
29(man) missing syscall 354
30(man) missing syscall 354

version info

Joshuas-iPad:~# cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.14.3
PRETTY_NAME="Alpine Linux v3.14"
HOME_URL="https://alpinelinux.org/"
BUG_REPORT_URL="https://bugs.alpinelinux.org/"
saagarjha commented 1 year ago

seccomp

pcordes commented 11 months ago

Assuming this is 32-bit x86 (asm/unistd_32.h), syscall 354 is __NR_seccomp.

(There is no 354 in asm/unistd_64.h in native Linux on x86-64.)