syscall.sh / sh / setfsgid32

setfsgid32

set group identity used for filesystem checks

sys_setfsgid(gid_t gid)
number216 (0xd8)
abicommon
entry pointsys_setfsgid
sinceLinux 5.0
man pagesetfsgid32(2)
sourceelixir.bootlin.com

Registers

registervalue
r3216, 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/setfsgid32