syscall.sh / x64 / setregid

setregid

set real and/or effective user or group ID

sys_setregid(gid_t rgid, gid_t egid)
number114 (0x72)
abicommon
entry pointsys_setregid
sinceLinux 3.3
man pagesetregid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax114, 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/x64/setregid