syscall.sh / x86 / epoll_create
epoll_create
open an epoll file descriptor
sys_epoll_create(int size)
| number | 254 (0xfe) |
|---|---|
| abi | i386 |
| entry point | sys_epoll_create |
| since | Linux 3.3 |
| man page | epoll_create(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 254, the syscall number |
ebx | int size |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 213
- arm 250
- x32 1073742037
- ppc64 236
- ppc 236
- s390x 249
- mips64 5207
- mipsn32 6207
- mipso32 4248
- alpha 407
- m68k 249
- microblaze 254
- parisc 224
- sh 254
- sparc 193
- sparc64 193
- xtensa 20
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/epoll_create