aboutsummaryrefslogtreecommitdiff
path: root/sysklogd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Config.in: remove menus that apparently will not work on Windows (except ↵Nguyễn Thái Ngọc Duy2009-04-231-0/+1
| | | | maybe misc utils)
* usage.c: remove reference to busybox.hvda2007-05-264-4/+4
| | | | | | | | *: s/include "busybox.h"/include "libbb.h" git-svn-id: svn://busybox.net/trunk/busybox@18696 69ca8d6d-28ef-0310-b511-8ec308f3f277
* klogd: remove dependency on syslogdvda2007-05-021-2/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18542 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make pidfile writing configurable.vda2007-03-271-0/+2
| | | | | | | [ui]toa_to_buf: change API. No users yet. git-svn-id: svn://busybox.net/trunk/busybox@18254 69ca8d6d-28ef-0310-b511-8ec308f3f277
* move everything to new NOMMU helpers, except udhcpvda2007-03-262-12/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18242 69ca8d6d-28ef-0310-b511-8ec308f3f277
* NOMMU re-exec trick shuld not depend on existence of "don't daemonize"vda2007-03-242-2/+4
| | | | | | | | option for every affected applet (and dnsd, for example, don't have one). Thus rework re-exec support to not require it. Code got smaller too. git-svn-id: svn://busybox.net/trunk/busybox@18219 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: fix it for small BUFSIZ casevda2007-03-201-71/+67
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18185 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: reduce data/bss usage. Code size is practically the same.vda2007-03-151-126/+167
| | | | git-svn-id: svn://busybox.net/trunk/busybox@18122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* klogd: code de-obfuscation with small code size reductionvda2007-02-171-25/+20
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17916 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: MARK code is buggy. Disabling it altogether on anti-bloat groundsvda2007-02-141-0/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17891 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: fix "readpath bug" by using readlink insteadvda2007-02-111-17/+24
| | | | | | | libbb: rename xgetcwd and xreadlink git-svn-id: svn://busybox.net/trunk/busybox@17854 69ca8d6d-28ef-0310-b511-8ec308f3f277
* add x to IPv6 functions which can dievda2007-02-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17749 69ca8d6d-28ef-0310-b511-8ec308f3f277
* suppress warnings about easch <applet>_main() havingvda2007-02-034-0/+4
| | | | | | | no preceding prototype git-svn-id: svn://busybox.net/trunk/busybox@17740 69ca8d6d-28ef-0310-b511-8ec308f3f277
* preparatory patch for -Wwrite-strings #4vda2007-01-291-4/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17656 69ca8d6d-28ef-0310-b511-8ec308f3f277
* accumulated post-1.4.0 fixesvda2007-01-241-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17508 69ca8d6d-28ef-0310-b511-8ec308f3f277
* whitespace fixes (leading spaces to tab)vda2007-01-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17265 69ca8d6d-28ef-0310-b511-8ec308f3f277
* undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objectsvda2007-01-121-9/+7
| | | | | | | are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs. git-svn-id: svn://busybox.net/trunk/busybox@17260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* code shrinkage by Bernhard Fischer <rep.nop@aon.at>vda2007-01-101-49/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17234 69ca8d6d-28ef-0310-b511-8ec308f3f277
* a bit more IPv6-ization workvda2007-01-101-17/+8
| | | | | | | syslogd: converted to use it (in -R host:port) git-svn-id: svn://busybox.net/trunk/busybox@17229 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Yet another small size reduction by Bernhard Fischer <rep.nop@aon.at>vda2007-01-091-5/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17214 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small size reduction by Bernhard Fischer <rep.nop@aon.at>vda2007-01-091-3/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17213 69ca8d6d-28ef-0310-b511-8ec308f3f277
* small size reduction by Bernhard Fischer <rep.nop@aon.at>vda2007-01-091-7/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17212 69ca8d6d-28ef-0310-b511-8ec308f3f277
* compilation fix by Bernhard Fischer <rep.nop@aon.at>vda2007-01-091-1/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17211 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink by 26 bytes or soaldot2007-01-091-15/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17207 69ca8d6d-28ef-0310-b511-8ec308f3f277
* - shrink klogd a tiny bit.aldot2007-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 git-svn-id: svn://busybox.net/trunk/busybox@17205 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogs: a bit better wording in explanation how bufferingvda2007-01-061-10/+9
| | | | | | | is allocated git-svn-id: svn://busybox.net/trunk/busybox@17174 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: start using bb_common_bufsiz1 instead of stack/mallocvda2007-01-042-63/+54
| | | | | | | | logger: optimize, also use bb_common_bufsiz1 (~40 bytes) tested to eat arbitrarily-sized input at high speed - ok git-svn-id: svn://busybox.net/trunk/busybox@17159 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: stop doing open/fstat/lseek/close on _every_ writevda2007-01-041-52/+65
| | | | | | | | (still doing it if more than a second passed in between). Costs ~40 bytes. git-svn-id: svn://busybox.net/trunk/busybox@17157 69ca8d6d-28ef-0310-b511-8ec308f3f277
* new libbb func: xmalloc_realpath (+ use it where makes sense)vda2007-01-042-86/+86
| | | | | | | | syslogd, logread: add debugging code (disabled) syslogs: drastically smaller bss; fix "-C n" behaviour git-svn-id: svn://busybox.net/trunk/busybox@17156 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: almost rewritten. Had several obvious bugs...vda2007-01-041-327/+263
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17155 69ca8d6d-28ef-0310-b511-8ec308f3f277
* klogd: small optimizationsvda2007-01-041-24/+25
| | | | | | | (btw, I looked into syslogd... that's frightening!) git-svn-id: svn://busybox.net/trunk/busybox@17153 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove casts from xmalloc()vda2006-12-191-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@17011 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Provide our own isdigit macro. saves more than 400 bytes.vda2006-11-271-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16685 69ca8d6d-28ef-0310-b511-8ec308f3f277
* attempt to regularize atoi mess.vda2006-10-083-16/+10
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dnsd fix; option_mask32 added. dnsd needs more love.vda2006-10-061-20/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16316 69ca8d6d-28ef-0310-b511-8ec308f3f277
* build system overhaulvda2006-10-054-72/+29
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16307 69ca8d6d-28ef-0310-b511-8ec308f3f277
* getopt_ulflags -> getopt32.vda2006-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. git-svn-id: svn://busybox.net/trunk/busybox@16305 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: do not retry udp sends (can stall syslogd for extended periodsvda2006-09-301-41/+14
| | | | | | | of time), resolve remote logging host before daemonization git-svn-id: svn://busybox.net/trunk/busybox@16274 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: getopt_ulflags'ification (save ~50 bytes)vda2006-09-301-143/+156
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16273 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd: add option to suppress logging of messages lower than level N (-n N)vda2006-09-301-4/+16
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16272 69ca8d6d-28ef-0310-b511-8ec308f3f277
* logger: getopt_ulflags'isationvda2006-09-221-16/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16180 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Build fixes for gcc 4.0 with -Werror, from Tito.landley2006-09-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16098 69ca8d6d-28ef-0310-b511-8ec308f3f277
* using [xa]sprintf for string concatenation is neat and savesvda2006-09-091-1/+1
| | | | | | | | ~100 bytes according to bloatcheck. Also this fixes bug in rpm git-svn-id: svn://busybox.net/trunk/busybox@16081 69ca8d6d-28ef-0310-b511-8ec308f3f277
* few random readability enhansements. No code changesvda2006-09-081-6/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@16076 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add CONFIG_FEATURE_SYSLOG which controls whethervda2006-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. git-svn-id: svn://busybox.net/trunk/busybox@16063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Svn 16007 broke the build under gcc 4.0.3. This fixes up some of the damagelandley2006-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). git-svn-id: svn://busybox.net/trunk/busybox@16015 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
* - merge -r15463:15564 from busybox_scratch branch through these changesets:aldot2006-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 git-svn-id: svn://busybox.net/trunk/busybox@15852 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidatelandley2006-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.) git-svn-id: svn://busybox.net/trunk/busybox@15767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "formated" -> "formatted" throughout the code base.rpjday2006-07-201-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@15735 69ca8d6d-28ef-0310-b511-8ec308f3f277