ubi tools: ubiupdatevol supports "-" input and actually respects -s SIZE
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Aug 2017 14:00:25 +0000 (16:00 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 7 Aug 2017 14:00:25 +0000 (16:00 +0200)
commit798b94518e61ced3f7be7766727705df4859878c
treeaf26ec7b4cb178933e6a76decb9561739933288d
parentb34eb4a591fa4dbbc091524a1c1159e2743134c8
ubi tools: ubiupdatevol supports "-" input and actually respects -s SIZE

Decided to not make any flash applets NOEXEC.
Minor robustifications here and there. Better error messages. Save on strings:

function                                             old     new   delta
ubi_tools_main                                      1235    1288     +53
ubi_get_volid_by_name                                125     133      +8
ubirename_main                                       198     204      +6
get_num_from_file                                     90      94      +4
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 4/0 up/down: 71/0)               Total: 71 bytes
   text    data     bss     dec     hex filename
 915696     485    6880  923061   e15b5 busybox_old
 915670     485    6880  923035   e159b busybox_unstripped

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
NOFORK_NOEXEC.lst
libbb/ubi.c
miscutils/flash_eraseall.c
miscutils/flash_lock_unlock.c
miscutils/flashcp.c
miscutils/ubi_tools.c
miscutils/ubirename.c