syscall.sh / x86 / getsid

getsid

get session ID

sys_getsid(pid_t pid)
number147 (0x93)
abii386
entry pointsys_getsid
sinceLinux 3.3
man pagegetsid(2)
sourceelixir.bootlin.com

Registers

registervalue
eax147, the syscall number
ebxpid_t pid
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/getsid