Twitter | Pretraživanje | |
whitequark
presenting unfork(2), the most cursed piece of code i ever wrote
unfork(2) is the inverse of fork(2). sort of. Contribute to whitequark/unfork development by creating an account on GitHub.
GitHub GitHub @github
Reply Retweet Označi sa "sviđa mi se" More
Tursiae 30. lis
Odgovor korisniku/ci @whitequark
This is terrifying, but amazing. I'm glad you chose to release this just before Halloween! Totally fitting. Is there enough that's dynamically linked that you could LD_PRELOAD your way around the compiler changes for already compiled binaries?
Reply Retweet Označi sa "sviđa mi se"
whitequark 30. lis
Odgovor korisniku/ci @tursiae_
I don't understand the question
Reply Retweet Označi sa "sviđa mi se"
Chartreuse 29. lis
Odgovor korisniku/ci @whitequark
Definitely cursed, but I do want to play with it. Once joined are the two processes now threads within the same process? Or are they still entirely separate processes with the same mappings into memory?
Reply Retweet Označi sa "sviđa mi se"
whitequark 29. lis
Odgovor korisniku/ci @ChartreuseK
former; i don't actually create any threads, it's more of a cooperative affair due to the way pthreads internals work. you could definitely start new threads; getting existing threads to run without using ptrace seems unrealistic
Reply Retweet Označi sa "sviđa mi se"
Buddy Casino 29. lis
Odgovor korisniku/ci @whitequark
> Dynamic binary analysis and instrumentation of applications with built-in integrity checks. Is that a euphemism for cheating in games?
Reply Retweet Označi sa "sviđa mi se"
whitequark 29. lis
Odgovor korisniku/ci @buddy_casino
you're not far off, but no, at no point I have considered using this for cheating and in fact I would strongly disapprove of anyone doing such
Reply Retweet Označi sa "sviđa mi se"
stderr.dk 29. lis
Odgovor korisniku/ci @whitequark
Shouldn't realloc() return new_block, not (old) block?
Reply Retweet Označi sa "sviđa mi se"
whitequark 29. lis
Odgovor korisniku/ci @stderrdk
fixed, thanks
Reply Retweet Označi sa "sviđa mi se"
Trent Lloyd 🦆 29. lis
Odgovor korisniku/ci @whitequark
If you haven’t looked at it before some of the magic for restoring file handles, sockets, etc were at least partly implemented for LXD process live migration “criu” and various other similar projects.
Reply Retweet Označi sa "sviđa mi se"
whitequark 29. lis
Odgovor korisniku/ci @lathiat
oh yeah, i've heard of it. i just have no personal interest in those
Reply Retweet Označi sa "sviđa mi se"