Commits
Click on a commit to change the comparison rangeuucore: fix getsid error handling
The previous implementation checked if Errno::last() was UnknownErrno
to determine success, but this is incorrect because errno is not
cleared on success. A previous syscall could have set errno to a value
like ENOENT, causing getsid to incorrectly report an error.
The correct pattern is to check if the result is -1, which is what
getsid returns on error per POSIX.