Not only is it UB in multi-threaded parents. It also limits you to blacklist model for scrubbing sensitive data, vs whitelist with fork+exec
-
-
-
@RichFelker Used wisely, fork w/o exec is actually a way to contain sensitive data to a temporary sub-process. popa3d and pam_tcb do that. -
@solardiz Sure. Tweets are too short for subtlety. :-( But the more common usage is cloning a session from a parent full of sensitive data. -
@solardiz I don't mean you can't do smart things with fork, just that the typical uses are serious risks.
End of conversation
New conversation -
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.