aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * dpkg: fix creation of .list files (were empty since b768aeb). Closes 5324Denys Vlasenko2012-06-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | While at it, fix filename order and free the list of names. function old new delta llist_rev - 21 +21 get_header_tar 1733 1741 +8 unpack_package 587 585 -2 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 1/1 up/down: 29/-2) Total: 27 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * mount: fix the wrongly stored fs creation timeDenys Vlasenko2012-06-211-6/+24
| | | | | | | | | | | | This bug made our ext2 images non-mountable by ext4 driver. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * adduser: install to /usr, not /, like all other similar toolsDenys Vlasenko2012-06-201-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Move several applets to different install dir:Denys Vlasenko2012-06-201-20/+20
| | | | | | | | | | | | | | | | | | | | | | | | Moved to [/usr]/sbin: addgroup, adduser, delgroup, deluser, arping, chat, ether-wake, fdformat, ifplugd, ip, ipaddr, iplink, iproute, iprule, iptunnel, killall5, readahead, rtcwake, tftpd, add-shell, remove-shell, powertop. Moved to /bin for /usr/bin: kbd_mode. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * volume_id/ext: use common bb_e2fs_defs.h for ext2/3/4 constants and structsDenys Vlasenko2012-06-121-5/+28
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * su: do not change to home dir unless -lPascal Bellard2012-06-121-0/+1
| | | | | | | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * platform.h: Android tweaks: ioprio defines, BB_ADDITIONAL_PATHTias Guns2012-06-101-0/+6
| | | | | | | | | | Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * unzip: ignore chmod errorsNatanael Copa2012-05-281-0/+1
| | | | | | | | | | | | | | | | This makes unzip to FAT filesystems not exit with error. This is similar to how the "normal" unzip works. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | mingw32: add manRon Yorston2012-06-261-0/+1
| |
* | Use win32_execable_file() in test, which and execable.cRon Yorston2012-05-091-0/+2
| |
* | mingw32: make access(2) check file format for executablesRon Yorston2012-05-091-0/+4
| |
* | mingw32: implement system(3) call using sh instead of cmd.exeRon Yorston2012-05-011-0/+3
| |
* | win32: remove dummy getdomainname functionRon Yorston2012-04-291-1/+0
| |
* | Merge branch 'busybox' into mergeRon Yorston2012-04-291-1/+0
|\|
| * sendmail: use host rather than NIS domain name for HELORon Yorston2012-04-281-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | According to RFC 5321 the argument to HELO "contains the fully-qualified domain name of the SMTP client" or its IP address if no FQDN is available. BusyBox sendmail uses the NIS domain name instead which, in many cases, is likely to be the default "(none)". [vda: yes, I checked my machine and its uts.domainname was indeed "(none)"] Using the host name is more likely to satisfy the intent of the RFC while allowing the otherwise unused safe_getdomainname function to be removed. Signed-off-by: Ron Yorston <rmy@tigress.co.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: add pw_shell to struct passwdRon Yorston2012-04-231-0/+1
| |
* | Merge commit '1_20_0' into mergeRon Yorston2012-04-231-0/+561
|\|
| * Drop include/bb_linux_ext2_fs.h, use existing e2fsprogs/e2fs_defs.hDenys Vlasenko2012-04-172-547/+561
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Create and use our own copy of linux/ext2_fs.hDenys Vlasenko2012-04-131-0/+547
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | win32: use uname/getdomainname in safe_gethostname.cRon Yorston2012-04-231-0/+1
| |
* | win32: implement ioctlRon Yorston2012-04-231-1/+1
| |
* | win32: add popen implementation that uses shellRon Yorston2012-04-231-0/+5
| |
* | strsep is in upstream BusyBox: no need for MINGW32 versionRon Yorston2012-04-182-4/+1
| |
* | Make fake fcntl(F_DUPFD) for WIN32Ron Yorston2012-04-031-0/+2
| |
* | ash: some fixes so busybox-w32 (almost) compiles on POSIXRon Yorston2012-04-031-1/+0
| |
* | Fix off_t define so MINGW32 doesn't require LFSRon Yorston2012-03-311-1/+3
| |
* | Update mingw.c from latest git/compatRon Yorston2012-03-301-6/+7
| |
* | Use gnulib poll, importing the version from gitRon Yorston2012-03-301-14/+0
| |
* | MinGW snprintf/vsnprintf work properlyRon Yorston2012-03-261-0/+12
| |
* | Simplify MINGW32 support in ls.cRon Yorston2012-03-261-0/+1
| |
* | Merge branch 'busybox' into mergeRon Yorston2012-03-236-65/+93
|\| | | | | | | | | Conflicts: Makefile.flags
| * tar,rpm2cpio: check that child decompressor did not error outDenys Vlasenko2012-03-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta check_errors_in_children - 57 +57 tar_main 833 848 +15 get_header_tar 1720 1733 +13 rpm2cpio_main 147 140 -7 handle_SIGCHLD 41 - -41 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/1 up/down: 85/-48) Total: 37 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * update seamless uncompression codeDenys Vlasenko2012-03-062-36/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change makes "tar tf hello_world.txz" work without adding special-casing for ".txz" extension. It also removes ever-growing magic checking code in rpm2cpio and get_header_tar - we reuse one which lives in setup_unzip_on_fd. function old new delta unpack_gz_stream 7 566 +559 check_signature16 - 70 +70 setup_unzip_on_fd 99 142 +43 handle_SIGCHLD - 41 +41 unpack_bz2_stream 342 376 +34 unzip_main 2352 2385 +33 bbunpack 503 533 +30 open_transformer 74 102 +28 unpack_Z_stream 1278 1304 +26 unpack_gunzip 101 123 +22 init_transformer_aux_data - 18 +18 unpack_xz_stream 2388 2402 +14 open_zipped 131 141 +10 rpm_main 1358 1363 +5 get_header_tar_lzma 52 57 +5 get_header_tar_bz2 52 57 +5 unpack_lzma_stream 2698 2702 +4 hash_find 234 233 -1 get_header_tar 1759 1733 -26 get_header_tar_gz 92 57 -35 unpack_uncompress 51 12 -39 rpm2cpio_main 201 147 -54 unpack_unxz 67 12 -55 unpack_bz2_stream_prime 55 - -55 get_header_tar_Z 86 - -86 unpack_gz_stream_with_info 539 - -539 ------------------------------------------------------------------------------ (add/remove: 3/3 grow/shrink: 14/6 up/down: 947/-890) Total: 57 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * preparatory cleanups for seamless uncompression improvementsDenys Vlasenko2012-03-061-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | unpack_gz_stream_with_info: fix buggy error check man: fix possible accesses past the end of a string move seamless uncompression helpers from read_printf.c to open_transformer.c function old new delta show_manpage 153 212 +59 unpack_gz_stream_with_info 520 539 +19 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * blkid: if parameters are given, do not scan /devDenys Vlasenko2012-03-031-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * tar: add support for PAX-encoded path=LONGFILENAMEDenys Vlasenko2012-02-231-4/+5
| | | | | | | | | | | | | | function old new delta get_header_tar 1478 1759 +281 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Make unix (local) sockets work without IPv6 enabledJonh Wendell2012-02-091-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The xsocket_type() function had an optional "family" argument that was enabled only if IPv6 is enabled. In the case of the function was called with a valid AF_UNIX argument, and IPv6 is disabled, this argument was silently ignored. This patch makes the "family" argument mandatory, while keeping the old behavior i.e., if AF_UNSPEC is passed, we try first IPv6 (if it's enabled) and fallback to IPv4. Also I changed all callers of xsocket_type() to reflect its new interface. Signed-off-by: Jonh Wendell <jonh.wendell@vexcorp.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * mdev: do not treat non-leading '#' chars as start of comment. Closes 4676Denys Vlasenko2012-01-111-2/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Move include <shadow.h> close to pwd.h and grp.h includesDenys Vlasenko2012-01-081-8/+8
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Move Adroid endgrent() and endpwent() NOPS to libbb.hDenys Vlasenko2012-01-082-7/+6
| | | | | | | | | | | | They should be after includes of pwd.h and grp.h Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * platform.h: define endgrent() and endpwent() as no-ops on AndroidDenys Vlasenko2012-01-063-2/+7
| | | | | | | | | | | | Surprisingly, bionic libc seems to lack these functions. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: remove is_directory's argument which is always NULLDenys Vlasenko2011-12-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta send_cgi_and_exit 892 890 -2 ln_main 447 445 -2 handle_incoming_and_exit 2784 2780 -4 is_directory 66 59 -7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 2/-19) Total: -15 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * udhcp: finish support of classless static routesMichael McTernan2011-12-161-0/+9
| | | | | | | | | | | | | | | | function old new delta udhcp_str2optset 415 532 +117 Signed-off-by: Michael McTernan <Michael.McTernan.2001@cs.bris.ac.uk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * suppress a "integer overflow in expression" waring on big endian. Closes 4405Denys Vlasenko2011-12-051-2/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nommu: fix cases where we mangle argv[0][0]Denys Vlasenko2011-11-221-0/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb.h: add check for bad off_t size detectionDenys Vlasenko2011-11-171-0/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb.h: tighten up macro codeDenys Vlasenko2011-11-161-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * bb_daemonize_or_rexec(): add flag to double-fork; use it in start-stop-daemonPeter Korsgaard2011-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Add a DAEMON_DOUBLE_FORK flag to make bb_daemonize double-fork so it isn't a session leader, and hence doesn't get a controlling tty on Linux if a tty is ever opened, similar to how libdaemon's daemon_fork or the big start-stop-daemon does it - And use it in start-stop-daemon. For details, see http://www.win.tue.nl/~aeb/linux/lk/lk-10.html#ss10.3 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'c0cae52662ccced9df19f19ec94238d1b1e3bd71' into mergeRon Yorston2012-03-234-48/+74
|\| | | | | | | | | | | Conflicts: Makefile.flags scripts/basic/fixdep.c
| * lineedit: add support for M-b, M-f, M-d, M-BackspaceDenys Vlasenko2011-11-031-17/+29
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta ctrl_left - 96 +96 ctrl_right - 76 +76 static.esccmds 81 93 +12 read_line_input 3876 3885 +9 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/0 up/down: 193/0) Total: 193 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>