I really like the idea of static linking. Then I think about how I'd patch the next inevitable openssl bug. Then I don't like it as much.
This would lead to very slow security updates for the end users.
101–110 of 233 posts
I really like the idea of static linking. Then I think about how I'd patch the next inevitable openssl bug. Then I don't like it as much.
This would lead to very slow security updates for the end users.
If this is really effective in reducing executable size, it's supremely ironic, since the original point of dynamic linking was to reduce the overall size of groups of executables by sharing common function libraries.
I really like the idea of static linking. Then I think about how I'd patch the next inevitable openssl bug. Then I don't like it as much.
It's a complete fallacy that every program that needs crypto needs to link to crypto libraries. Look at how Plan 9 does it, where everything is statically linked, but it's other processes which do crypto. Replace only one binary, and the crypto is fixed for all binaries.
It is quite hard to take seriously any project that so much uses word "suck" to describe other projects, i.e., other people work, or their approaches.
Shocked that it takes a fringe project to be promoting static linking and cleaning up the filesystem. Would love to hear the linux grandfathers chime in...
Static linking is a virtue now? I don't understand the advantages.
I still don't understand why systemd sucks
Why is static linking supposed to REDUCE memory usage and binary size? Am I missing something really obvious? Eg, if five different binaries are statically linked against the same version of OpenSSL, won't it be in memory and on disk four times more than it would be on a dynamic system?
If you took the "one tool one purpose" thing to an extreme, you'd only have one binary with OpenSSL compiled in, right? Given some familiarity with the suckless ideology, it seems that it is the simplicity of static linking, not conservative use of disk space, which is its virtue. For, if anyone groks the tool chain perfectly but lacks disk space, I'd like to hear the secret.
So then any process that wanted to use crypto etc. would have to call this binary?
That just seems like a very inefficient way if implementing dymanic linking...
> Achieve better memory footprint than heavyweight distros using dynamic linking and all its problems If this is really effective in reducing executable size, it's supremely ironic, since the original point of dynamic linking was to reduce the overall size of groups of executables by sharing common function libraries.
Is there any work on ASLR for quasi-static binaries? So you have no external linking (good for distribution and unsurprising dependencies), but still relocate at runtime.
In stali, or in general? For stali there's a slightly confusing FAQ entry: http://sta.li/faq / "Aren’t statically linked executables less secure?" > it is simple to use position-independent code in static executables and (assuming a modern kernel that supports address randomization for executables) fully position-independent executables are easily created on all modern operating systems. [...] Thus we consider this a…
#suckmore