Joey Schulze
a2f2486c15
Removed superflous newlines
2007-05-27 12:08:51 +00:00
Joey Schulze
c6675cb832
Moved the documentation of the console log level into its own section
2007-05-27 12:05:25 +00:00
Joey Schulze
2ee736c8cf
Don't fiddle with the console log level anymore
2007-05-27 12:05:01 +00:00
Joey Schulze
c678f47f8b
Use ssize_t and reduced code where appropriate
2007-05-26 18:44:42 +00:00
Joey Schulze
75b4840911
Improved daemonise routine to stabilise startup
2007-05-26 14:37:43 +00:00
Joey Schulze
244eb7aa6e
Log message
2007-05-26 10:45:55 +00:00
Joey Schulze
13bf88e488
Log message
2007-05-26 10:30:46 +00:00
Joey Schulze
b9e5b7b942
Properly accompany the MARK message with the facility
2007-05-26 10:22:34 +00:00
Joey Schulze
beecd897e4
Only try to gather the local domain name when messages are received
...
from the network, it's not needed otherwise.
2007-05-26 08:05:05 +00:00
Joey Schulze
3268f928dc
Removed test to detect control characters > 0x20 as this prevented
...
characters encoded in UTF-8 to be properly passed through. This
prevented a security-related patch by Solar Designer (1.29).
References:
Debian Bug#315605 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=315605 >
RedHat Bug#89292 <https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=89292 >
2007-05-26 07:11:45 +00:00
Joey Schulze
64b5a191e5
Reset the signal handler in the child
2007-05-25 18:47:21 +00:00
Joey Schulze
7b3a9199d0
Improved query_module calls and unified code against former version (1.12)
2007-05-25 18:07:24 +00:00
Joey Schulze
d9a3b7ff55
Added missing defines and a prototype so that the code compiles.
...
Removed old code that is neither supported nor working anymore
2007-05-25 18:01:26 +00:00
Joey Schulze
288188d159
Conversion to file coding style
2007-05-25 17:47:46 +00:00
Joey Schulze
a0304e96ac
Patch by Kelledin to use the newer query_module function rather than
...
the old obsolete hack of stepping thru /dev/kmem.
2007-05-25 17:47:16 +00:00
Joey Schulze
b9c89af7a0
Added missing dependency to ksyms.h for ksym_mod.c
2007-05-24 17:48:44 +00:00
Joey Schulze
8568275926
Added missing dependency to module.h for ksym_mod.c
2007-05-24 17:29:16 +00:00
Joey Schulze
d2bb6bd5ed
Added missing newline
2007-05-24 14:46:45 +00:00
Joey Schulze
f1c2aba323
Formatting
2007-05-24 14:07:10 +00:00
Joey Schulze
c5d4b37a6b
Remove SO_BSDCOMPAT since it was only support by Linux 2.0 and 2.2,
...
ignored in 2.4 and emitted a warning in 2.6
2007-05-24 14:04:22 +00:00
Joey Schulze
031b077eb8
Patch by Mike Frysinger: use socklen_t where appropriate
2007-05-24 13:56:04 +00:00
Joey Schulze
8ead571ba1
When writing log files ignore errors caused by filled up disks so that
...
the log continues to be written as soon as space becomes available again.
2007-05-24 13:28:18 +00:00
Joey Schulze
29fe6a66e0
Spelling fix
2007-05-21 16:27:39 +00:00
Joey Schulze
c226c50cee
Escape hyphens
2007-05-21 16:26:40 +00:00
Joey Schulze
62ec1253ee
Only play with the network when the syslog port can be determined.
...
Ignore networking otherwise, but continue working. (Debian Bug#226611)
2007-05-21 11:00:35 +00:00
Joey Schulze
05e52e218e
Spelling improvements
2007-05-20 18:21:15 +00:00
Joey Schulze
2375c34594
Phrasing improvements
2007-05-20 17:45:59 +00:00
Joey Schulze
715b7b0598
Phrasing correction
2007-05-20 17:41:01 +00:00
Joey Schulze
55ce3c64b5
Phrasing correction
2007-05-20 17:40:35 +00:00
Joey Schulze
e87bb7fdf8
Adjusted the date
2006-12-03 12:21:37 +00:00
Joey Schulze
6006a07c2f
Adjusted the date
2006-12-03 12:15:21 +00:00
Joey Schulze
16b9d8fb94
Explanation added by Eric Tucker
2006-11-30 07:59:45 +00:00
Joey Schulze
9612909f62
Corrected typo in syslog.conf(5)
2006-09-28 18:43:36 +00:00
Joey Schulze
2f3e9ca690
Properly use format strings
2006-09-18 09:56:13 +00:00
Joey Schulze
f96fd5e6d5
Added a description of system log level and link to sysctl(8)
2006-05-25 08:11:49 +00:00
Joey Schulze
ed788aeeff
Reset the 'restart' flag immediately after entering the restart code,
...
so that subsequent SIGHUPs are able to set it again and cause a new
restart. This fixes a race condition when somebody sends tons of HUP
signals.
2006-05-25 07:49:54 +00:00
Joey Schulze
5851fc026b
Removed asm/atomic.h since it is not needed anymore.
2006-05-25 07:15:57 +00:00
Joey Schulze
408be5b725
More LFS options as comments
2006-05-25 07:12:44 +00:00
Joey Schulze
facf7ff5bb
Applied adjusted patch by Miquel van Smoorenburg to fix spurious
...
hanging syslogd in connection with futex and NPTL introduced in recent
glibc versions and Linux 2.6 (details: http://bugs.debian.org/301511 )
2005-05-25 18:08:30 +00:00
Joey Schulze
c9deb8536c
Added the date
2005-03-11 16:12:09 +00:00
Joey Schulze
813ca0f416
Added a note to sysctl(8) for setting the console level
2005-03-11 16:11:26 +00:00
Joey Schulze
6504bca3ee
Updated changes file
2005-01-15 19:14:21 +00:00
Joey Schulze
affedf39aa
Applied patch by Dirk Mueller <mueller@kde.org> to prevent syslogd
...
from crashing when the log file can't grow anymore (e.g. with 2GB
without LargeFileSupport)
2005-01-15 19:13:08 +00:00
Joey Schulze
4d8248ba3e
Remove trailing newline from forwarded messages. This would be turned
...
into a whitespace by the receiving syslogd and doesn't seem to be
required anyway.
2004-11-07 12:52:30 +00:00
Joey Schulze
4c09ec0516
Discard any timestamp information found in received syslog messages.
...
This will affect local messages sent from a different timezone. Also
removed code due to the changed semantics. This was inspired by
Anders Henke from Schlund + Partner AG.
2004-11-07 11:38:44 +00:00
Joey Schulze
b2e84809dc
Colin Phipps <cph@cph.demon.co.uk>: Don't block on the network socket,
...
in case a packet gets lost between select and recv. (Debian Bug#275578)
2004-11-02 19:30:30 +00:00
Joey Schulze
bd22a26134
Removed atomic_t in the usecount field of the module struct for
...
compatibility reasons, since atomic_t is not defined in <asm/atomic.h>
on all architectures.
2004-07-27 11:36:10 +00:00
Joey Schulze
1836e84e94
Ulf Härnhammar <Ulf.Harnhammar.9485@student.uu.se>
...
Added boundary check for fscanf() in InitKsyms() and CheckMapVersion()
to prevent an unintended crash when reading an incorrect System.map.
Hello,
I have discovered a potential crash bug in sysklogd. The klogd daemon
doesn't handle really malformed System.map files very well. It has
two fscanf() calls with "%s"format strings that stores to char
sym[512] arrays. This causes a crash if the string field in the
file is longer than that.
Despite being a buffer overflow, this is not a security problem, as
only root can change the System.map file. Nevertheless, I think it
is worth fixing, as the Right Thing for a program should be not to
assume anything about its input and to handle various problems well.
2004-07-16 06:48:27 +00:00
Joey Schulze
3bd7b6cfb1
Documentation improvement
2004-07-09 17:33:32 +00:00
Joey Schulze
7740dfd410
Documentation improvements by Greg Trounson <gregt@maths.otago.ac.nz>
2004-07-09 17:22:29 +00:00