. Removed kernel.patch since it is no longer required
. Changed SOCK_STREAM to SOCK_DGRAM in syslog.c
. klogd will only change the console log level if `-c' is supplied
. syslogd.c by Bill Nottingham <notting@redhat.com>
Um, if the directory is invalid, the bind() call in
create_unix_socket fails. Without the return -1, we return the
invalid fd that we just closed. When syslogd then starts
listening, select goes into a hard loop getting EBADF, IIRC.
. klogd.c by Troels Walsted Hansen <troels@thule.no>
I found a bug in the sysklogd package version 1.4. When it
encounters a zero byte in the kernel logging output, the text
parser enters a busy loop. I came upon it when the 3c59x driver
from kernel 2.4.0 started outputting two zero bytes for the product
code of my laptop's 3Com card. It could be argued that the kernel
should never output zero bytes in the logging info, but obviously
that will happen from time to time.
I fear this bug might be considered a security issue as well, if
the kernel can be coerced to output a zero byte somehow, all kernel
logging will stop.
Wolfgang Oertl <Wolfgang.Oertl@uibk.ac.at> had a similar bugfix
idea
. klogd.c by Thomas Roessler <roessler@does-not-exist.org>
Additionally, the patch prevents LogLine from being invoked with a
negative counter as an argument.
2001-03-12 01:05:52 +05:30
|
|
|
Version 1.4.1
|
|
|
|
|
|
|
|
. klogd will set the console log level only if `-c' is given on the
|
|
|
|
commandline, not overwriting local settings in `/etc/sysctl.conf'.
|
|
|
|
. Bugfix: klogd will use SOCK_DGRM as well, re-enables kernel logging
|
|
|
|
. Bugfix: Don't make syslogd fail with broken `-a'
|
|
|
|
. Bugfix: klogd will skip zero bytes and not enter a busy loop anymore
|
|
|
|
. Thomas Roessler <roessler@does-not-exist.org>
|
|
|
|
- Patch to prevent LogLine() from being invoked with a negative
|
|
|
|
counter as an argument.
|
|
|
|
|
1999-08-21 15:58:44 +05:30
|
|
|
Version 1.4
|
|
|
|
|
|
|
|
. Skip newline when reading in klog messages
|
2000-09-13 02:45:28 +05:30
|
|
|
. Use lseek64() instead of llseek() which is deprecated these days
|
2000-09-13 03:23:31 +05:30
|
|
|
. Close symbol file before returning with 0 when an error occurred
|
|
|
|
while reading it. This will enable systems to umount that
|
|
|
|
partition with no open file descriptor left over.
|
2000-09-18 00:19:39 +05:30
|
|
|
. Solar Designer <solar@false.com>
|
|
|
|
- printline() fixes
|
2000-09-18 13:04:11 +05:30
|
|
|
- priority decoding fix
|
2000-09-18 12:43:08 +05:30
|
|
|
. Daniel Jacobowitz <dan@debian.org>
|
|
|
|
- printchopped() fix
|
2000-09-13 02:45:28 +05:30
|
|
|
. Keith Owens <kaos@ocs.com.au>
|
|
|
|
- Fixed bug that caused klogd to die if there is no sym_array available.
|
|
|
|
- When symbols are expanded, print the line twice. Once with
|
|
|
|
addresses converted to symbols, once with the raw text. Allows
|
|
|
|
external programs such as ksymoops do their own processing on the
|
|
|
|
original data.
|
2000-09-18 19:11:33 +05:30
|
|
|
. Olaf Kirch <okir@caldera.de>
|
|
|
|
- Remove Unix Domain Sockets and switch to Datagram Unix Sockets
|
2000-09-18 01:14:52 +05:30
|
|
|
. Several bugfixes and improvements, please refer to the .c files
|