Why did every single *NIX OS have to implement getting the peer pid for a Unix Socket in their own bespoke way? These ifdefs make me want to cry 😭
@akaster indeed, it hurds to look at this
@akaster (about to get bonked by @bugaevc for this joke)
@linus @bugaevc You GNU that reprisal was coming when you said it though
@akaster AK_OS_GNU_HURD returns ENOTSUP, but then tries anyway further down? Looks wrong.
@rburchell the second reference to Hurd has a `!` in front of it. So it's the "everything else" branch. Linux, Android, SerenityOS, ...
@akaster might I interest you in splitting the silly file like jakt does?
@akaster a bit disappointing that macOS and iOS use the same API 😔