syscall.sh / riscv64 / setgid

setgid

set group identity

sys_setgid(gid_t gid)
number144 (0x90)
abicommon
entry pointsys_setgid
sinceLinux 4.15
man pagesetgid(2)
sourceelixir.bootlin.com

Registers

registervalue
a7144, 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/setgid