syscall.sh / sparc / truncate64

truncate64

truncate a file to a specified length

sys_truncate64(const char *path, loff_t length)
number77 (0x4d)
abi32
entry pointsys_truncate64
sinceLinux 5.0
man pagetruncate64(2)
sourceelixir.bootlin.com

Registers

registervalue
g177, the syscall number
o0const char *path
o1loff_t length
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sparc/truncate64