busybox/util-linux
Jason A. Donenfeld 398bb3861a seedrng: further reduce size
- Remove all games with errno to further reduce code size.
- Combine error messages that don't benefit from being separated.
- Lock directory fd instead of separate file.

function                                             old     new   delta
static.longopts                                       38      26     -12
seed_from_file_if_exists                             426     413     -13
packed_usage                                       34519   34480     -39
.rodata                                           108484  108407     -77
seedrng_main                                        1088    1000     -88
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/5 up/down: 0/-229)           Total: -229 bytes
   text	   data	    bss	    dec	    hex	filename
 976208	   4227	   1816	 982251	  efceb	busybox_old
 975979	   4227	   1816	 982022	  efc06	busybox_unstripped

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2022-04-20 15:43:00 +02:00
..
2020-08-13 17:12:56 +02:00
2021-06-16 17:00:56 +02:00
2021-06-14 20:47:20 +02:00
2020-08-13 17:12:56 +02:00
2018-12-28 03:20:17 +01:00
2020-08-13 17:12:56 +02:00
2020-08-13 17:12:56 +02:00
2021-10-10 14:32:05 +02:00
2020-08-13 17:12:56 +02:00
2021-06-13 03:51:55 +02:00
2020-08-13 17:12:56 +02:00
2021-09-16 01:09:32 +02:00
2021-06-17 13:45:13 +02:00
2018-12-28 03:20:17 +01:00
2021-10-08 14:30:50 +02:00
2020-08-13 17:12:56 +02:00
2018-12-28 03:20:17 +01:00
2021-06-13 03:51:55 +02:00
2020-08-13 17:12:56 +02:00
2018-12-28 03:20:17 +01:00
2021-06-13 03:51:55 +02:00
2021-06-15 10:00:18 +02:00
2021-08-22 00:08:18 +02:00
2018-12-28 03:20:17 +01:00
2022-04-20 15:43:00 +02:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2018-12-28 03:20:17 +01:00
2020-08-13 17:12:56 +02:00
2020-12-18 04:12:51 +01:00
2018-12-28 03:20:17 +01:00