aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
AgeCommit message (Collapse)Author
2003-07-28last_patch95 from vodz:Eric Andersen
Hi. Last patch have new libbb function vfork_rexec() for can use daemon() to uClinux system. This patched daemons: syslog, klogd, inetd, crond. This not tested! I havn`t this systems. Also. Previous patch for feature request MD5 crypt password for httpd don`t sended to this mailist on 07/15/03 (mailist have Pytom module problem?). The previous patch included, and have testing. --w vodz
2003-07-22eliminate DOSTATIC, DODEBUG, etc and name them sensiblyEric Andersen
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-05-23oopsEric Andersen
2003-05-23This patch from Vitezslav Batrla, is a cleaner fix for theEric Andersen
problem with syslogd logging the '<' char.
2003-05-16Apply patch from Georg Magschok to fix syslog behavior so that theEric Andersen
'>' charactor can be logged, per rfc3164. Also, a small patch from me to fix it so we use MAXLINE when allocating the buffer, which is consistant with use everywhere else. This is needed since uClibc defines BUFSIZE as 255, causing lines to be truncated at 255...
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-09Dont die if logging remotely fails, patch by Joshua JacksonGlenn L McGrath
2002-12-12Update email address for Gennady Feldman <gena01@gena01.com>Glenn L McGrath
2002-11-10run through indent and manually check resultGlenn L McGrath
2002-09-17hehe.Eric Andersen
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