aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
Commit message (Collapse)AuthorAgeFilesLines
* - commentary typo and superfluous whitespace removal in weird messages.Gravatar Bernhard Reutner-Fischer2006-04-181-3/+3
|
* Patch from Robert P Day: let menuconfig indent stuff for us, we don't haveGravatar Rob Landley2006-04-131-5/+5
| | | | to do it in Config.in.
* - patch from Denis Vlasenko to add and use bb_xdaemon()Gravatar Bernhard Reutner-Fischer2006-04-122-4/+2
|
* - patch from Denis Vlasenko to add and use bb_xsocket() and to useGravatar Bernhard Reutner-Fischer2006-04-121-11/+2
| | | | | bb_xopen some more while at it. Also use shorter boilerplate while at it.
* - revert back to r14406Gravatar Bernhard Reutner-Fischer2006-03-131-7/+13
|
* - backout using features which are not available with the previous stableGravatar Bernhard Reutner-Fischer2006-03-091-2/+6
| | | | version of make (3.71.1).
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionGravatar Rob Landley2006-03-064-4/+4
| | | | definitions. (That should only be on prototypes.)
* - use absolute path for top_builddir and top_srcdir.Gravatar Bernhard Reutner-Fischer2006-03-021-0/+4
| | | | Fixes make trying to include the very same file in an endless loop.
* - fixes parallel builds (make -j)Gravatar Bernhard Reutner-Fischer2006-03-011-12/+2
| | | | - use less resources for the buildsystem itself
* Don't build directory libraries unless we're building an applet that needs it.Gravatar Rob Landley2006-02-211-0/+2
| | | | Cherry-picked from Devin Bayer's big MacOS X patch.
* moved BB_BANNER to applets/version.c file: make kernel like version, Gravatar "Vladimir N. Oleynik"2006-02-162-2/+2
| | | | removed depend loop: busybox.h depend with BB_BT, and all sources depend with busybox.h
* make the build system puuuuuuuuuuurtyGravatar Mike Frysinger2006-02-021-3/+2
|
* just whitespaceGravatar Tim Riker2006-01-252-2/+2
|
* - add platform.h.Gravatar Bernhard Reutner-Fischer2006-01-222-31/+5
| | | | - use shorter boilerplate while at it.
* - shared libbusybox.Gravatar Bernhard Reutner-Fischer2006-01-151-0/+5
| | | | | - IMA compilation option (aka IPO, IPA,..) Please holler if i broke something..
* Flush output to log promptly (bug 389).Gravatar Rob Landley2005-12-121-0/+1
|
* 20 bytes data to bssGravatar "Vladimir N. Oleynik"2005-10-151-6/+4
|
* complex RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1Gravatar "Vladimir N. Oleynik"2005-10-151-5/+8
|
* - initialize the correct variablesGravatar Bernhard Reutner-Fischer2005-10-131-1/+1
|
* use the shorter license headerGravatar Mike Frysinger2005-09-241-14/+1
|
* use brief license lineGravatar Mike Frysinger2005-09-241-15/+2
|
* more remove lost exportedGravatar "Vladimir N. Oleynik"2005-09-221-3/+3
|
* - rename libbb's password helpers as suggested in libbb.hGravatar Bernhard Reutner-Fischer2005-09-201-1/+1
| | | | | | | | my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug
* Cleanup patch from tito: migrate option parsing to the bb_ functions and fixGravatar Rob Landley2005-09-141-25/+12
| | | | types.
* Kunihiko IMAI writes:Gravatar Eric Andersen2005-09-121-1/+1
| | | | | | | | | | | | | We're using busybox and thank the authors. I found a short buffer allocation at busybox/sysklod/syslod.c. It mis-declares length of filenames, seems to forget for '\0' or two column numbered suffix of backup files (ex. messages.10). Here is a patch for the problem. Thanks.
* use toplevel ARFLAGS and update default ARFLAGS to be quietGravatar Mike Frysinger2005-07-271-1/+1
|
* applying fix for:Gravatar Paul Fox2005-07-201-1/+1
| | | | | 0000143: sysklogd remote logging adds a space between facility and tag
* fix typoe (buildddir -> builddir)Gravatar Mike Frysinger2005-04-211-3/+2
|
* Removed the incorrect and confusing facility argument specified withGravatar Peter Kjellerstedt2005-04-061-3/+3
| | | | | openlog() as the correct facility will be specified with syslog() anyway.
* egor duda writes:Gravatar Eric Andersen2004-10-082-5/+11
| | | | | | | | | | | | | | | | | | | | | | | | Hi! I've created a patch to busybox' build system to allow building it in separate tree in a manner similar to kbuild from kernel version 2.6. That is, one runs command like 'make O=/build/some/where/for/specific/target/and/options' and everything is built in this exact directory, provided that it exists. I understand that applyingc such invasive changes during 'release candidates' stage of development is at best unwise. So, i'm currently asking for comments about this patch, starting from whether such thing is needed at all to whether it coded properly. 'make check' should work now, and one make creates Makefile in build directory, so one can run 'make' in build directory after that. One possible caveat is that if we build in some directory other than source one, the source directory should be 'distclean'ed first. egor
* Patch by Felipe Kellermann, fix a bug introduced in the last patch by adding ↵Gravatar Glenn L McGrath2004-09-141-15/+21
| | | | a condition around the remote logging, also adds some comments.
* Felipe Kellermann writes:Gravatar Eric Andersen2004-09-081-29/+26
| | | | | | | | | | | | | | | | | The Togg's sysklogd patch to use sendto() on remote logging is formatting strangely (using `<' and '>' surrounding the `msg' string message). This is OK, but this is not the standard way of formatting this message. So this patch does the following: o Fix the formatting to the standard way. o Uses `MAXLINE' when needed; o Don't loop sending messages without a "sleeping time", I'm now doing `now = 1', `now <<= 1'; o Don't die on `init_RemoteLog' when starting up (feature!) We're now trying to connect every time we have an invalid fd; o Removes one static uneeded variable. o Removes two automatic uneeded variables.
* Tito writes:Gravatar Eric Andersen2004-09-021-0/+2
| | | | | | | | | | The second patch contains: 1) a size optimization for adduser.c 2) removes a warning about an unused variable in syslogd.c if CONFIG_FEATURE_REMOTE_LOG is not set 3)cosmetic fixes for addgroup_full_usage and adduser_full_usage Ciao, Tito
* Togg writes:Gravatar Eric Andersen2004-08-261-28/+14
| | | | | | | | | | | | | | Syslogd wont start if remote-logging is enabled and the connection to the remote-log server is not possible on syslogd startup. I found a patch somewhere which works like a charm. It uses sendto() which seems more reliable for this issue. Please see attached patch. Many people will be more happy with this included I think. Regards, Togg
* Tito writes:Gravatar Eric Andersen2004-08-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Hi, I've spent the half night staring at the devilish my_getpwuid and my_getgrgid functions trying to find out a way to avoid actual and future potential buffer overflow problems without breaking existing code. Finally I've found a not intrusive way to do this that surely doesn't break existing code and fixes a couple of problems too. The attached patch: 1) changes the behaviour of my_getpwuid and my_getgrgid to avoid potetntial buffer overflows 2) fixes all occurences of this function calls in tar.c , id.c , ls.c, whoami.c, logger.c, libbb.h. 3) The behaviour of tar, ls and logger is unchanged. 4) The behavior of ps with somewhat longer usernames messing up output is fixed. 5) The only bigger change was the increasing of size of the buffers in id.c to avoid false negatives (unknown user: xxxxxx) with usernames longer than 8 chars. The value i used ( 32 chars ) was taken from the tar header ( see gname and uname). Maybe this buffers can be reduced a bit ( to 16 or whatever ), this is up to you. 6) The increase of size of the binary is not so dramatic: size busybox text data bss dec hex filename 239568 2300 36816 278684 4409c busybox size busybox_fixed text data bss dec hex filename 239616 2300 36816 278732 440cc busybox 7) The behaviour of whoami changed: actually it prints out an username cut down to the size of the buffer. This could be fixed by increasing the size of the buffer as in id.c or avoid the use of my_getpwuid and use getpwuid directly instead. Maybe this colud be also remain unchanged...... Please apply if you think it is ok to do so. The diff applies on today's cvs tarball (2004-08-25). Thanks in advance, Ciao, Tito
* Part of patch from William Barsse, fixes a problem with unescaped %.Gravatar Glenn L McGrath2004-08-061-1/+1
|
* Reverse my previous change, "::" is a GNU getopt extension that allowsGravatar Glenn L McGrath2004-07-221-1/+2
| | | | | an optional argument. Looks like a glibc bug to me
* Fix bug in accepting buffer size argumentGravatar Glenn L McGrath2004-07-211-1/+1
|
* Do not mess with the console logging level unlessGravatar Eric Andersen2004-06-251-5/+5
| | | | | asked to do so. -Erik
* Add missing 'S' to the getopt string.Gravatar Eric Andersen2004-06-221-1/+1
|
* Patch from Bastian Blank:Gravatar Eric Andersen2004-06-221-1/+13
| | | | | | | | | | | | | | | Hi folks The following patch adds a new log message output to syslogd. This output omits hostname and priority and is used in d-i to make the syslog output better readable without lossing information. Bastian I am applying this since I have syslogd hacked up in my wife's access point with the same format string.... Might as well make this hack official. -Erik
* Patch from Bastian Blank:Gravatar Eric Andersen2004-06-221-11/+8
| | | | | | | | | | | On Sat, Jun 19, 2004 at 10:57:37PM +0200, Bastian Blank wrote: > The following patch changes klogd to use openlog/syslog themself > instead of calling syslog_msg which always calls the triple > openlog/syslog/closelog. Updated patch: get rid of syslog_msg entirely. Request from Erik Andersen. Bastian
* Larry Doolittle writes:Gravatar Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Remove trailing whitespace. Update copyright to include 2004.Gravatar Eric Andersen2004-03-157-29/+29
|
* Fix from Paul Kortekaas for syslog -C option, size should be in kB.Gravatar Glenn L McGrath2004-02-221-1/+1
|
* Patch from Fillod Stephane:Gravatar Eric Andersen2003-12-193-8/+32
| | | | | | You will find in the attached file "syslog.patch" a patch which adds config options to set at compile time the size of the circular buffer, and some documentation update.
* Get vfork_daemon_rexec working under uclinuxGravatar Russ Dill2003-12-152-7/+9
|
* Andreas Mohr writes:Gravatar Eric Andersen2003-10-221-4/+4
| | | | | | | | | | | the busybox menuconfig triggered my "inacceptable number of spelling mistakes" upper level, so I decided to make a patch ;-) I also improved some wording to describe some things in a better way. Many thanks for an incredible piece of software! Andreas Mohr, random OSS developer
* Arnd Ben Otto writes:Gravatar Eric Andersen2003-10-092-1/+56
| | | | | | | | | | | | | | | | | | | Hi Eric I have written a small patch for the Busybox syslogd. With this patch one can limit the size of the messagfile. As soon as the limit is reached the syslogd can rotate or purge the messagefile(s) on his own. There is no necessity to use an external rotatescript. Even if logread does something similar, its very handy to have some messagefile after your box crash. I wrote this patch initial vor BB 0.6x where no cron daemon was avail. Now I adapted it for the new Version and i hope it is still useful. At least I still use it :-) bye Arnd
* Patch from Fillod Stephane Gravatar Glenn L McGrath2003-09-261-18/+68
| | | | | | | Add follow mode to logread, ala "tail -f /var/log/messages" Note: output to a slow serial terminal can have side effects on syslog because of the semaphore. In such case, define RC_LOGREAD.