syscall.sh / sparc64 / setgid

setgid

set group identity

sys_setgid(gid_t gid)
number46 (0x2e)
abi64
entry pointsys_setgid
sinceLinux 5.0
man pagesetgid(2)
sourceelixir.bootlin.com

Registers

registervalue
g146, the syscall number
o0gid_t gid
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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