syscall.sh / x64 / setfsgid

setfsgid

set group identity used for filesystem checks

sys_setfsgid(gid_t gid)
number123 (0x7b)
abicommon
entry pointsys_setfsgid
sinceLinux 3.3
man pagesetfsgid(2)
sourceelixir.bootlin.com

Registers

registervalue
rax123, the syscall number
rdigid_t gid
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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