semtimedop on score
System V semaphore operations
sys_semtimedop(int semid, struct sembuf *sops, unsigned nsops, const struct timespec *timeout)
| number | 192 (0xc0) |
|---|---|
| abi | common |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc see the whole family on score |
| entry point | sys_semtimedop |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | semtimedop(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 192, the syscall number |
r4 | int semid |
r5 | struct sembuf *sops |
r6 | unsigned nsops |
r7 | const struct timespec *timeout |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 220
- arm64 192
- arm 312
- riscv64 192
- x32 1073742044
- loongarch64 192
- ppc64 392
- s390x 392
- mips64 5214
- mipsn32 6215
- alpha 423
- arc 192
- blackfin 357, removed in 4.17
- csky 192
- hexagon 192
- ia64 1247, removed in 6.7
- metag 192, removed in 4.17
- microblaze 325
- nds32 192, removed in 5.18
- nios2 192
- openrisc 192
- parisc 228
- sparc64 392
- tilegx 192, removed in 4.17
- tilepro 192, removed in 4.17
- xtensa 161
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/semtimedop?kernel=all