aboutsummaryrefslogtreecommitdiff
path: root/sysklogd (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Yet another small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-091-5/+2
|
* small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-091-3/+2
|
* small size reduction by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-091-7/+6
|
* compilation fix by Bernhard Fischer <rep.nop@aon.at>Denis Vlasenko2007-01-091-1/+4
|
* - shrink by 26 bytes or soBernhard Reutner-Fischer2007-01-091-15/+21
|
* - shrink klogd a tiny bit.Bernhard Reutner-Fischer2007-01-091-9/+12
| | | | | | | Compile tested only, would have sent it to the list for review but they don't show up in the ML archives :-/ text data bss dec hex filename 533 0 0 533 215 sysklogd/klogd.o.orig 530 0 0 530 212 sysklogd/klogd.o
* syslogs: a bit better wording in explanation how bufferingDenis Vlasenko2007-01-061-10/+9
| | | | is allocated
* syslogd: start using bb_common_bufsiz1 instead of stack/mallocDenis Vlasenko2007-01-042-63/+54
| | | | | logger: optimize, also use bb_common_bufsiz1 (~40 bytes) tested to eat arbitrarily-sized input at high speed - ok
* syslogd: stop doing open/fstat/lseek/close on _every_ writeDenis Vlasenko2007-01-041-52/+65
| | | | | (still doing it if more than a second passed in between). Costs ~40 bytes.
* new libbb func: xmalloc_realpath (+ use it where makes sense)Denis Vlasenko2007-01-042-86/+86
| | | | | syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour
* syslogd: almost rewritten. Had several obvious bugs...Denis Vlasenko2007-01-041-327/+263
|
* klogd: small optimizationsDenis Vlasenko2007-01-041-24/+25
| | | | (btw, I looked into syslogd... that's frightening!)
* remove casts from xmalloc()Denis Vlasenko2006-12-191-1/+1
|
* Provide our own isdigit macro. saves more than 400 bytes.Denis Vlasenko2006-11-271-1/+1
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-083-16/+10
|
* dnsd fix; option_mask32 added. dnsd needs more love.Denis Vlasenko2006-10-061-20/+19
|
* build system overhaulDenis Vlasenko2006-10-054-72/+29
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-033-5/+5
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* syslogd: do not retry udp sends (can stall syslogd for extended periodsDenis Vlasenko2006-09-301-41/+14
| | | | of time), resolve remote logging host before daemonization
* syslogd: getopt_ulflags'ification (save ~50 bytes)Denis Vlasenko2006-09-301-143/+156
|
* syslogd: add option to suppress logging of messages lower than level N (-n N)Denis Vlasenko2006-09-301-4/+16
|
* logger: getopt_ulflags'isationDenis Vlasenko2006-09-221-16/+7
|
* Build fixes for gcc 4.0 with -Werror, from Tito.Rob Landley2006-09-111-1/+1
|
* using [xa]sprintf for string concatenation is neat and savesDenis Vlasenko2006-09-091-1/+1
| | | | | ~100 bytes according to bloatcheck. Also this fixes bug in rpm
* few random readability enhansements. No code changesDenis Vlasenko2006-09-081-6/+7
|
* Add CONFIG_FEATURE_SYSLOG which controls whetherDenis Vlasenko2006-09-071-0/+2
| | | | | | | | 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.
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damageRob Landley2006-08-291-2/+2
| | | | | (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).
* More allbareconfig fixes.Rob Landley2006-08-281-1/+8
|
* - merge -r15463:15564 from busybox_scratch branch through these changesets:Bernhard Reutner-Fischer2006-08-201-62/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r15465 | aldot | 2006-06-21 20:48:06 +0200 (Wed, 21 Jun 2006) | 3 lines - use CONFIG_BUSYBOX_EXEC_PATH as before it one was broken by a recent revert. - use xchdir() since all is invain if it fails there anyways, supposedly ------------------------------------------------------------------------ r15466 | aldot | 2006-06-21 20:55:16 +0200 (Wed, 21 Jun 2006) | 2 lines - adjust docs to take CONFIG_BUSYBOX_EXEC_PATH into account. ------------------------------------------------------------------------ r15467 | aldot | 2006-06-21 21:31:24 +0200 (Wed, 21 Jun 2006) | 18 lines - partial fallout of my TREE_USED touchup against gcc-4.2: rip unused vars, save s 144 bytes text data bss dec hex filename 862434 10156 645924 1518514 172bb2 busybox.old 862322 10156 645892 1518370 172b22 busybox function old new delta z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 new_text 70 60 -10 ipaddr_list_link 33 23 -10 gzip_main 898 822 -76 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/3 up/down: 0/-120) Total: -120 bytes ------------------------------------------------------------------------ r15468 | aldot | 2006-06-21 21:43:05 +0200 (Wed, 21 Jun 2006) | 19 lines - remove useless global exports function old new delta rpm_main 940 1601 +661 rpm_getstring 107 112 +5 rpm_getint 148 153 +5 loop_through_files 103 106 +3 fileaction_dobackup 115 113 -2 fileaction_list 5 - -5 rpm_getcount 42 - -42 extract_cpio_gz 161 - -161 rpm_gettags 504 - -504 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 4/1 up/down: 674/-714) Total: -40 bytes text data bss dec hex filename 862322 10156 645892 1518370 172b22 busybox.old 862290 10156 645892 1518338 172b02 busybox ------------------------------------------------------------------------ r15555 | aldot | 2006-06-30 14:10:11 +0200 (Fri, 30 Jun 2006) | 22 lines - shrink syslog a little bit, move a big buffer (for 'line') off the bss, fold s emaphore stuff into single caller manually. stats: function old new delta logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 small 1 - -1 local_logging 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 syslogd_main 1299 1285 -14 static.res 36 16 -20 .rodata 186650 186586 -64 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/5 grow/shrink: 2/3 up/down: 48/-1136) Total: -1088 bytes cow@s37:~/src/busybox_scratch$ size sysklogd/syslogd.o{.orig,} text data bss dec hex filename 3723 348 5242 9313 2461 sysklogd/syslogd.o.orig 3697 348 4188 8233 2029 sysklogd/syslogd.o ============================================================================== Overall bloatcheck for the changeset mentioned above: function old new delta rpm_main 953 1608 +655 logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 rpm_getstring 107 110 +3 rpm_getint 148 151 +3 loop_through_files 103 104 +1 small 1 - -1 fileaction_dobackup 115 113 -2 z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 local_logging 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 fileaction_list 5 - -5 new_text 70 60 -10 ipaddr_list_link 33 23 -10 clear_bufs 31 21 -10 syslogd_main 1287 1273 -14 builtin_help 190 176 -14 static.res 36 16 -20 builtin_source 229 199 -30 rpm_getcount 42 - -42 gzip_main 842 786 -56 .rodata 227176 227112 -64 lash_main 609 527 -82 busy_loop 3883 3739 -144 extract_cpio_gz 155 - -155 rpm_gettags 501 - -501 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/15 grow/shrink: 6/12 up/down: 710/-2221) Total: -1511 bytes
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-032-27/+5
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* "formated" -> "formatted" throughout the code base."Robert P. J. Day"2006-07-201-1/+1
|
* - move #include busybox.h to the very top so we pull in the configBernhard Reutner-Fischer2006-06-023-19/+4
| | | | and eventual platform specific includes in early.
* - shrink logread a bit.Bernhard Reutner-Fischer2006-06-011-22/+6
| | | | | | text data bss dec hex filename 862 26 188 1076 434 logread.o.orig 825 26 188 1039 40f logread.o
* - shrink klogd a bitBernhard Reutner-Fischer2006-05-311-35/+37
| | | | | | text data bss dec hex filename 569 0 0 569 239 sysklogd/klogd.o.orig 537 0 0 537 219 sysklogd/klogd.o
* - s/defined(__uClinux__)/BB_NOMMU/Bernhard Reutner-Fischer2006-05-312-6/+6
| | | | | | | This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon().
* - remove emacs layout block as suggested by Robert P.J. DayBernhard Reutner-Fischer2006-05-192-16/+0
| | | | - use shorter boilerplate while at it
* pull Rules.mak from top_srcdir as pointed out by Robert P. J. Day on the ↵Mike Frysinger2006-05-131-1/+1
| | | | mailing list
* - commentary typo and superfluous whitespace removal in weird messages.Bernhard Reutner-Fischer2006-04-181-3/+3
|
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveRob Landley2006-04-131-5/+5
| | | | to do it in Config.in.
* - patch from Denis Vlasenko to add and use bb_xdaemon()Bernhard Reutner-Fischer2006-04-122-4/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useBernhard Reutner-Fischer2006-04-121-11/+2
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* - revert back to r14406Bernhard Reutner-Fischer2006-03-131-7/+13
|
* - backout using features which are not available with the previous stableBernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-064-4/+4
| | | | definitions. (That should only be on prototypes.)
* - use absolute path for top_builddir and top_srcdir.Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Bernhard Reutner-Fischer2006-03-011-12/+2
| | | | - use less resources for the buildsystem itself
* Don't build directory libraries unless we're building an applet that needs it.Rob Landley2006-02-211-0/+2
| | | | Cherry-picked from Devin Bayer's big MacOS X patch.
* moved BB_BANNER to applets/version.c file: make kernel like version, "Vladimir N. Oleynik"2006-02-162-2/+2
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* make the build system puuuuuuuuuuurtyMike Frysinger2006-02-021-3/+2
|
* just whitespaceTim Riker2006-01-252-2/+2
|