syscall.sh / csky / setfsgid

setfsgid

set group identity used for filesystem checks

sys_setfsgid(gid_t gid)
number152 (0x98)
abicommon
entry pointsys_setfsgid
sinceLinux 4.20
man pagesetfsgid(2)
sourceelixir.bootlin.com

Registers

registervalue
r7152, the syscall number
a0gid_t gid
a0the return value

Then run trap 0 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/csky/setfsgid