syscall.sh / loongarch64 / setregid

setregid

set real and/or effective user or group ID

sys_setregid(gid_t rgid, gid_t egid)
number143 (0x8f)
abicommon
entry pointsys_setregid
sinceLinux 5.19
man pagesetregid(2)
sourceelixir.bootlin.com

Registers

registervalue
a7143, the syscall number
a0gid_t rgid
a1gid_t egid
a0the return value

Then run syscall 0 to enter the kernel.

Same syscall on other architectures

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