258 Commits

Author SHA1 Message Date
Joey Schulze
640b1ba8e0 Improved symbol lookup, since symbols are spread over the entire
address space.  Return the symbol that fits best instead of the first hit.
2007-05-31 15:23:42 +00:00
Joey Schulze
017e328032 Only read kernel symbols from /proc/kallsyms if no System.map has been read 2007-05-31 14:52:20 +00:00
Joey Schulze
ade259a045 Formatting & untypo 2007-05-30 18:46:09 +00:00
Joey Schulze
2d16b292d4 Correction to build tsyslogd again 2007-05-30 15:43:45 +00:00
Joey Schulze
bdcaeb12ea Build the new oops module with the kernel build system 2007-05-30 15:28:48 +00:00
Joey Schulze
2309b99118 Complete rewrite of the oops kernel module for Linux 2.6 2007-05-30 15:27:13 +00:00
Joey Schulze
e0186e8a9f File not needed anymroe 2007-05-30 15:26:09 +00:00
Joey Schulze
05daffb53e Use SKFLAGS instead of CFLAGS due to a conflict with the kernel build system 2007-05-30 15:24:27 +00:00
Joey Schulze
a62825213d Untypo 2007-05-30 10:26:51 +00:00
Joey Schulze
a9e818414a Notify the waiting parent process if the client dies to it doesn't
wait the entire five minutes.
2007-05-28 17:45:43 +00:00
Joey Schulze
f5fc069dc6 Improvements 2007-05-28 17:25:43 +00:00
Joey Schulze
73ee1f5d4f Spelling and other improvements, many of them from James R. Van Zandt 2007-05-28 17:24:21 +00:00
Joey Schulze
f6b24257f5 Patch by Andreas Barth: Prevent pipes from becoming the controlling tty 2007-05-28 17:02:06 +00:00
Joey Schulze
05e008b9cc Patch by Matthew Fischer: Remove special treatment of the percent sign 2007-05-28 16:08:32 +00:00
Joey Schulze
95b46a67d5 Added missing dependencies 2007-05-28 15:26:23 +00:00
Joey Schulze
7764938c41 Moved structs to module.h 2007-05-28 15:26:09 +00:00
Joey Schulze
bf5b096fdc Removed several structs not used anymore.
Moved structs from ksym_mod.c over here.
2007-05-28 15:24:57 +00:00
Joey Schulze
54d7bf79f3 Return of the symbols.
Linux 2.6 exports its symbols in /proc/kallsyms and does not implement
query_module() anymore.  Thus, the entire scanner has been overhauled.
2007-05-28 15:24:33 +00:00
Joey Schulze
997eb2b08b Added back /usr/src/linux/System.map as fall-back location 2007-05-28 06:28:37 +00:00
Joey Schulze
0e10989497 Updated address and copyright, shortened AUTHORS section 2007-05-27 12:16:17 +00:00
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