summaryrefslogtreecommitdiff
path: root/sysklogd (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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-122-2/+2
| | | | Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
* Update how we detect if libc5 is in use.Eric Andersen2001-04-091-3/+1
| | | | -Erik
* Some cleanups/fixes for the syslogd circular buffer codeEric Andersen2001-04-051-7/+9
| | | | from Gennady Feldman.
* A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a fewEric Andersen2001-04-051-11/+5
| | | | | | shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
* Use daemon() to spawn syslogd and klogd daemons.Eric Andersen2001-03-292-35/+8
| | | | -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
|
* -Wshadow logread fix from Jeff GarzikEric Andersen2001-03-231-9/+9
|
* A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen2001-03-211-2/+0
| | | | cleans up most of the now-revealed problems.
* dos2unix logread.cMark Whitley2001-03-151-146/+146
|
* Move the warning msg after features.h gets pulled in.Eric Andersen2001-03-151-8/+9
| | | | -Erik
* Applied patch from Giulio Orsero to fix some preprocessor bugs.Mark Whitley2001-03-141-2/+2
|
* Some updates for libc5Eric Andersen2001-03-142-2/+9
|
* Added some comment lines in the header indicating that Gennady Feldman is theMark Whitley2001-03-123-0/+6
| | | | maintainer of these three applets.
* Applied patch from Gennady Feldman to split up syslogd.c into syslogd andMark Whitley2001-03-124-115/+514
| | | | 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-202-2/+3
| | | | | | 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-142-2/+2
| | | | | | 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-312-6/+6
|
* Fix up copyright msgs. Bump version to 0.49 in preparation for0_49Eric Andersen2001-01-272-2/+2
| | | | | a release. Update the website with release details. -Erik
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-272-1/+5
| | | | | | | 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
|
* Logger forgot to NULL terminate strings from stdin.Eric Andersen2001-01-031-1/+1
|
* Log stdin when no message given and use getopt.Matt Kraai2001-01-021-38/+17
|
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-6/+6
|
* Patch from larry doolittle to make sure we don't reallocEric Andersen2000-12-111-0/+1
| | | | a pointer that was not yet malloced mem.
* 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
|
* Some little cleanups from Larry DoolittleEric Andersen2000-12-091-1/+1
|
* 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...
* Patch from Matt Kraai to make logger log all arguments.Eric Andersen2000-12-081-3/+12
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-072-13/+13
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Fix by Tim Robbins <fyre@box3n.gumbynet.org> to prevent bad formatMatt Kraai2000-12-071-1/+1
| | | | strings from being passed to syslog(3).
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-1/+1
|
* Remove the BSD advertising clause, and replace it with a link to howEric Andersen2000-11-141-0/+43
| | | | the advertising clause has been retroactivly declared null and void.
* Clean up error handling and uses of TRUE/FALSE.Matt Kraai2000-10-251-14/+8
|
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-252-2/+2
| | | | -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.
* Typo fix: resolv -> resolvePavel Roskin2000-09-121-1/+1
|