Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
sweetjuly
1y ago
0 comments
Share
Note though that both of these solutions are racy and so should not be done if "someone symlinking really fast and swapping the binaries" is in your threat model. Linux proc/self is safe though, just not the result from readlink.
0 comments
default
newest
oldest
duped
1y ago
Well that's true, but also something that can't be addressed within a currently running process afaik.
j
/
k
navigate · click thread line to collapse