I searched for [package:chromium rand_s] using code search and found this:
http://www.google.com/codesearch/p?hl=en#hfE6470xZHk/chrome/nacl/nacl_main.cc&q=package:chromium%20rand_s&sa=N&cd=2&ct=rc&l=98
// Cause advapi32 to load before the sandbox is turned on.
unsigned int dummy_rand;
rand_s(&dummy_rand);
// Turn the sanbox on.
[...]
Perhaps it is related.
> --
> Chromium Developers mailing list: chromi...@chromium.org
> View archives, change email options, or unsubscribe:
> http://groups.google.com/a/chromium.org/group/chromium-dev
>
I am not a sandbox expert but it seems plausible to me that rand_s may
need to do some one-time initialization that the renderer process is
doing but the worker is not.
I searched for [package:chromium rand_s] using code search and found this:
http://www.google.com/codesearch/p?hl=en#hfE6470xZHk/chrome/nacl/nacl_main.cc&q=package:chromium%20rand_s&sa=N&cd=2&ct=rc&l=98
[...]
// Cause advapi32 to load before the sandbox is turned on.
unsigned int dummy_rand;
rand_s(&dummy_rand);
// Turn the sanbox on.
Perhaps it is related.