aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* getty, sulogin: convert to using bb_msg for syslog outputvda2006-09-0714-114/+96
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16065 69ca8d6d-28ef-0310-b511-8ec308f3f277
* fix if (ENABLE_FEATURE_SYSLOG & (...)) - should be &&vda2006-09-072-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16064 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add CONFIG_FEATURE_SYSLOG which controls whethervda2006-09-079-12/+26
| | | | | | | | | | | bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build. git-svn-id: svn://busybox.net/trunk/busybox@16063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* CONFIG_FEATURE_COMPRESS_USAGE was impossible to turn onvda2006-09-071-1/+1
| | | | | | | | if !CONFIG_NITPICK git-svn-id: svn://busybox.net/trunk/busybox@16062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* adding files missed in prev updates (forgot about svn add)vda2006-09-072-0/+53
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Denis Vlasenko has started to put stuff on his BusyBox home page, so index it.landley2006-09-061-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16060 69ca8d6d-28ef-0310-b511-8ec308f3f277
* removed a lot of trailing \n in bb_msg() calls. It is addedvda2006-09-0614-35/+35
| | | | | | | | automatically by function itself. git-svn-id: svn://busybox.net/trunk/busybox@16059 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implement optional syslog logging using ordinaryvda2006-09-0639-366/+296
| | | | | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually. git-svn-id: svn://busybox.net/trunk/busybox@16058 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - strip 399424 off the bss by making decompress_uncompress buffers config ↵aldot2006-09-061-12/+10
| | | | | | | | | | | | | | | | | | | | | | buffers. Compile tested (too lazy to look for a small .Z on the net). $ size busybox.old busybox text data bss dec hex filename 859555 10232 645732 1515519 171fff busybox.old 859683 10232 246308 1116223 11083f busybox $ make bloatcheck function old new delta uncompress 1036 1160 +124 inbuf 2116 4 -2112 outbuf 4100 4 -4096 htab 131072 - -131072 codetab 262144 - -262144 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 1/2 up/down: 124/-399424) Total: -399300 bytes git-svn-id: svn://busybox.net/trunk/busybox@16057 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - mdev and grep use xregcomp. Closes bug #1021aldot2006-09-061-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16056 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir Dronnikov (ybrnj80 at yandex dot ru) pointed out that my cleanup oflandley2006-09-051-3/+3
| | | | | | | his code introduced a bug (an extra backslash in the CIFS mount string). git-svn-id: svn://busybox.net/trunk/busybox@16055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* The bb_ prefixes were removed from xasprintf() and xopen() a month ago (inlandley2006-09-051-2/+2
| | | | | | | svn 15767). git-svn-id: svn://busybox.net/trunk/busybox@16054 69ca8d6d-28ef-0310-b511-8ec308f3f277
* run_shell.c: style fixvda2006-09-051-31/+25
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16053 69ca8d6d-28ef-0310-b511-8ec308f3f277
* xfunc: fix: && -> &. Also nuked two double semicolons...vda2006-09-052-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16052 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Might as well commit this to have the history. It's not linked in to thelandley2006-09-051-0/+73
| | | | | | | | | | | | applet list yet (and won't be until it can replace lash, I'm not having five shells in menuconfig at once), but you can build it with scripts/individual and mostly this is checked in so I can bloatcheck future versions against it easily.... This is about as small as a shell can get and still be a shell. git-svn-id: svn://busybox.net/trunk/busybox@16051 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Thinko.landley2006-09-041-3/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16048 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Natanael Copa to make start-stop-daemon just use readlink andlandley2006-09-041-8/+9
| | | | | | | strcmp to check if a program is already running. git-svn-id: svn://busybox.net/trunk/busybox@16047 69ca8d6d-28ef-0310-b511-8ec308f3f277
* sulogin: fix bug: -tNNN didn't workvda2006-09-031-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dpkg: fix buffer overflow (bug 983)vda2006-09-031-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16044 69ca8d6d-28ef-0310-b511-8ec308f3f277
* uuencode: common implementation for wget and uuencode (closing bug 694)vda2006-09-037-84/+105
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16043 69ca8d6d-28ef-0310-b511-8ec308f3f277
* archival: added O_TRUNC so that when we overwrite files on unpack,vda2006-09-035-13/+19
| | | | | | | | | we truncate them. Also spotted & fixed hard to trigger bug with extension handling. git-svn-id: svn://busybox.net/trunk/busybox@16042 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: revert older fix (non-portable), added new one.vda2006-09-034-7/+44
| | | | | | | | testsuite tar-extracts-all-subdirs now passes. git-svn-id: svn://busybox.net/trunk/busybox@16041 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: bb_error_msg had stray newlines; small optimization in opt parsingvda2006-09-031-4/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16040 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: minor fixesvda2006-09-031-20/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16039 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: fix stdout/err versus syslog output.vda2006-09-031-12/+27
| | | | | | | | Incomplete: xfunc() would not respect this. TODO. git-svn-id: svn://busybox.net/trunk/busybox@16038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: getopt -> bb_getopt_ulflagsvda2006-09-032-37/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: convert lots of zero-initialized localsvda2006-09-031-41/+43
| | | | | | | | in zcip_main() to statics in bss. git-svn-id: svn://busybox.net/trunk/busybox@16036 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: use xfunc() where appropriatevda2006-09-031-29/+23
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16035 69ca8d6d-28ef-0310-b511-8ec308f3f277
* replacing func() with xfunc() where appropriatevda2006-09-036-21/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16034 69ca8d6d-28ef-0310-b511-8ec308f3f277
* zcip: apply patch fromvda2006-09-031-92/+182
| | | | | | | | | http://bugs.busybox.net/view.php?id=1005 zcip does not claim another IP after defending git-svn-id: svn://busybox.net/trunk/busybox@16033 69ca8d6d-28ef-0310-b511-8ec308f3f277
* tar: tar xf foo.tar dir/dir did not extract all subdirs.vda2006-09-023-1/+16
| | | | | | | | Added testsuite entry for this git-svn-id: svn://busybox.net/trunk/busybox@16032 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping: bind -> xbindvda2006-09-021-2/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping(6): use htons instead of SWAP_BE.vda2006-09-022-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping: implement -I optionvda2006-09-023-12/+52
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* ping6: resolve interface name to number early.vda2006-09-022-8/+9
| | | | | | | | gcc is more efficient at truncating int to int16 via cast, use that instead of &. git-svn-id: svn://busybox.net/trunk/busybox@16028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Sync ping and ping6 a bit, fix style and indentation.vda2006-09-022-35/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix endianness issue in ping6vda2006-09-021-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16026 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - patch from Csaba Henk to make the "User-Agent" header field configurable.aldot2006-09-022-4/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16025 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Walter Harms contributed a section on scripting languages. (I trimmed itlandley2006-09-011-7/+36
| | | | | | | a bit.) git-svn-id: svn://busybox.net/trunk/busybox@16024 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vladimir Dronnikov also submitted a CIFS support patch to mount, which Ilandley2006-09-012-8/+55
| | | | | | | | heavily reworked here and probably broke. Tomorrow I need to set up a copy of samba to test against. (This compiles, I make no promises beyond that.) git-svn-id: svn://busybox.net/trunk/busybox@16023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bernhard Fischer complained about moving --sort-common.landley2006-08-301-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16018 69ca8d6d-28ef-0310-b511-8ec308f3f277
* There's some strange bug in glibc that triggers if you combine thelandley2006-08-291-2/+5
| | | | | | | | | | | | | | | | | | --gc-sections linker flag with static linking. If this happens, then the "stdout" variable (used by printf() and such) will only work if stdout is _not_ redirected. I.E "./busybox" prints stuff, but "./busybox | cat" does not produce any output. (But even when redirected, "write(1,"blah",4);" continues to work just fine.) This is clearly a glibc bug, but to avoid triggering it I've moved the --gc-sections flag so it only gets added when we're not statically linking. If somebody would like to go poke Ulrich Drepper, you can trivially reproduce this with a "hello world" program, ala: gcc -static -Wl,--gc-sections hello.c && (./a.out | cat) git-svn-id: svn://busybox.net/trunk/busybox@16017 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - set version back to 1.2.0 like it was before. Add at least -svn to the ↵aldot2006-08-291-2/+2
| | | | | | Extraversion to be able to distinguish it from the now old 1.2.0 release git-svn-id: svn://busybox.net/trunk/busybox@16016 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damagelandley2006-08-2914-124/+92
| | | | | | | | (the e2fsprogs directory is too twisty and evil to easily fix, but I plan to rewrite it anyway so I'll just bump that up in priority a bit). git-svn-id: svn://busybox.net/trunk/busybox@16015 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - it's a mistake to remove lib-specific prefixes from libraries; still the ↵aldot2006-08-282-2/+2
| | | | | | removal should be complete. git-svn-id: svn://busybox.net/trunk/busybox@16010 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - pull from busybox_scratch: r15829:15850aldot2006-08-2820-1283/+1162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes git-svn-id: svn://busybox.net/trunk/busybox@16009 69ca8d6d-28ef-0310-b511-8ec308f3f277
* need libsepol in addtion to libselinuxvapier2006-08-281-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16008 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - do maintainers duty by bumping version to 1.3.0-pre0;aldot2006-08-281-38/+39
| | | | | | | pullup r15828 from busybox_scratch git-svn-id: svn://busybox.net/trunk/busybox@16007 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bugfix from Jason Schoon: send the right signal with -s.landley2006-08-281-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16006 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More allbareconfig fixes.landley2006-08-281-1/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16005 69ca8d6d-28ef-0310-b511-8ec308f3f277