syscall.sh / sparc / epoll_ctl
epoll_ctl
control interface for an epoll file descriptor
sys_epoll_ctl(int epfd, int op, int fd, struct epoll_event *event)
| number | 194 (0xc2) |
|---|---|
| abi | common |
| entry point | sys_epoll_ctl |
| since | Linux 5.0 |
| man page | epoll_ctl(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 194, the syscall number |
o0 | int epfd |
o1 | int op |
o2 | int fd |
o3 | struct epoll_event *event |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 233
- x86 255
- arm64 21
- arm 251
- riscv64 21
- x32 1073742057
- loongarch64 21
- ppc64 237
- ppc 237
- s390x 250
- mips64 5208
- mipsn32 6208
- mipso32 4249
- alpha 408
- arc 21
- csky 21
- hexagon 21
- m68k 250
- microblaze 255
- nios2 21
- openrisc 21
- parisc 225
- sh 255
- sparc64 194
- xtensa 19
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/epoll_ctl