1aa1cfdb64
Adjusted the search function to find the symbol associated with an address when EIP address resolving is enabled.
Joey Schulze2007-06-18 07:50:55 +00:00
640b1ba8e0
Improved symbol lookup, since symbols are spread over the entire address space. Return the symbol that fits best instead of the first hit.
Joey Schulze2007-05-31 15:23:42 +00:00
017e328032
Only read kernel symbols from /proc/kallsyms if no System.map has been read
Joey Schulze2007-05-31 14:52:20 +00:00
b9e5b7b942
Properly accompany the MARK message with the facility
Joey Schulze2007-05-26 10:22:34 +00:00
beecd897e4
Only try to gather the local domain name when messages are received from the network, it's not needed otherwise.
Joey Schulze2007-05-26 08:05:05 +00:00
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).
Joey Schulze2007-05-26 07:11:45 +00:00
7b3a9199d0
Improved query_module calls and unified code against former version (1.12)
Joey Schulze2007-05-25 18:07:24 +00:00
d9a3b7ff55
Added missing defines and a prototype so that the code compiles. Removed old code that is neither supported nor working anymore
Joey Schulze2007-05-25 18:01:26 +00:00
a0304e96ac
Patch by Kelledin to use the newer query_module function rather than the old obsolete hack of stepping thru /dev/kmem.
Joey Schulze2007-05-25 17:47:16 +00:00
b9c89af7a0
Added missing dependency to ksyms.h for ksym_mod.c
Joey Schulze2007-05-24 17:48:44 +00:00
8568275926
Added missing dependency to module.h for ksym_mod.c
Joey Schulze2007-05-24 17:29:16 +00:00
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
Joey Schulze2007-05-24 14:04:22 +00:00
031b077eb8
Patch by Mike Frysinger: use socklen_t where appropriate
Joey Schulze2007-05-24 13:56:04 +00:00
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.
Joey Schulze2007-05-24 13:28:18 +00:00
62ec1253ee
Only play with the network when the syslog port can be determined. Ignore networking otherwise, but continue working. (Debian Bug#226611)
Joey Schulze2007-05-21 11:00:35 +00:00
f96fd5e6d5
Added a description of system log level and link to sysctl(8)
Joey Schulze2006-05-25 08:11:49 +00:00
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.
Joey Schulze2006-05-25 07:49:54 +00:00
5851fc026b
Removed asm/atomic.h since it is not needed anymore.
Joey Schulze2006-05-25 07:15:57 +00:00
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)
Joey Schulze2005-05-25 18:08:30 +00:00
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)
Joey Schulze2005-01-15 19:13:08 +00:00
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.
Joey Schulze2004-11-07 12:52:30 +00:00
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.
Joey Schulze2004-11-07 11:38:44 +00:00
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)
Joey Schulze2004-11-02 19:30:30 +00:00
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.
Joey Schulze2004-07-27 11:36:10 +00:00
a09b9865cc
Adjust the size of a variable to prevent a buffer overflow should _PATH_DEV ever contain something different than "/dev/".
Joey Schulze2004-05-04 14:52:56 +00:00
962c1cdd2e
Added a private module.h with extracted data from Linux 2.2 to replace <linux/module.h> which creates a number parse errors.
Joey Schulze2004-03-31 15:47:08 +00:00
a4f715ed8c
Updated the changelog file to reflect most recent changes
Joey Schulze2003-09-29 17:47:51 +00:00
ae499acae2
Moved the installation of the signal handler up a little bit so it guaranteed to be available when the child is forked, hence, fixing a race condition. This used to create problems with UML and fast machines. Thanks to Jon Burgess <Jon_Burgess@eur.3com.com>
Joey Schulze2003-09-28 10:26:22 +00:00
071356e5d6
Whoops, looks like O_TRUNC was missing when opening the file, increasing the chance of left-overs from older pid contents in the file.
Joey Schulze2003-09-28 02:38:18 +00:00
5c817e1d38
There's a problem with including kernel-space header files on the little endian MIPS architecture. According to Ryan Murray this should help and also work on all architectures.
Joey Schulze2003-09-27 22:05:39 +00:00
293bb81f22
Added information about large file support
Joey Schulze2003-09-04 13:22:23 +00:00
795245bfaa
Improved patch by Michael Pomraning <mjp@securepipe.com> to reconnect klogd to the logger after it went away, so messages won't get lost if the logger is already around by trying to reopen the socket in time.
Joey Schulze2003-08-27 15:56:01 +00:00
1ff125949b
Hopefully this version is easier to understand for non-english speakers.
Joey Schulze2003-05-22 19:31:20 +00:00
cebe53b7e3
Greg Whynott <greg@fqdn.com> informed us about an obsolete URL. I found the new location and exchanged it.
Joey Schulze2003-04-05 06:36:34 +00:00