Never ever ever use `cp` to update in-use shared libraries. Doing so corrupts the file-backed mappings being used by the process.
-
-
Replying to @CarlosODonell
Rich Felker Retweeted Carlos O'Donell
@patofiero install(1) does too. This is why musl ships its own install.sh that's atomic. https://twitter.com/patofiero/status/720715831030767616 … http://git.musl-libc.org/cgit/musl/tree/tools/install.sh …Rich Felker added,
1 reply 0 retweets 1 like
@patofiero Of course if Linux would add MAP_COPY (COW snapshot of the file at mmap time), this would be a non-issue.
2:11 PM - 14 Apr 2016
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.