syscall.sh / riscv64 / setfsgid

setfsgid

set group identity used for filesystem checks

sys_setfsgid(gid_t gid)
number152 (0x98)
abicommon
entry pointsys_setfsgid
sinceLinux 4.15
man pagesetfsgid(2)
sourceelixir.bootlin.com

Registers

registervalue
a7152, the syscall number
a0gid_t gid
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/setfsgid