Interested in FOSS, cyber security and ecofriendly technology.
Hacking on #alpinelinux in my free time.
| pronouns | he/him or anything else |
Interested in FOSS, cyber security and ecofriendly technology.
Hacking on #alpinelinux in my free time.
| pronouns | he/him or anything else |
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
Is there any way to pass an open file descriptor to another process that does not require an unix doman sockets or being a child process?
Edit: and not /proc due to not being portable.
Anyways, there is now an APKBUILD to build intellij-idea for alpine: https://codeberg.org/sertonix/rports/src/branch/main/random/intellij-idea/APKBUILD
Compiling it only involves 3 different OpenJDK forks 🙃
principles of software distillation:
Old software is usually small and new software is usually large. A distilled program can be old or new, but is always small, and is powerful by its choice of ideas, not its implementation size.
A distilled program has the conciseness of an initial version and the refinement of a final version.
A distilled program is a finished work, but remains hackable due to its small size, allowing it to serve as the starting point for new works.
Many people write programs, but few stick with a program long enough to distill it.