[llvm-commits] [llvm] r156240 - /llvm/trunk/lib/Support/Process.cpp
Dan Gohman
gohman at apple.com
Wed May 9 08:07:14 PDT 2012
On May 8, 2012, at 11:19 AM, Daniel Dunbar wrote:
> That said, why is using the OS API so much better than using a well
> seeded RNG? I'm not familiar with the Linux implementation.
My favorite reason is that tempfile handling is an especially
security-relevant topic, and using a standard API makes the code easier to
audit. "ok, mkstemp" is a nicer reviewer experience than "ok, yes you are a
special snowflake, now let's see if you got all the little details right".
Dan
More information about the llvm-commits
mailing list