fadvise64_64 on score
predeclare an access pattern for file data
sys_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
| number | 223 (0xdf) |
|---|---|
| abi | common |
| entry point | sys_fadvise64_64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | fadvise64_64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 223, the syscall number |
r4 | int fd |
r5 | loff_t offset |
r6 | loff_t len |
r7 | int advice |
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
- x86 272
- ia32 272
- ppc 254
- arc 223
- blackfin 273, removed in 4.17
- cris 272, removed in 4.17
- csky 223
- frv 272, removed in 4.17
- hexagon 223
- m32r 272, removed in 4.17
- m68k 267
- metag 223, removed in 4.17
- microblaze 272
- mn10300 272, removed in 4.17
- nds32 223, removed in 5.18
- nios2 223
- openrisc 223
- parisc 236
- sh 272
- sparc 210
- sparc64 210
- tilepro 223, removed in 4.17
- xtensa 63
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/fadvise64_64?kernel=all