aboutsummaryrefslogtreecommitdiff
path: root/sysklogd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTRandersen2002-04-131-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@4615 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Completely rework the config system so that it no longer annoys me to work onandersen2002-04-122-18/+44
| | | | | | | | | | the busybox development tree. This eliminates the use of recursive make, and once again allows us to run 'make' in a subdirectory with the expected result. And things are now much faster too. Greatly improved IMHO... -Erik git-svn-id: svn://busybox.net/trunk/busybox@4595 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add missing " " after the word on, as reported by Jason Lutherandersen2002-03-201-1/+1
| | | | | | | | back in mid-december. -Erik git-svn-id: svn://busybox.net/trunk/busybox@4433 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.kraai2001-12-202-7/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3925 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change strdup calls to xstrdup (patch from Steve Merrifield).kraai2001-11-121-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3666 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in some (theoretical) uClinux support. Some init cleanupsandersen2001-10-282-0/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3596 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up the configuration rules and update Libc5 piece for Syslogd. (copied ↵gfeldman2001-10-262-2/+13
| | | | | | code from logread.c) git-svn-id: svn://busybox.net/trunk/busybox@3589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix missing BB_VER definesandersen2001-10-241-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3571 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-246-21/+75
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Log all messages from a single connection, not just the first. Patch fromkraai2001-08-141-2/+4
| | | | | | | matthias@corelatus.com, approved by Gennady Feldman <gena01@cachier.com>. git-svn-id: svn://busybox.net/trunk/busybox@3284 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some patches to make dietlibc work...andersen2001-07-221-10/+11
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toandersen2001-07-191-11/+15
| | | | | | | | | | make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.ckraai2001-07-191-0/+1
| | | | | | | (noted by Adam Slattery). git-svn-id: svn://busybox.net/trunk/busybox@3125 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-171-2/+2
| | | | | | | | | | | | 1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove redundant initialization of lfile to reduce executable size bykraai2001-07-061-1/+1
| | | | | | | 8192 bytes (noted by Mike Castle). git-svn-id: svn://busybox.net/trunk/busybox@3020 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per patch from vodz, change a couple of consts to defines, sinceandersen2001-07-021-1/+3
| | | | | | | | apparently gcc 2.95.4, at least, is too stupid to realize that a "static const int" is in fact a constant. git-svn-id: svn://busybox.net/trunk/busybox@2969 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Gennady Feldmanbug12001-06-261-2/+0
| | | | | | | This should fix "circular buffer" error message shown when running "syslogd -C" git-svn-id: svn://busybox.net/trunk/busybox@2904 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add xgethostbyname and herror_msg* functions.kraai2001-05-161-5/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2654 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Per comment from Jim McQuillan <jam@mcquil.com>, don't logandersen2001-05-071-2/+2
| | | | | | | | syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead. git-svn-id: svn://busybox.net/trunk/busybox@2553 69ca8d6d-28ef-0310-b511-8ec308f3f277
* devfs does not support creation of regular files. So change theandersen2001-05-031-6/+3
| | | | | | | | test a bit so as to not possibly create a regular file. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2525 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use date -u instead of date --utc and consolidate version string.kraai2001-04-122-2/+2
| | | | | | | Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>. git-svn-id: svn://busybox.net/trunk/busybox@2337 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update how we detect if libc5 is in use.andersen2001-04-091-3/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2292 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some cleanups/fixes for the syslogd circular buffer codeandersen2001-04-051-7/+9
| | | | | | | from Gennady Feldman. git-svn-id: svn://busybox.net/trunk/busybox@2262 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewandersen2001-04-051-11/+5
| | | | | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik git-svn-id: svn://busybox.net/trunk/busybox@2250 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use daemon() to spawn syslogd and klogd daemons.andersen2001-03-292-35/+8
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2223 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Gennady Feldman to fix a single-threaded syslogd bug thatmarkw2001-03-271-8/+11
| | | | | | | | turned up. This code needs to be tested on an embedded system, since that's where the bug turned up in the first place. git-svn-id: svn://busybox.net/trunk/busybox@2202 69ca8d6d-28ef-0310-b511-8ec308f3f277
* -Wshadow tr fix from Jeff Garzikandersen2001-03-231-5/+5
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2191 69ca8d6d-28ef-0310-b511-8ec308f3f277
* -Wshadow logread fix from Jeff Garzikandersen2001-03-231-9/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2189 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A nice patch from Larry Doolittle that adds -Wshadow andandersen2001-03-211-2/+0
| | | | | | | cleans up most of the now-revealed problems. git-svn-id: svn://busybox.net/trunk/busybox@2177 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dos2unix logread.cmarkw2001-03-151-146/+146
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2093 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move the warning msg after features.h gets pulled in.andersen2001-03-151-8/+9
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@2091 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Giulio Orsero to fix some preprocessor bugs.markw2001-03-141-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2074 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some updates for libc5andersen2001-03-142-2/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2064 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added some comment lines in the header indicating that Gennady Feldman is themarkw2001-03-123-0/+6
| | | | | | | maintainer of these three applets. git-svn-id: svn://busybox.net/trunk/busybox@2051 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Gennady Feldman to split up syslogd.c into syslogd andmarkw2001-03-124-115/+514
| | | | | | | klogd (as it should be). git-svn-id: svn://busybox.net/trunk/busybox@2048 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied patch from Gennady Feldman to use single-thread instead of forking.markw2001-03-121-20/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@2045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* It turns out that DODMALLOC was broken when I reorganized busybox.handersen2001-02-202-2/+3
| | | | | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This patch, put together by Manuel Novoa III, is a merge of workandersen2001-02-142-2/+2
| | | | | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed. git-svn-id: svn://busybox.net/trunk/busybox@1805 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Removed trailing \n from error_msg{,_and_die} messages.kraai2001-01-312-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1732 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix up copyright msgs. Bump version to 0.49 in preparation forandersen2001-01-272-2/+2
| | | | | | | | a release. Update the website with release details. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1697 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix header file usage -- there were many unnecessary header files included inandersen2001-01-272-1/+5
| | | | | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1695 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.andersen2001-01-251-2/+2
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* #define -> static const int. Also got rid of some big static buffers.markw2001-01-231-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1642 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Logger forgot to NULL terminate strings from stdin.andersen2001-01-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1522 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Log stdin when no message given and use getopt.kraai2001-01-021-38/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1514 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change calls to error_msg.* and strerror to use perror_msg.*.kraai2000-12-181-6/+6
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1466 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from larry doolittle to make sure we don't reallocandersen2000-12-111-0/+1
| | | | | | | a pointer that was not yet malloced mem. git-svn-id: svn://busybox.net/trunk/busybox@1428 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Keep unknown priorities from segfaulting.kraai2000-12-111-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1427 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a thinko -- when REMOTE_LOG support is compiled in,andersen2000-12-111-0/+6
| | | | | | | | but the user has not specified remote logging, then be sure to log locally... duh. git-svn-id: svn://busybox.net/trunk/busybox@1424 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the option parsing to use getopt, which seems to fix bug #1050andersen2000-12-111-31/+13
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1420 69ca8d6d-28ef-0310-b511-8ec308f3f277