aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'busybox' into mergeRon Yorston2013-04-032-2/+3
|\| | | | | | | | | Conflicts: libbb/lineedit.c
| * libbb: introduce and use strftime_[YYYYMMDD]HHMMSS()Denys Vlasenko2013-03-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta strftime_fmt - 53 +53 strftime_YYYYMMDDHHMMSS - 12 +12 strftime_HHMMSS - 12 +12 human_time 44 43 -1 fmtstr_t 9 - -9 step_time 361 345 -16 watch_main 261 232 -29 ------------------------------------------------------------------------------ (add/remove: 3/1 grow/shrink: 0/3 up/down: 77/-55) Total: 22 bytes text data bss dec hex filename 919203 932 17692 937827 e4f63 busybox_old 919209 932 17692 937833 e4f69 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * man: install to /usr/bin, not /sbinDenys Vlasenko2013-03-271-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | df: limited implementation for WIN32Ron Yorston2013-04-031-1/+0
| |
* | Provide fake fchmod implementationRon Yorston2013-03-261-1/+1
| |
* | Merge branch 'busybox' into mergeRon Yorston2013-03-193-10/+16
|\|
| * platform: use KERNEL_VERSION to simplify uClibc version checkingMike Frysinger2013-03-121-9/+11
| | | | | | | | | | | | | | | | This makes reading the logic (as well as adding new code) a lot simpler, and fixes one or two cases that were broken due to incorrect sub-version tests. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * Fix move_to_unaligned16Denys Vlasenko2013-02-271-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move endofname() to libbbDenys Vlasenko2013-02-261-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rpm: use "create+rename" method of replacing existing filesDenys Vlasenko2013-02-201-0/+3
| | | | | | | | | | | | | | | | Users were reporting getting errors like "ls: error while loading shared libraries: libc.so.6: ELF load command past end of file" while rpm was unpacking glibc tarball. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-02-077-37/+48
|\|
| * sha3: code shrinkDenys Vlasenko2013-01-201-2/+2
| | | | | | | | | | | | | | function old new delta sha3_hash 155 101 -54 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixes. no code changesDenys Vlasenko2013-01-155-35/+35
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3sum: new appletLauri Kasanen2013-01-143-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta KeccakF - 496 +496 KeccakF_RoundConstants - 192 +192 sha3_hash - 171 +171 sha3_end - 40 +40 hash_file 274 299 +25 KeccakF_RotationConstants - 25 +25 KeccakF_PiLane - 25 +25 packed_usage 29213 29232 +19 sha3_begin - 18 +18 KeccakF_Mod5 - 10 +10 applet_names 2445 2453 +8 applet_main 1420 1424 +4 applet_nameofs 710 712 +2 ------------------------------------------------------------------------------ (add/remove: 8/0 grow/shrink: 9/7 up/down: 1049/-54) Total: ~995 bytes Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2012-10-101-1/+1
|\|
| * mark get_shell_name FAST_FUNCDenys Vlasenko2012-10-031-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | mingw.h: fixes for MinGW-w64Ron Yorston2012-09-191-12/+5
| |
* | Merge branch 'busybox' into mergeRon Yorston2012-09-076-56/+107
|\| | | | | | | | | | | Conflicts: include/libbb.h shell/ash.c
| * platform.h: disable ALIGNn macros for s390[x]Denys Vlasenko2012-08-061-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: declare strings with ALIGN1, as appropriateAurelien Jarno2012-07-241-18/+18
| | | | | | | | | | Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * *: declare strings with ALIGN1, as appropriateMichael Tokarev2012-07-241-2/+2
| | | | | | | | | | Signed-off-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * 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
| |