syscall.sh / x32 / setregid

setregid

set real and/or effective user or group ID

sys_setregid(gid_t rgid, gid_t egid)
number1073741938 (0x40000072)
abicommon
entry pointsys_setregid
sinceLinux 3.4
man pagesetregid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741938, the syscall number
rdigid_t rgid
rsigid_t egid
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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