syscall.sh / s390x / setfsgid

setfsgid

set group identity used for filesystem checks

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

Registers

registervalue
r1216, the syscall number
r2gid_t gid
r2the 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/s390x/setfsgid