summaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* hehe.Eric Andersen2002-09-171-1/+1
|
* Vodz' last_patch57:Eric Andersen2002-09-171-104/+93
| | | | | | | | | | | | Ok. Patch with reduce size ready. Notes: syslogd imposible close logsocket, the real programm write logmessages (hmm, cycle loop?) (Excuse me - this have small tab-formats rewroting also) text data bss dec hex filename 2913 332 12388 15633 3d11 syslogd.o 3109 332 9252 12693 3195 syslogd_old.o
* Move #define MAXLINE so this compiles without circ buffers.Manuel Novoa III2002-08-061-3/+2
|
* Oops. Code things so it actually works this time around...Eric Andersen2002-08-051-22/+15
| | | | -Erik
* Joel Coltoff <joel@wmi.com> noticed that following a recentEric Andersen2002-08-051-2/+2
| | | | | | | change in uClibc that changed opening the /dev/log socket as SOCK_STREAM to SOCK_DGRAM, busybox syslogd no longer worked since it needed a matching change. This fixes it so it works once again.
* Applied syslogd fix submitted by Bart Visscher:Robert Griebl2002-07-191-1/+3
| | | | | | I am using BB 0.60.2 in a floppy distro, and the syslog (and logger) is unable to log the "<" char. This shows up in ppp logfiles. [...] #logger "<pcomp>" results in "comp>" arriving at the log.
* Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTREric Andersen2002-04-131-1/+3
|
* Add missing " " after the word on, as reported by Jason LutherEric Andersen2002-03-201-1/+1
| | | | | back in mid-december. -Erik
* Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai2001-12-201-6/+6
|
* Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai2001-11-121-2/+2
|
* Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen2001-10-281-0/+4
|
* Fix up the configuration rules and update Libc5 piece for Syslogd. (copied ↵Gennady Feldman2001-10-261-0/+6
| | | | code from logread.c)
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-15/+15
| | | | -Erik
* Log all messages from a single connection, not just the first. Patch fromMatt Kraai2001-08-141-2/+4
| | | | matthias@corelatus.com, approved by Gennady Feldman <gena01@cachier.com>.
* Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.cMatt Kraai2001-07-191-0/+1
| | | | (noted by Adam Slattery).
* This is vodz' latest patch. Sorry it took so long...Eric 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)
* Remove redundant initialization of lfile to reduce executable size byMatt Kraai2001-07-061-1/+1
| | | | 8192 bytes (noted by Mike Castle).
* Per patch from vodz, change a couple of consts to defines, sinceEric Andersen2001-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.
* Patch from Gennady FeldmanGlenn L McGrath2001-06-261-2/+0
| | | | This should fix "circular buffer" error message shown when running "syslogd -C"
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-161-5/+1
|
* Per comment from Jim McQuillan <jam@mcquil.com>, don't logEric Andersen2001-05-071-2/+2
| | | | | syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead.
* devfs does not support creation of regular files. So change theEric Andersen2001-05-031-6/+3
| | | | | test a bit so as to not possibly create a regular file. -Erik
* Use date -u instead of date --utc and consolidate version string.Matt Kraai2001-04-121-1/+1
| | | | Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
* Some cleanups/fixes for the syslogd circular buffer codeEric Andersen2001-04-051-7/+9
| | | | from Gennady Feldman.
* Use daemon() to spawn syslogd and klogd daemons.Eric Andersen2001-03-291-18/+4
| | | | -Erik
* Applied patch from Gennady Feldman to fix a single-threaded syslogd bug thatMark Whitley2001-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.
* -Wshadow tr fix from Jeff GarzikEric Andersen2001-03-231-5/+5
|
* A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen2001-03-211-2/+0
| | | | cleans up most of the now-revealed problems.
* Added some comment lines in the header indicating that Gennady Feldman is theMark Whitley2001-03-121-0/+2
| | | | maintainer of these three applets.
* Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley2001-03-121-113/+205
| | | | klogd (as it should be).
* Applied patch from Gennady Feldman to use single-thread instead of forking.Mark Whitley2001-03-121-20/+12
|
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-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.
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-4/+4
|
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-271-1/+1
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-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
* Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen2001-01-251-2/+2
| | | | -Erik
* #define -> static const int. Also got rid of some big static buffers.Mark Whitley2001-01-231-2/+2
|
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-6/+6
|
* Keep unknown priorities from segfaulting.Matt Kraai2000-12-111-1/+1
|
* Fix a thinko -- when REMOTE_LOG support is compiled in,Eric Andersen2000-12-111-0/+6
| | | | | but the user has not specified remote logging, then be sure to log locally... duh.
* Fix the option parsing to use getopt, which seems to fix bug #1050Eric Andersen2000-12-111-31/+13
|
* Patch from Larry Doolittle, fix up logging across multilple lines, hopefullyEric Andersen2000-12-111-30/+25
| | | | fixing bug #1061.
* Reverse logic so when network logging, it by default does not log locally.Eric Andersen2000-12-111-3/+3
|
* Make no local logging a runtime option for network logging...Eric Andersen2000-12-081-26/+31
|
* Patch from Gennady Feldman <gfeldman@mail.com> to make syslogd not logEric Andersen2000-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...
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-10/+10
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-1/+1
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.Pavel Roskin2000-09-131-0/+3
| | | | Also ignore SIGCHLD - it must have been meant.