aboutsummaryrefslogtreecommitdiff
path: root/sysklogd/syslogd.c
AgeCommit message (Collapse)Author
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
2000-08-20syslogd was leaking processes that could forever busyloop. Fixed.Eric Andersen
-Erik
2000-08-10Some #include updates.Eric Andersen
-Erik
2000-07-20* syslogd can now log messages to a remote host -- patch thanksEric Andersen
to Gyepi Sam <gyepi@praxis-sw.com> -Erik
2000-07-16Extract usage information into a separate file.Matt Kraai
2000-07-11Forgot to commit these cleanups it seems.Eric Andersen
-Erik
2000-07-10Remove yet more kernel header dependancies.Eric Andersen
-Erik
2000-07-09More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcEric Andersen
(except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
2000-07-06Turned some stuff into features that really are features, not apps.Eric Andersen
-Erik
2000-06-19Make syslogd.c, init.c, and update.c compile error/warning free under both ↵Eric Andersen
libc5 and libc6. -Erik
2000-06-19Updated to compile and work with libc5.Eric Andersen
-Erik
2000-06-07Syslogd will not go to background if "-n" is given. Better helpPavel Roskin
and argument checking