Glenn L McGrath
907a240b1c
last_patch57 from Vladimir N. Oleynik
2002-11-10 21:33:28 +00:00
Eric Andersen
02e6ba91e8
Vodz' last_patch57:
...
Hi, Erik.
my_getpw(uid/gid) and applets used it have problem:
if username for uid not found, applets can`t detect it
(but code pessent). Also "%8ld " format is bad:
spaces not required (applets have self format
or spec format (tar applet) and overflow for "id" applet...)
This problem also pressent in stable version.
Patch for unstable in attach.
--w
vodz
2002-09-30 20:39:56 +00:00
Eric Andersen
06c35da6af
patch from John Hall <john.hall@optionexist.co.uk> to change the
...
klogd specific messages to facility LOG_SYSLOG and tidies up some
of the priorities.
2002-09-18 14:23:06 +00:00
Eric Andersen
39ad2833c0
hehe.
2002-09-17 20:35:58 +00:00
Eric Andersen
871d93c462
Vodz' last_patch57:
...
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-09-17 20:06:29 +00:00
Glenn L McGrath
9fef17dec3
Run through indent, fix comments
2002-08-22 18:41:20 +00:00
Manuel Novoa III
f8277ca992
Move #define MAXLINE so this compiles without circ buffers.
2002-08-06 20:12:56 +00:00
Eric Andersen
74b007f7cc
Oops. Code things so it actually works this time around...
...
-Erik
2002-08-05 11:56:25 +00:00
Eric Andersen
c59716ff4c
Joel Coltoff <joel@wmi.com> noticed that following a recent
...
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-08-05 11:14:30 +00:00
Robert Griebl
fc78b79575
Applied syslogd fix submitted by Bart Visscher:
...
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-07-19 20:52:21 +00:00
Eric Andersen
4e116823f4
Patch from Larry Doolittle to teach syslogd to not give up when errno is EINTR
2002-04-13 14:07:32 +00:00
Eric Andersen
85208e2ab9
Completely rework the config system so that it no longer annoys me to work on
...
the busybox development tree. This eliminates the use of recursive make, and
once again allows us to run 'make' in a subdirectory with the expected result.
And things are now much faster too. Greatly improved IMHO...
-Erik
2002-04-12 12:05:57 +00:00
Eric Andersen
b159146fa6
Add missing " " after the word on, as reported by Jason Luther
...
back in mid-december.
-Erik
2002-03-20 09:52:45 +00:00
Matt Kraai
1f0c43668a
Remove == TRUE' tests and convert
!= TRUE' and `== FALSE' tests to use !.
2001-12-20 23:13:26 +00:00
Matt Kraai
c8227639db
Change strdup calls to xstrdup (patch from Steve Merrifield).
2001-11-12 16:57:27 +00:00
Eric Andersen
72f9a4277f
Add in some (theoretical) uClinux support. Some init cleanups
2001-10-28 05:12:20 +00:00
Gennady Feldman
087bc82bb0
Fix up the configuration rules and update Libc5 piece for Syslogd. (copied code from logread.c)
2001-10-26 16:09:09 +00:00
Eric Andersen
bfebd35bea
Fix missing BB_VER defines
2001-10-24 16:51:39 +00:00
Eric Andersen
bdfd0d78bc
Major rework of the directory structure and the entire build system.
...
-Erik
2001-10-24 05:00:29 +00:00
Matt Kraai
b6ec78161d
Log all messages from a single connection, not just the first. Patch from
...
matthias@corelatus.com , approved by Gennady Feldman <gena01@cachier.com>.
2001-08-14 17:32:23 +00:00
Eric Andersen
8d79ce8320
Some patches to make dietlibc work...
2001-07-22 23:00:15 +00:00
Eric Andersen
20aab260e2
Some adjustments, mostly from David McCullough <davidm@lineo.com> to
...
make busybox be more uClinux friendly. I also adjusted Config.h for
uClinux so it will automagically disable apps the arn't going to
work without fork() and such.
-Erik
2001-07-19 22:28:02 +00:00
Matt Kraai
c1cda4a609
Add a RELEASE_BB_BUFFER macro and use it to fix a memory leak in syslogd.c
...
(noted by Adam Slattery).
2001-07-19 15:00:14 +00:00
Eric Andersen
044228d5ec
This is vodz' latest patch. Sorry it took so long...
...
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-17 01:12:36 +00:00
Matt Kraai
c308847274
Remove redundant initialization of lfile to reduce executable size by
...
8192 bytes (noted by Mike Castle).
2001-07-06 19:28:07 +00:00
Eric Andersen
22ecf049b6
Per patch from vodz, change a couple of consts to defines, since
...
apparently gcc 2.95.4, at least, is too stupid to realize that a
"static const int" is in fact a constant.
2001-07-02 17:32:40 +00:00
Glenn L McGrath
addabd6f16
Patch from Gennady Feldman
...
This should fix "circular buffer" error message shown when running "syslogd -C"
2001-06-26 01:41:59 +00:00
Matt Kraai
c55b8d41c1
Add xgethostbyname and herror_msg* functions.
2001-05-16 15:40:51 +00:00
Eric Andersen
238bc4090d
Per comment from Jim McQuillan <jam@mcquil.com>, don't log
...
syslogd startup/shutdown messages as KERN.EMERG, but use
SYSLOG.INFO instead.
2001-05-07 17:55:05 +00:00
Eric Andersen
87d893c04b
devfs does not support creation of regular files. So change the
...
test a bit so as to not possibly create a regular file.
-Erik
2001-05-03 07:01:41 +00:00
Matt Kraai
6ba1a80c26
Use date -u instead of date --utc and consolidate version string.
...
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
2001-04-12 20:11:55 +00:00
Eric Andersen
b6b519b416
Update how we detect if libc5 is in use.
...
-Erik
2001-04-09 23:52:18 +00:00
Eric Andersen
ea9065072c
Some cleanups/fixes for the syslogd circular buffer code
...
from Gennady Feldman.
2001-04-05 20:55:17 +00:00
Eric Andersen
e76c3b08e1
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few
...
shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can
handle them sanely and all at once.
-Erik
2001-04-05 03:14:39 +00:00
Eric Andersen
e5c24dfd01
Use daemon() to spawn syslogd and klogd daemons.
...
-Erik
2001-03-29 21:58:33 +00:00
Mark Whitley
bff6b18bf9
Applied patch from Gennady Feldman to fix a single-threaded syslogd bug that
...
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-27 20:17:58 +00:00
Eric Andersen
f6aa13d403
-Wshadow tr fix from Jeff Garzik
2001-03-23 17:08:21 +00:00
Eric Andersen
8ffaf8d139
-Wshadow logread fix from Jeff Garzik
2001-03-23 17:04:47 +00:00
Eric Andersen
1ca20a7747
A nice patch from Larry Doolittle that adds -Wshadow and
...
cleans up most of the now-revealed problems.
2001-03-21 07:34:27 +00:00
Mark Whitley
b0c2b7dfe3
dos2unix logread.c
2001-03-15 19:05:59 +00:00
Eric Andersen
a8035a51be
Move the warning msg after features.h gets pulled in.
...
-Erik
2001-03-15 18:20:23 +00:00
Mark Whitley
2892c35bdb
Applied patch from Giulio Orsero to fix some preprocessor bugs.
2001-03-14 17:18:52 +00:00
Eric Andersen
c319601db5
Some updates for libc5
2001-03-14 01:15:06 +00:00
Mark Whitley
6bff9cc487
Added some comment lines in the header indicating that Gennady Feldman is the
...
maintainer of these three applets.
2001-03-12 23:41:34 +00:00
Mark Whitley
6317c4baf7
Applied patch from Gennady Feldman to split up syslogd.c into syslogd and
...
klogd (as it should be).
2001-03-12 22:51:50 +00:00
Mark Whitley
1a49fc5e92
Applied patch from Gennady Feldman to use single-thread instead of forking.
2001-03-12 19:51:09 +00:00
Eric Andersen
cbe31dace5
It turns out that DODMALLOC was broken when I reorganized busybox.h
...
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-20 06:14:08 +00:00
Eric Andersen
67991cf824
This patch, put together by Manuel Novoa III, is a merge of work
...
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-02-14 21:23:06 +00:00
Matt Kraai
dd19c69904
Removed trailing \n from error_msg{,_and_die} messages.
2001-01-31 19:00:21 +00:00
Eric Andersen
8ec10a9483
Fix up copyright msgs. Bump version to 0.49 in preparation for
...
a release. Update the website with release details.
-Erik
2001-01-27 09:33:39 +00:00