Add support for the getsid syscall