aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
AgeCommit message (Collapse)Author
2002-09-17Vodz' last_patch57:Eric Andersen
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
2002-08-06Move #define MAXLINE so this compiles without circ buffers.Manuel Novoa III
2002-08-05Oops. Code things so it actually works this time around...Eric Andersen
-Erik
2002-08-05Joel Coltoff <joel@wmi.com> noticed that following a recentEric Andersen
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.
2002-07-19Applied syslogd fix submitted by Bart Visscher:Robert Griebl
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.
2002-04-13Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTREric Andersen
2002-03-20Add missing " " after the word on, as reported by Jason LutherEric Andersen
back in mid-december. -Erik
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-11-12Change strdup calls to xstrdup (patch from Steve Merrifield).Matt Kraai
2001-10-28Add in some (theoretical) uClinux support. Some init cleanupsEric Andersen
2001-10-26Fix up the configuration rules and update Libc5 piece for Syslogd. (copied ↵Gennady Feldman
code from logread.c)
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-08-14Log all messages from a single connection, not just the first. Patch fromMatt Kraai
matthias@corelatus.com, approved by Gennady Feldman <gena01@cachier.com>.
2001-07-19Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.cMatt Kraai
(noted by Adam Slattery).
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
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)
2001-07-06Remove redundant initialization of lfile to reduce executable size byMatt Kraai
8192 bytes (noted by Mike Castle).
2001-07-02Per patch from vodz, change a couple of consts to defines, sinceEric Andersen
apparently gcc 2.95.4, at least, is too stupid to realize that a "static const int" is in fact a constant.
2001-06-26Patch from Gennady FeldmanGlenn L McGrath
This should fix "circular buffer" error message shown when running "syslogd -C"
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-05-07Per comment from Jim McQuillan <jam@mcquil.com>, don't logEric Andersen
syslogd startup/shutdown messages as KERN.EMERG, but use SYSLOG.INFO instead.
2001-05-03devfs does not support creation of regular files. So change theEric Andersen
test a bit so as to not possibly create a regular file. -Erik
2001-04-12Use date -u instead of date --utc and consolidate version string.Matt Kraai
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
2001-04-05Some cleanups/fixes for the syslogd circular buffer codeEric Andersen
from Gennady Feldman.
2001-03-29Use daemon() to spawn syslogd and klogd daemons.Eric Andersen
-Erik
2001-03-27Applied patch from Gennady Feldman to fix a single-threaded syslogd bug thatMark Whitley
turned up. This code needs to be tested on an embedded system, since that's where the bug turned up in the first place.
2001-03-23-Wshadow tr fix from Jeff GarzikEric Andersen
2001-03-21A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen
cleans up most of the now-revealed problems.
2001-03-12Added some comment lines in the header indicating that Gennady Feldman is theMark Whitley
maintainer of these three applets.
2001-03-12Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley
klogd (as it should be).
2001-03-12Applied patch from Gennady Feldman to use single-thread instead of forking.Mark Whitley
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
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
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-27Fix up copyright msgs. Bump version to 0.49 in preparation forEric Andersen
a release. Update the website with release details. -Erik
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
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
2001-01-25Commit Larry Doolittle's buffers-on-stack/buffers-via-malloc patch.Eric Andersen
-Erik
2001-01-23#define -> static const int. Also got rid of some big static buffers.Mark Whitley
2000-12-18Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai
2000-12-11Keep unknown priorities from segfaulting.Matt Kraai
2000-12-11Fix a thinko -- when REMOTE_LOG support is compiled in,Eric Andersen
but the user has not specified remote logging, then be sure to log locally... duh.
2000-12-11Fix the option parsing to use getopt, which seems to fix bug #1050Eric Andersen
2000-12-11Patch from Larry Doolittle, fix up logging across multilple lines, hopefullyEric Andersen
fixing bug #1061.
2000-12-11Reverse logic so when network logging, it by default does not log locally.Eric Andersen
2000-12-08Make no local logging a runtime option for network logging...Eric Andersen
2000-12-08Patch from Gennady Feldman <gfeldman@mail.com> to make syslogd not logEric Andersen
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...
2000-12-07Changed names of functions in utility.c and all affected files, to makeMark Whitley
compliant with the style guide. Everybody rebuild your tags file!
2000-12-01Stop using TRUE and FALSE for exit status.Matt Kraai
2000-09-25Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen
-Erik
2000-09-13Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.Pavel Roskin
Also ignore SIGCHLD - it must have been meant.
2000-09-12Typo fix: resolv -> resolvePavel Roskin