diff options
author | Jason A. Donenfeld | 2022-04-20 15:40:40 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer | 2022-04-20 15:43:04 +0200 |
commit | 57fea029cc3d6faf5a8b9ad4b17b543359fe7ccb (patch) | |
tree | 4d3817a718057834b622d509e5894ce3a5d85746 /docs/embedded-scripts.txt | |
parent | 3cb40f89de42aa694d44cb6e896b732fa062ee75 (diff) | |
download | busybox-57fea029cc3d6faf5a8b9ad4b17b543359fe7ccb.zip busybox-57fea029cc3d6faf5a8b9ad4b17b543359fe7ccb.tar.gz |
seedrng: compress format strings with %s arguments
- Avoid an xstrdup call with seed_dir.
- Compress format strings with %s arguments.
- Open /dev/urandom for add entropy ioctl rather than /dev/random, so that
/dev/random is only used for the already-sightly-flawed poll() check for
creditability.
function old new delta
seedrng_main 948 958 +10
seed_from_file_if_exists 410 417 +7
.rodata 108338 108206 -132
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/1 up/down: 17/-132) Total: -115 bytes
text data bss dec hex filename
975829 4227 1816 981872 efb70 busybox_old
975714 4227 1816 981757 efafd busybox_unstripped
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'docs/embedded-scripts.txt')
0 files changed, 0 insertions, 0 deletions