2016-06-29 9:05 GMT+02:00 Bernhard Reutner-Fischer <rep.dot....@gmail.com>: > On June 29, 2016 12:10:31 AM GMT+02:00, Etienne CHAMPETIER > <champetier.etie...@gmail.com> wrote: >>first user of this applet will be LEDE (OpenWrt) to save an urandom >>seed >>using getrandom() (so we are sure /dev/urandom pool is initialized) >> >>function old new >>delta >>getrandom_main - 162 >>+162 >>.rodata 156181 156208 >>+27 >>applet_names 2536 2546 >>+10 >>applet_main 2936 2944 >>+8 >>------------------------------------------------------------------------------ >>(add/remove: 2/0 grow/shrink: 3/0 up/down: 207/0) Total: >>207 bytes >> >>v2: reduce size by 40 bytes thanks to Tito <farmat...@tiscali.it> >> >>Signed-off-by: Etienne CHAMPETIER <champetier.etie...@gmail.com> > >>diff --git a/util-linux/getrandom.c b/util-linux/getrandom.c >>new file mode 100644 >>index 0000000..ac1fe63 >>--- /dev/null >>+++ b/util-linux/getrandom.c >>@@ -0,0 +1,43 @@ >>+/* vi: set sw=4 ts=4: */ >>+/* >>+ * getrandom.c - read random bytes using getrandom() syscall >>+ * >>+ * Copyright (C) 2016 Etienne Champetier >><champetier.etie...@gmail.com> >>+ * >>+ * Licensed under GPLv2, see file LICENSE in this source tree. > > > It would be great if you could make that "GPLv2+" resp. GPLv2 or later.
will resend today (this is a copy paste from pivot_root.c) > > TIA, > _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox