News for hackers. Stuff that matters.
Re:“Shared libraries are not a good thing in general” by gautamdivgi on Saturday May 01, 2021 @10:43PM (#27011941)
One tradeoff is security. If you're patching vulnerabilities, then just a single .so needs to be patched. With static linking every binary needs to be investigated and patched.
Re:“Shared libraries are not a good thing in general” by nickez on Sunday May 02, 2021 @04:06AM (#27013238)
You can also argue that it is impossible to update dynamic libraries because they are used by multiple applications and you can't afford that any application breaks. So instead of being able to patch that one application where the security is needed, you now have to patch all of them.
Re:“Shared libraries are not a good thing in general” by gspr on Sunday May 02, 2021 @06:56AM (#27014037)
> You can also argue that it is impossible to update dynamic libraries because they are used by multiple applications and you can't afford that any application breaks.

That's where maintenance branches comes in. You fix only the security issue, and push out a new version.