syscall.sh / sparc / setgid

setgid

set group identity

sys_setgid16(old_gid_t gid)
number46 (0x2e)
abi32
entry pointsys_setgid16
sinceLinux 5.0
man pagesetgid(2)
sourceelixir.bootlin.com

Registers

registervalue
g146, the syscall number
o0old_gid_t gid
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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