Remote
Interested in FOSS, cyber security and ecofriendly technology.
Hacking on #alpinelinux in my free time.
76
Followers
429
Following
6
Posts
Joined August 11, 2024
pronouns:
he/him or anything else
Posts
Replying to
@sertonix@social.treehouse.systems
fchdir might prevent the usage of symlink and it's race conditions. But is not thread safe
Open post
Replying to
@sertonix@social.treehouse.systems
@ska@social.treehouse.systems Is that too hacky for skalibs or will we see IPCPATH_MAX increase in the future?
0
1
0
0
Open post
Replying to
@sertonix@social.treehouse.systems
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
0
3
0
0
Open post
Collected a few tricks I tend to use when writing shell scripts but that I couldn't find anywhere else: https://codeberg.org/sertonix/alpine-scripts/src/branch/main/shell-notes
1
0
0
0
Open post
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.
1
4
1
0
Open post
Replying to
@iDGS@mas.to
1
0
0
1
Remote instance
social.treehouse.systems
Open on original server