License concerns when embedding script in busybox binary
Ron Yorston
rmy at pobox.com
Fri Nov 9 18:09:26 UTC 2018
Michael Conrad wrote:
>Maybe if
>busybox had an option to dump out the scripts it would help enforce the
>idea that the sources were being shipped. Wonder how many bytes that
>would require...
122, apparently.
$ make bloatcheck
function old new delta
run_applet_and_exit 728 801 +73
.rodata 168561 168610 +49
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 122/0) Total: 122 bytes
text data bss dec hex filename
892464 4199 1888 898551 db5f7 busybox_old
892586 4199 1888 898673 db671 busybox_unstripped
$ ./busybox --list nologin
#!/bin/sh
cat /etc/nologin.txt 2>/dev/null || echo "This account is not available"
sleep 5
exit 1
$
Ron
More information about the busybox
mailing list