syscall.sh / arm64 / file_getattr
file_getattr
sys_file_getattr(int dfd, const char *filename, struct file_attr *attr, size_t usize, unsigned int at_flags)
| number | 468 (0x1d4) |
|---|---|
| abi | common |
| entry point | sys_file_getattr |
| since | Linux 6.17 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
x8 | 468, the syscall number |
x0 | int dfd |
x1 | const char *filename |
x2 | struct file_attr *attr |
x3 | size_t usize |
x4 | unsigned int at_flags |
x0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 468
- x86 468
- arm 468
- riscv64 468
- x32 1073742292
- loongarch64 468
- ppc64 468
- ppc 468
- s390x 468
- mips64 5468
- mipsn32 6468
- mipso32 4468
- alpha 578
- arc 468
- csky 468
- hexagon 468
- m68k 468
- microblaze 468
- nios2 468
- openrisc 468
- parisc 468
- sh 468
- sparc 468
- sparc64 468
- xtensa 468
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/file_getattr