aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-201-6/+6
| | | | 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-281-0/+4
| | | | 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-261-0/+6
| | | | | | code from logread.c) git-svn-id: svn://busybox.net/trunk/busybox@3589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-241-15/+15
| | | | | | | -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
* 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-121-1/+1
| | | | | | | Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>. git-svn-id: svn://busybox.net/trunk/busybox@2337 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
* Use daemon() to spawn syslogd and klogd daemons.andersen2001-03-291-18/+4
| | | | | | | -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
* 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
* Added some comment lines in the header indicating that Gennady Feldman is themarkw2001-03-121-0/+2
| | | | | | | 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-121-113/+205
| | | | | | | 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-201-1/+1
| | | | | | | | | 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-141-1/+1
| | | | | | | | | 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-311-4/+4
| | | | 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-271-1/+1
| | | | | | | | 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-271-1/+3
| | | | | | | | | | 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
* 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
* 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
* Patch from Larry Doolittle, fix up logging across multilple lines, hopefullyandersen2000-12-111-30/+25
| | | | | | | fixing bug #1061. git-svn-id: svn://busybox.net/trunk/busybox@1419 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reverse logic so when network logging, it by default does not log locally.andersen2000-12-111-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1418 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make no local logging a runtime option for network logging...andersen2000-12-081-26/+31
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1403 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Gennady Feldman <gfeldman@mail.com> to make syslogd not logandersen2000-12-081-4/+4
| | | | | | | | when compiled for remote logging. Not the ideal way to fix it (it should really be a runtime switch), but good enough for now I guess... git-svn-id: svn://busybox.net/trunk/busybox@1402 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed names of functions in utility.c and all affected files, to makemarkw2000-12-071-10/+10
| | | | | | | compliant with the style guide. Everybody rebuild your tags file! git-svn-id: svn://busybox.net/trunk/busybox@1398 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop using TRUE and FALSE for exit status.kraai2000-12-011-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1360 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Renamed "internal.h" to the more sensible "busybox.h".andersen2000-09-251-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1119 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.proski2000-09-131-0/+3
| | | | | | | Also ignore SIGCHLD - it must have been meant. git-svn-id: svn://busybox.net/trunk/busybox@1042 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Typo fix: resolv -> resolveproski2000-09-121-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* syslogd was leaking processes that could forever busyloop. Fixed.andersen2000-08-201-1/+4
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@958 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some #include updates.andersen2000-08-101-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@946 69ca8d6d-28ef-0310-b511-8ec308f3f277
* * syslogd can now log messages to a remote host -- patch thanksandersen2000-07-201-1/+103
| | | | | | | | to Gyepi Sam <gyepi@praxis-sw.com> -Erik git-svn-id: svn://busybox.net/trunk/busybox@890 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extract usage information into a separate file.kraai2000-07-161-15/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@864 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Forgot to commit these cleanups it seems.andersen2000-07-111-1/+0
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@819 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove yet more kernel header dependancies.andersen2000-07-101-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@804 69ca8d6d-28ef-0310-b511-8ec308f3f277