poll on score
wait for some event on a file descriptor
sys_poll(struct pollfd *ufds, unsigned int nfds, int timeout_msecs)
| number | 1068 (0x42c) |
|---|---|
| abi | common |
| entry point | sys_poll |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | poll(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1068, the syscall number |
r4 | struct pollfd *ufds |
r5 | unsigned int nfds |
r6 | int timeout_msecs |
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 7
- x86 168
- arm 168
- ia32 168
- x32 1073741831
- ppc64 167
- ppc 167
- s390x 168
- mips64 5007
- mipsn32 6007
- mipso32 4188
- alpha 94
- cris 168, removed in 4.17
- frv 168, removed in 4.17
- ia64 1090, removed in 6.7
- m32r 168, removed in 4.17
- m68k 168
- microblaze 168
- mn10300 168, removed in 4.17
- parisc 168
- sh 168
- sparc 153
- sparc64 153
- xtensa 16
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/poll?kernel=all