syscall.sh / sparc / file_setattr
file_setattr
sys_file_setattr(int dfd, const char *filename, struct file_attr *attr, size_t usize, unsigned int at_flags)
| number | 469 (0x1d5) |
|---|---|
| abi | common |
| entry point | sys_file_setattr |
| since | Linux 6.17 |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
g1 | 469, the syscall number |
o0 | int dfd |
o1 | const char *filename |
o2 | struct file_attr *attr |
o3 | size_t usize |
o4 | unsigned int at_flags |
o0 | the return value |
Then run t 0x10 to enter the kernel.
Same syscall on other architectures
- x64 469
- x86 469
- arm64 469
- arm 469
- riscv64 469
- x32 1073742293
- loongarch64 469
- ppc64 469
- ppc 469
- s390x 469
- mips64 5469
- mipsn32 6469
- mipso32 4469
- alpha 579
- arc 469
- csky 469
- hexagon 469
- m68k 469
- microblaze 469
- nios2 469
- openrisc 469
- parisc 469
- sh 469
- sparc64 469
- xtensa 469
Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/file_setattr