aboutsummaryrefslogtreecommitdiff
path: root/sysklogd (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* - add platform.h.Bernhard Reutner-Fischer2006-01-222-31/+5
| | | | - use shorter boilerplate while at it.
* - shared libbusybox.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).Rob Landley2005-12-121-0/+1
|
* 20 bytes data to bss"Vladimir N. Oleynik"2005-10-151-6/+4
|
* complex RESERVE_CONFIG_BUFFER --> bb_common_bufsiz1"Vladimir N. Oleynik"2005-10-151-5/+8
|
* - initialize the correct variablesBernhard Reutner-Fischer2005-10-131-1/+1
|
* use the shorter license headerMike Frysinger2005-09-241-14/+1
|
* use brief license lineMike Frysinger2005-09-241-15/+2
|
* more remove lost exported"Vladimir N. Oleynik"2005-09-221-3/+3
|
* - rename libbb's password helpers as suggested in libbb.hBernhard 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 fixRob Landley2005-09-141-25/+12
| | | | types.
* Kunihiko IMAI writes: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 quietMike Frysinger2005-07-271-1/+1
|
* applying fix for:Paul Fox2005-07-201-1/+1
| | | | | 0000143: sysklogd remote logging adds a space between facility and tag
* fix typoe (buildddir -> builddir)Mike Frysinger2005-04-211-3/+2
|
* Removed the incorrect and confusing facility argument specified withPeter Kjellerstedt2005-04-061-3/+3
| | | | | openlog() as the correct facility will be specified with syslog() anyway.
* egor duda writes: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 ↵Glenn L McGrath2004-09-141-15/+21
| | | | a condition around the remote logging, also adds some comments.
* Felipe Kellermann writes: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: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: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: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 %.Glenn L McGrath2004-08-061-1/+1
|
* Reverse my previous change, "::" is a GNU getopt extension that allowsGlenn L McGrath2004-07-221-1/+2
| | | | | an optional argument. Looks like a glibc bug to me
* Fix bug in accepting buffer size argumentGlenn L McGrath2004-07-211-1/+1
|
* Do not mess with the console logging level unlessEric Andersen2004-06-251-5/+5
| | | | | asked to do so. -Erik
* Add missing 'S' to the getopt string.Eric Andersen2004-06-221-1/+1
|
* Patch from Bastian Blank: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: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: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.Eric Andersen2004-03-157-29/+29
|
* Fix from Paul Kortekaas for syslog -C option, size should be in kB.Glenn L McGrath2004-02-221-1/+1
|
* Patch from Fillod Stephane: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 uclinuxRuss Dill2003-12-152-7/+9
|
* Andreas Mohr writes: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: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 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.
* add size parameter to syslogd -CGlenn L McGrath2003-09-261-5/+10
| | | | Patch by Padraig, resubmitted by Fillod Stephane
* Vodz, last_patch_104Glenn L McGrath2003-09-101-4/+5
|
* Vodz, last patch 104Glenn L McGrath2003-08-291-5/+1
|
* Fixup bugs in last patchEric Andersen2003-07-281-1/+0
|
* last_patch95 from vodz:Eric Andersen2003-07-282-4/+5
| | | | | | | | | | | | | | | | | 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
* The logger utility does not really depend on CONFIG_SYSLOGD,Eric Andersen2003-07-261-5/+4
| | | | | since it can also be used with other syslog daemons -Erik
* eliminate DOSTATIC, DODEBUG, etc and name them sensiblyEric Andersen2003-07-221-1/+1
|
* Remove remaining libc5 support codeEric Andersen2003-07-223-21/+1
|
* Update a bunch of docs. Run a script to update my email addr.Eric Andersen2003-07-145-8/+5
|
* oopsEric Andersen2003-05-231-1/+2
|
* This patch from Vitezslav Batrla, is a cleaner fix for theEric Andersen2003-05-231-15/+5
| | | | problem with syslogd logging the '<' char.
* Apply patch from Georg Magschok to fix syslog behavior so that theEric Andersen2003-05-161-8/+18
| | | | | | | | '>' 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...
* Major coreutils update.Manuel Novoa III2003-03-194-26/+26
|