syscall.sh / parisc / setgid

setgid

set group identity

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

Registers

registervalue
r2046, the syscall number
r26gid_t gid
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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