mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-03 12:57:27 +00:00
_fpathconf_nid_postfix only treated FIFOs and sockets as descriptors without a vnode, so a kqueue or shm_open descriptor fell through to the UFS constants (LINK_MAX 32767, NAME_MAX 255, PIPE_BUF 512). FreeBSD 11.4 kern_fpathconf (kern_descrip.c:1411-1429) answers _PC_ASYNC_IO for every descriptor and returns EOPNOTSUPP for a no-vnode descriptor that is not a pipe or socket. Return EOPNOTSUPP for kqueue and shared-memory descriptors. Co-Authored-By: Claude Opus 4.8 <[email protected]>