syscall.sh / arm / setgid

setgid

set group identity

sys_setgid16(old_gid_t gid)
number46 (0x2e)
abicommon
entry pointsys_setgid16
sinceLinux 4.10
man pagesetgid(2)
sourceelixir.bootlin.com

Registers

registervalue
r746, the syscall number
r0old_gid_t gid
r0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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