syscall.sh / openrisc / setgid

setgid

set group identity

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

Registers

registervalue
r11144, the syscall number
r3gid_t gid
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/openrisc/setgid