msgsnd on ia32
System V message queue operations
compat_sys_msgsnd(int msqid, struct msgbuf *msgp, size_t msgsz, int msgflg)
| number | 400 (0x190) |
|---|---|
| abi | i386 |
| kconfig | CONFIG_SYSVIPC |
| family | sysvipc |
| entry point | compat_sys_msgsnd |
| since | Linux 5.1 |
| man page | msgsnd(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 400, the syscall number |
ebx | int msqid |
ecx | struct msgbuf *msgp |
edx | size_t msgsz |
esi | int msgflg |
eax | the return value |
Then run int 0x80 to enter the kernel.
This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.
Same syscall on other architectures
- x64 69
- x86 400
- arm64 189
- arm 301
- riscv64 189
- x32 1073741893
- loongarch64 189
- ppc64 400
- ppc 400
- s390x 400
- mips64 5067
- mipsn32 6067
- mipso32 4400
- alpha 203
- arc 189
- csky 189
- hexagon 189
- m68k 400
- microblaze 334
- nios2 189
- openrisc 189
- parisc 188
- sh 400
- sparc 400
- sparc64 400
- xtensa 167
Get this as JSON: https://api.syscall.sh/v2/syscalls/ia32/msgsnd