syscall.sh / xtensa / setgid

setgid

set group identity

sys_setgid(gid_t gid)
number138 (0x8a)
abicommon
entry pointsys_setgid
sinceLinux 5.0
man pagesetgid(2)
sourceelixir.bootlin.com

Registers

registervalue
a2138, the syscall number
a6gid_t gid
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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