commit | e3a49a8661125f24aec8a1453e54b3b78005e21e | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Mon Jan 14 14:46:26 2013 -0800 |
committer | Nick Kralevich <nnk@google.com> | Wed Jan 16 10:09:52 2013 -0800 |
tree | a6a1be7dbdf1901db051fcfa1bd19f823e7a7f2b | |
parent | 14e1975e13c197180ed0481f305f83a362b16a24 [diff] |
stack protector: use AT_RANDOM Populate the stack canaries from the kernel supplied AT_RANDOM value, which doesn't involve any system calls. This is slightly faster (6 fewer syscalls) and avoids unnecessarily reading /dev/urandom, which depletes entropy. Bug: 7959813 Change-Id: If2b43100a2a9929666df3de56b6139fed969e0f1