syscall.sh / sh / setgid32

setgid32

set group identity

sys_setgid(gid_t gid)
number214 (0xd6)
abicommon
entry pointsys_setgid
sinceLinux 5.0
man pagesetgid32(2)
sourceelixir.bootlin.com

Registers

registervalue
r3214, the syscall number
r4gid_t gid
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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