Join Nostr
2026-06-19 19:36:37 UTC

wicked witch of the unix on Nostr: honestly unless i missed something, i really don't get the lack of PATH_MAX in hurd ...

honestly unless i missed something, i really don't get the lack of PATH_MAX in hurd

like, sure, the idea makes some sense, there's no inherent limit to a file path, any limit can be worked around by dirfds and relative paths, but the point of PATH_MAX is not a absolute limit, but a relative one!

a limit applied to syscalls because you really don't want to accept any arbitrary length in a input string and hang there parsing a 5 gigabyte string from a malicious program or smth

so either gnu hurd would have it's translation server hang on gigantic paths, or it has a PATH_MAX but pretends it doesn't