Denys Vlasenko | 259b3c047ae | sed: open input files sequentially to avoid EMFILE
Currently, sed pre-opens all files, which may cause EMFILE errors... | | |
Denys Vlasenko | 8bd810bd276 | hush: typo fixes in comments
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Daniel Borca | d9fc4d8f924 | platform: strchrnul is missing if __APPLE__
Signed-off-by: Daniel Borca <dborca@yahoo.com>
Signed-off-by: Denys Vlas... | | |
Denys Vlasenko | 195c436f84d | build system: use od -b instead of od -t x1
od -t is not available in non-CONFIG_DESKTOPed busybox od
Signed-off-by... | | |
Bogdan Purcareata | 760fc6debcb | init: halt on SIGPWR too
Most init processes implement a handler for SIGPWR that gracefully
stops all child processe... | | |
Denys Vlasenko | cffe28ef876 | libbb: add sketch of tentative 'better' passwd/group API
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4d8ad381abe | devfsd: remove static variable
function old new delta
static.msg ... | | |
Denys Vlasenko | 924a179cb7f | build system: do not generate MAX_APPLET_NAME_LEN (unused)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 26ad256bd0b | logread: don't call shmdt() before exit, kernel does it for us.
function ... | | |
Denys Vlasenko | 71f6c1aa433 | logread: flush output. closes 6710
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | bd0e221620e | awk: fix a bug in argc counting in recent change
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2635369a92d | rfkill: use new-style config/kbuild/applet
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0545e3b69ab | tar: prevent empty file to be treated as valid tarball
function old ... | | |
Denys Vlasenko | dd1d8ab5064 | fix a copy/paste error in last tar testcase name
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 1cbc642bed8 | tar: add a testcase for previous commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ebfa9b5aa1f | tar: fix exitcode check for MMU-spawned unpacking helpers
Testcase: tar xvzf EMPTY_FILE
function ... | | |
Denys Vlasenko | 8b59b2c13ed | libbb: move nuke_str() from passwd into libbb
function old new del... | | |
Denys Vlasenko | 6ef77291122 | comment tweak
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9c1c605b1a8 | sulogin: use common password-checking routine.
This needed some extensions correct_passwd() function,
which got rena... | | |
Denys Vlasenko | f6beef63c64 | archival/*: move "config:" snippets into .c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ac216873095 | archival/*: move "applet:" snippets into .c files, part 2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 36184a487d2 | archival/*: move "applet:" snippets into .c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 66620fa6269 | archival/*: move "kbuild:" snippets into .c files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 73225b6d6e1 | switch editors/* to embedded-in-source kbuild system
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Sven-Göran Bergh | f200f732f4d | awk: optionally support -e AWK_PROG
function old new delta
awk_mai... | | |
Denys Vlasenko | cd0936be361 | fstrim: use new-style config/kbuild/applet snippets; trim help text
function ... | | |
Jeremy Kerr | d3092c99ae9 | udhcp: add PXELINUX config file option (code 209) definition
This change adds a definition for DHCP option 209. RFC ... | | |
Denys Vlasenko | 087843a65b8 | fix "warning: ISO C90 forbids mixed declarations and code"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Michael Tokarev | afa63b2dcdc | fix bashisms in testsuite/
These places use ${var/search/replace}, $((n++) and
`type -p' constructs which are not-so... | | |
Bernhard Reutner-Fischer | 5e63776212f | fstrim: Needs to fire at the mp, not bd
It's a filesystem thing from this perspective.
+1b
Signed-off-by: Bernhard ... | | |
Bernhard Reutner-Fischer | b1489f97e06 | fstrim: Indicate failure on error
+14b
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | | |
Bernhard Reutner-Fischer | 140f4e35119 | fstrim: -17b
Also, use the name of the block device we found, not necessarily the one
we got from the user:
fstrim -... | | |
Malek Degachi | 1d39e33d46f | fstrim: New applet
fstrim applet is a port from util-linux.
"Trimming" your NAND/eMMC storage will restore the writ... | | |
Bernhard Reutner-Fischer | 80f8cdf04ad | ash: Set SHLVL in ASH_BASH_COMPAT
function old new delta
ash_main ... | | |
Bernhard Reutner-Fischer | 200c1c46f4a | ash: Use setvar2 some more
(add/remove: 0/0 grow/shrink: 10/15 up/down: 13/-27) Total: -14 bytes
Signed-of... | | |
Bernhard Reutner-Fischer | b541d1fcbd3 | swaponoff: shrink
function old new delta
.rodata ... | | |
Denys Vlasenko | 8d3efaf35eb | udhcpc: allow zero server-id. Closes 6614.
function old new delta
... | | |
Yuan-Hsiang Lee | b21bc80c765 | init: fix illegal memory access when max message length is reached
Signed-off-by: Yuan-Hsiang Lee <yhlee@ubnt.com>
S... | | |
Denys Vlasenko | 18b461925c6 | bootchartd: warn if .config looks wrong
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 17f4aca5563 | Makefile.custom: make "make release" delete .gitignore files too
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.c... | | |
Denys Vlasenko | c44539fcd32 | sed: fix "sed clusternewline" testcase
function old new delta
proc... | | |
Denys Vlasenko | a82e32d9ce1 | sed: document -E in help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 9d46a7a9a4d | sed: fix memory leak in 'r FILE' command
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
David A. Wheeler | af0cdeedc69 | sed: accept -E as a synonym for -r
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
Signed-off-by: Denys Vlas... | | |
Johannes Stezenbach | 2d576e2a220 | udhcpc: make DHCP packets to have at least 300 DHCP bytes
Commit b8b72f02 removed all padding from DHCP packets
to f... | | |
Thomas Petazzoni | af4f0e48ecc | libbb: use <poll.h> instead of <sys/poll.h>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Si... | | |
Bartosz Golaszewski | 28a209466f4 | bloat-o-meter: add usage info
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
Signed-off-by: Denys Vlasenk... | | |
Bartosz Golaszewski | 64938011f3b | tail compat: fix header printing for tail -f
Makes tail -f for multiple files display the header only if another (ie... | | |
Guilherme Maciel Ferreira | 840ef17f63c | wget: if FEATURE_CLEAN_UP, free(ptr_to_globals)
Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@... | | |
Denys Vlasenko | 5117eff6f93 | Fix some compiler warnings emitted by gcc-4.8.0
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | eba5faec67d | ether-wake: shorten help text, reduce packet buffer size
function old ... | | |
Lauri Kasanen | d074b416f8d | wget: add support for connect timeout
function old new delta
open_... | | |
Denys Vlasenko | 730e4d8b524 | init: better --help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 7985bc109e0 | awk: fix length(array)
function old new delta
evaluate ... | | |
Ryan Mallon | 1d30b3f1f66 | wall,crontab: use xopen_as_uid_gid()
This fixes a narrow security race in crontab.
function ... | | |
Ryan Mallon | 5906a5c26c3 | libbb: Add xsetegid(), xseteuid(), xopen_as_uid_gid() functions
Signed-off-by: Ryan Mallon <rmallon@gmail.com>
Signe... | | |
Denys Vlasenko | 932e233a491 | bunzip2: fix off-by-one check
stage3-armv7a_hardfp-20130209.tar.bz2, 149189948 bytes long,
md5sum b29ce23312e14eb15a... | | |
Denys Vlasenko | cd256e1c407 | wall: access FILE under real user's credentials
While at it, move applet/config/kbuild bits into wall.c.
(This way, ... | | |
Mike Frysinger | 3eab2b7675f | trylink: only prefix libs with -l
If our pkg-config queries pass back a flag like -pthread, the trylink
script will ... | | |
Denys Vlasenko | 054f3eb7848 | loadkmap: explain what happens with K_ALLOCATED key value
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | a6ed6a31484 | httpd: make sire pfd[TO_CGI].revents is cleared before poll()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | d7ea34ee710 | Documentation update
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 32ed30d96b5 | dumpkmap: code shrink
function old new delta
dumpkmap_main ... | | |
Denys Vlasenko | fbe250db76b | httpd: treat errors from stdin correctly.
Fron bug report:
If a CGI or proxied connection is rudely aborted (SIG_{K... | | |
Denys Vlasenko | b5352078a7e | touch: add conditional support for -h
Based on a patch by Andy <andy.padavan@gmail.com>
Signed-off-by: Denys Vlasen... | | |
Denys Vlasenko | a613aa1b4c2 | ar: better comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Peter Korsgaard | 2a053a2430e | ar: read_num(): fix reading fields using the entire width
ar fields are fixed length text strings (padded with space... | | |
Denys Vlasenko | dc572944850 | top: fix breakage introduced by previous commit
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | a407cf74cc4 | Make smart_ulltoa return pointer to end (allows for code shink in callers)
function ... | | |
John Spencer | d6ae4fb446d | man: find posix man pages
Add the 0p/1p/3p sections to the search.
Signed-off-by: John Spencer <maillist-busybox@ba... | | |
Jody Bruchon | deebdf59b5c | fdisk: fix GPT size math errors
Signed-off-by: Jody Bruchon <jody@jodybruchon.com>
Signed-off-by: Denys Vlasenko <vd... | | |
Denys Vlasenko | 1b9ac211664 | lineedit: use unicode_strwidth instead of unicode_strlen
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 0ff0b320a2d | dd: code shrink
function old new delta
dd_main ... | | |
Denys Vlasenko | 1b57fe108f0 | dd: code shrink
function old new delta
dd_main ... | | |
Denys Vlasenko | f3114a3bd0d | dd: code shrink
function old new delta
write_and_stats ... | | |
Denys Vlasenko | 90e9cfd2183 | dd: remove FIXME comment which is fixed now. No code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 4502bb1f21d | dd: code shrink
function old new delta
dd_main ... | | |
Denys Vlasenko | 5b9910f0a4a | dd: fail if swab is attempted on odd-sized block
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | e66a56de23f | lineedit: fix multi-line PS1 handling: calculate PS1 length from last \n
function ... | | |
Denys Vlasenko | 7a18043a968 | lineedit: improve Unicode handling (still buggy though)
function old ... | | |
Denys Vlasenko | 8395bd3f52f | dd: fix example in a comment. No code changes.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | b941316ae53 | dd: support conv=swab
function old new delta
dd_main ... | | |
Denys Vlasenko | 4b1896cd2cc | dd: do not reuse local variables for unrelated values.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ec2bef11a7e | iplink: comment out include <net/if_packet.h>
iplink.c includes net/if_packet.h, which (on GLIBC)
only defines struc... | | |
Paulius Zaleckas | 9f07af61562 | init: don't srop unterminated processes' entries during inittab reload
This feature was removed in 72c99af
It is us... | | |
Denys Vlasenko | d2e07bc16cb | init: don't use fixed size buffer for command
We store init actions forever. 256 bytes per action means that
a typic... | | |
SASAKI Suguru | 73fbe9dc86d | tar: fix tar -T to add entries in the exact order as the input list
This fixes tar to order files in tarball correct... | | |
Denys Vlasenko | fc364ba9e3e | fix build error with musl libc due to if_slip.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Nicolas Dichtel | 6761d7da83b | networking: fix potential overflow in ife_print6()
devname is used by fscanf to store a string specified by '%20s'.
... | | |
Denys Vlasenko | 9ae6d793074 | udhcpc: tweak help text more
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 456687fff1e | udhcpc: tweak help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Tito Ragusa | 8c7fcbd7521 | swapon: support "pri=NNN" in fstab
function old new delta
swap_on_... | | |
Denys Vlasenko | a5e6c6cd3b4 | setsid: code shrink, expanded comments
function old new delta
sets... | | |
Denys Vlasenko | 543efd7b4b4 | libbb: code shrink
function old new delta
xmalloc_ttyname ... | | |
Denys Vlasenko | aadb485bd01 | udhcpc: tweak help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Cédric Cabessa | adc30b4cf95 | syslogd: use _PATH_LOG when available
Signed-off-by: Cédric Cabessa <ccabessa@genymobile.com>
Signed-off-by: Denys V... | | |
Paul B. Henson | 985345d0029 | ubi_tools: fix typo in strcpy
Signed-off-by: Paul B. Henson <henson@acm.org>
Signed-off-by: Denys Vlasenko <vda.linu... | | |
Tito Ragusa | da331d779c1 | ifplugd: use a larger netlink buffer
function old new delta
check_... | | |
Denys Vlasenko | cc1c9ca6f81 | less: support "less 1<>TTY"
function old new delta
less_main ... | | |
Sven-Göran Bergh | 93696341672 | volume_id: add f2fs detection
function old new delta
volume_id_pro... | | |
Bernhard Reutner-Fischer | a060a1ad965 | awk: Fix handling of functions with empty body
ammend b79a0fef99627c457548e804fcd6e162b116cbe8 to properly
handle fu... | | |
Sven-Göran Bergh | e418b2e7bb8 | volume_id: nilfs config description.
Config description for nilfs added.
No code change.
Signed-off-by: Sven-Göran... | | |
Sven-Göran Bergh | 15d0a860e99 | volume_id: Adopt to new config style.
Config instructions for util-linux/volume_id are moved into the
source files a... | | |
Sven-Göran Bergh | 3b45801dc6e | volume_id: Adopt to new kbuild style.
Kbuild instructions for util-linux/volume_id are moved into the
source files a... | | |
Denys Vlasenko | 982e87f2fb4 | Whitespace fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | bfa6ed1bf43 | catv: code shrink
catv_main 250 227 -23
Signed-off-by: Denys Vla... | | |
Bartosz Golaszewski | 79c618c4119 | Refactor catv. Move visible() from stty to libbb.
Fixes the following TODO:
stty's visible() function and catv's ... | | |
Denys Vlasenko | d0bc708cb52 | unpackers: by users' request, print compression percentage if -v and DESKTOP
function ... | | |
Denys Vlasenko | 05965cbb758 | nc: remove unnecessary "errno = 0"
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2ead5316b48 | iplink: fix build error (IFLA_VLAN_PROTOCOL defined before include)
Signed-off-by: Denys Vlasenko <vda.linux@googlem... | | |
Denys Vlasenko | 26414261875 | logread: intercept all fatal signals, not just SIGINT
function old n... | | |
Denys Vlasenko | fd3ac96c0f7 | nc: remove some dead code
function old new delta
readwrite ... | | |
Denys Vlasenko | ffeeb7a96c7 | nc: exit when both stdin and network are closed.
function old new ... | | |
Denys Vlasenko | ca54b662e7a | nc: use symbolic SHUT_WR instead of literal 1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ad546ec6062 | Update docs/tcp.txt
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Bernhard Reutner-Fischer | 9078633feeb | buildsys: Add helper to list suid applets
Add a helper script that lists all applets that
- do or may require SUID p... | | |
Denys Vlasenko | 7801148a816 | Add notes about TCP programming quirks.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Bartosz Golaszewski | 688a7e3f045 | date: accept 'yyyy-mm-dd HH' and 'yyyy-mm-dd' date formats
function old ... | | |
Bartosz Golaszewski | c19be75d57f | networking: code shrink
function old new delta
in_ether ... | | |
Denys Vlasenko | b855460adcd | awk.tests: add test for recent large integer fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | b0e9b72915a | sed: fix matching of newlines by $
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 26cd90c7fd3 | unzip: survive lack of CDF on non-streaming zip files
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 1390a010b60 | awk: use "long long" as integer type, not "int"
Testcase:
awk "BEGIN{n=(2^31)-1; print n, int(n), n%1, ++n, int(n), ... | | |
Denys Vlasenko | 5e87e8aebb6 | unzip: increase PEEK_FROM_END from 16k to 64k
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Patrick McHardy | a7ecbed56bb | ip link: add VLAN support
function old new delta
do_add_or_delete ... | | |
Denys Vlasenko | 9b58fe9c0b7 | ip: code shrink
function old new delta
do_ipaddr ... | | |
Denys Vlasenko | 25ce3ee9f36 | typo fix in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | c72b43c2f07 | Commonalize typical [b,]k,m suffix struct
function old new delta
b... | | |
Bernhard Reutner-Fischer | 0dacb68e1a6 | chrt: remove warning for _POSIX_PRIORITY_SCHEDULING
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | | |
Denys Vlasenko | e95738f6357 | typo fix in comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | d87fcd48886 | tail: code shrink
function old new delta
tail_main ... | | |
Denys Vlasenko | 40ab27a225f | sed: remove now-redundant backslash-newline handling
4b0bb9e0fd9ec06e9e61b1a1527ace99ea9fe571 added this code in 200... | | |
Denys Vlasenko | e93d15613e8 | sed: document where we are more liberal then GNU
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | d8f6d8c6271 | Call setlocale("") , not "C", if we want to set the default one
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.... | | |
Denys Vlasenko | 2301d127a26 | unicode: check $LC_CTYPE too to detect Unicode mode
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Cristian Ionescu-Idbohrn | 4f9fc1e5f58 | foo*sum: Correct syntax error
coreutils/md5_sha1_sum.c:156:3: error: expected '}' before 'else'
Signed-off-by: Cris... | | |
Denys Vlasenko | 6651e426095 | tail: track file size only in -f mode
This eliminates extra fstat and lseek calls on every read
Signed-off-by: Deny... | | |
Denys Vlasenko | cd8eece88ed | foo*sum: report I/O errors, don't merely exit with 1.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 3e7ecb179b1 | unicode: check $LC_ALL to detect Unicode mode, not only $LANG
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | ea267d518ff | wget: do not abort if "_" is encountered in a HTTP header
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 1bf560e9c37 | cryptpw: do not segfault on EOF. Closes 6350
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Rich Felker | 16614e9babf | *: change execl sentinels from NULL to (char*)0
Signed-off-by: Rich Felker <dalias@aerifal.cx>
Signed-off-by: Denys ... | | |
Denys Vlasenko | e9b3fcc3e45 | ubi_tools: enhance -s option to allow size multiplier to match mtd-utils
Based on patch by Paul B. Henson <henson@ac... | | |
Denys Vlasenko | f798ba97171 | ubi_tools: add forgotten argv++
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 65bdf0b7379 | ubi_tools: extend supported volume size to 64 bits; shrink code
function ... | | |
Paul B. Henson | f86404f7737 | ubimkvol: add -m option to create volume of maximum size
Signed-off-by: Paul B. Henson <henson@acm.org>
Signed-off-b... | | |
Denys Vlasenko | e73f3c1d3d8 | Apply post-1.21.0 patches, bump version to 1.21.1
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 173aa78bcf6 | pstree: fix theoretically unsafe code
In practice, p->comm is never long enough to trigger the bug, but still.
Sign... | | |
Denys Vlasenko | 26a7e2ecbf7 | ping: code shrink
function old new delta
unpack_tail ... | | |
Denys Vlasenko | 59f46676a9c | Move create_icmp[6]_socket to its only user, and simplify it
function ol... | | |
Denys Vlasenko | 4928e9f7d0a | losetup: assorted fixes. Closes 6314
"losetup -d" was not complaining that LOOPDEV is missing.
"losetup -a" was list... | | |
Thomas De Schampheleire | 879f008a8f8 | lsof: correct check for symbolic link
Busybox lsof used the d_type field of a 'struct dirent' to verify whether the
... | | |
Denys Vlasenko | d66eb9042dc | nslookup: set default DNS server again. Hopefully helps with 675
Signed-off-by: Denys Vlasenko <vda.linux@googlemail... | | |
Denys Vlasenko | 1f5e81f8f83 | md5/sha512: a better fix for strict aliasing warnings
The locations *are* well-aligned for direct stores
on any arch... | | |
Mike Frysinger | f6205c6ab78 | md5/sha512: fix strict aliasing warnings
If the target can tolerate these issues, then gcc is smart enough
to genera... | | |
Mike Frysinger | fea25880212 | pstree: stop truncating thread names
This also fixes a minor buffer overflow when displaying threads as
add_proc() o... | | |
Denys Vlasenko | 5a7e3376b70 | ntpd: set offset to 0.0 in "usync" event
function old new delta
nt... | | |
Denys Vlasenko | 07c5987498b | ntpd: set G.last_script_run even if script isn't configured
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 5ffdd1d981d | ntpd: make "unsync" code actually work.
While at it: don't run "periodic" if interrupted by a signal.
Signed-off-by... | | |
Denys Vlasenko | d99ef636f6e | ntpd: drop delay outliers; run "unsync" handler if no replies for some time
function ... | | |
Jonathan Liu | b6dc13c2d37 | sulogin: allow system maintenance login if root password is empty
The current password checking is unable to disting... | | |
Denys Vlasenko | 9cb1e2f86b0 | sulogin: correct lying comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | f9584254511 | init: remove special-case code for machines with less tham 1 MB of RAM.
function ... | | |
Denys Vlasenko | ae0cf2a9d73 | stty: disable CIBAUD leak check - it is not necessary on Linux
function ... | | |
Denys Vlasenko | e9581b673cb | stty: code shrink
function old new delta
set_mode ... | | |
Denys Vlasenko | b443a3780d5 | udhcp: code shrink
function old new delta
attach_option ... | | |
Denys Vlasenko | c133fa66f37 | udhcpc: fix a problem with binary-encoded options #2
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 6db5f679a21 | find:: get rid of nested function (it's a gcc-ism)
function old new ... | | |
James Hogan | 5fc0585c01a | grep: fix grep -x to not set REG_NOSUB
When -F isn't specified (and !ENABLE_EXTRA_COMPAT), grep -x uses
regexec's re... | | |
Denys Vlasenko | aa94130f744 | volume_id_internal.h: drop unoptimized byteswap routines
function old ... | | |
Bartosz Golaszewski | 414db791d0d | grep: don't bail out on first mismatch if '-w' option is set
Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.co... | | |
Denys Vlasenko | e0a6ab698fb | Fix build failures caused by not compiling open_transformer.c (#2)
Signed-off-by: Denys Vlasenko <vda.linux@googlema... | | |
Denys Vlasenko | 6782f48ccb0 | find: support -HLP
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Nikolaus Voss | c3cf1e30a30 | mdev: use $DEVNAME in uevent sysfs file for device node name
516530c932bd17d87c9eb4347a490be051e495f4 uses $DEVNAME ... | | |
Denys Vlasenko | ff463a885d7 | hush: fix build failure if FEATURE_EDITING=y && !HUSH_INTERACTIVE
Signed-off-by: Denys Vlasenko <vda.linux@googlemai... | | |
Denys Vlasenko | abbc478f1c5 | Fix build failures caused by not compiling open_transformer.c
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | f76fd17d744 | telnet: code shrink
function old new delta
telnet_main ... | | |
Oliver Metz | 041baf27208 | volume_id: fix ntfs attribute search
len is declared as uint32_t but le16_to_cpu macro is used
Signed-off-by: Olive... | | |
Denys Vlasenko | 264f37363db | vi: make regexp search case-insensitive if ":set ignorecase" is active
Reported by Dan Moinescu <dan@moinescu.net>.
... | | |
Flemming Madsen | d96ffda62e9 | ash,hush: history builtin
function old new delta
show_history ... | | |
Denys Vlasenko | 3beab83e4f7 | hush: fix for "while false && true; do echo BUG; break; done". closes 6170
function ... | | |
Denys Vlasenko | d35cbad0efa | mdev: call index_in_strings on $ACTION only after we checked it for NULL
Signed-off-by: Denys Vlasenko <vda.linux@go... | | |
Denys Vlasenko | 2df1c64f388 | examples/mdev.conf.change_blockdev.sh: update
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | e306c113678 | examples: add mdev example for Android phone
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 2c0508b4fac | examples/inittab: fix a few incorrect statements about init
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> | | |
Denys Vlasenko | 8172d054db6 | lineedit: \W on "/bin" should show "bin", not "/bin"
function old ne... | | |
Denys Vlasenko | 1d14569a66c | lineedit: implement \T \t \A \@ prompts escapes, fix \W escape, drop \!
function ... | | |
Denys Vlasenko | 8f2cb7ab26b | libbb: introduce and use strftime_[YYYYMMDD]HHMMSS()
function old ne... | | |
Next → |