@sertonix@social.treehouse.systems
Post #3311820
2026-06-06 22:44 UTC
Not quiet what I asked for but a way to bypass the limitations of sun_path may be sufficient for my case.
A mix of a symlink (for long dirname) and rename (for long basename) seems to work. To be portable (eg. not relying on unprivileged user namespaces) it requires a temp directory with a short name to be accessible.
proof of concept: https://paste.sr.ht/~sertonix/174ff4632315aeae300752c8b27e18ddc847e86e
Replies (2)
-
@sertonix@social.treehouse.systems 2026-06-06 22:46
@ska@social.treehouse.systems Is that too hacky for skalibs or will we see IPCPATH_MAX increase in the future?
-
@sertonix@social.treehouse.systems 2026-06-06 22:58
fchdir might prevent the usage of symlink and it's race conditions. But is not thread safe