syscall.sh / csky / 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 |
|---|---|
r7 | 469, the syscall number |
a0 | int dfd |
a1 | const char *filename |
a2 | struct file_attr *attr |
a3 | size_t usize |
r4 | unsigned int at_flags |
a0 | the return value |
Then run trap 0 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
- hexagon 469
- m68k 469
- microblaze 469
- nios2 469
- openrisc 469
- parisc 469
- sh 469
- sparc 469
- sparc64 469
- xtensa 469
Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/file_setattr