summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* fixed recent regression: did not compile on systems with atomic instructionsRainer Gerhards2010-04-291-1/+1
|
* adapted new atomic instruction emulation to v5 engineRainer Gerhards2010-04-278-34/+60
| | | | code did not compile after merge from v4
* Merge branch 'v4-devel' into masterRainer Gerhards2010-04-2716-221/+112
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/atomic.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h runtime/wtp.c runtime/wtp.h
| * bugfix: problems with atomic operations emulationRainer Gerhards2010-04-2715-226/+125
| | | | | | | | | | | | replaced atomic operation emulation with new code. The previous code seemed to have some issue and also limited concurrency severely. The whole atomic operation emulation has been rewritten.
* | Merge branch 'v5-stable' into masterRainer Gerhards2010-04-261-1/+1
|\ \ | | | | | | | | | | | | Conflicts: ChangeLog
| * | bugfix(minor): status variable was uninitializedRainer Gerhards2010-04-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | However, this would have caused harm only if NO parser modules at all were loaded, which would lead to a defunctional configuration at all. And, even more important, this is impossible as two parser modules are built-in and thus can not be "not loaded", so we always have a minimum of two.
| * | Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-04-012-9/+9
| |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tools/syslogd.c
| | * | temporary bugfix replaced by permanent one for...Rainer Gerhards2010-03-312-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | ...message-induced off-by-one error (potential segfault) (see 4.6.2) The analysis has been completed and a better fix been crafted and integrated.
* | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-232-3/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | minor fix: invalid duplicated include of config.hRainer Gerhards2010-04-231-2/+0
| | | |
| * | | fixed typo ... that caused compilation to fail on non-SolarisRainer Gerhards2010-04-221-1/+1
| | | |
* | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-233-14/+23
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h runtime/wtp.c
| * | | solved alignment errors on Solaris SparcRainer Gerhards2010-04-223-17/+21
| | | |
| * | | removed some complier warningsRainer Gerhards2010-04-212-4/+16
| | | |
* | | | cleanup of some compiler warningsRainer Gerhards2010-04-212-5/+17
| | | |
* | | | Merge branch 'v4-devel'Rainer Gerhards2010-04-192-1/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.h runtime/rsyslog.h runtime/stream.c
| * | | improved quality of imsolaris codeRainer Gerhards2010-04-192-1/+3
| | | | | | | | | | | | | | | | including refctoring for a more simple solution
| * | | changed flag value for v5-compatibilityRainer Gerhards2010-04-191-1/+1
| | | |
* | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-192-12/+18
|\| | | | | | | | | | | | | | | | | | | Conflicts: runtime/msg.h
| * | | changed imsolaris to use submitMsg() APIRainer Gerhards2010-04-192-12/+18
| | | | | | | | | | | | | | | | | | | | This includes a modification to the rsyslog engine so that messages without PRI inside the message can properly be handled.
* | | | some cleanupRainer Gerhards2010-04-191-1/+1
| | | |
* | | | Merge branch 'v4-devel' into masterRainer Gerhards2010-04-192-1/+14
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog Makefile.am configure.ac doc/manual.html runtime/debug.c runtime/rsyslog.h tests/Makefile.am tests/diag.sh tests/nettester.c tools/syslogd.c
| * | | first version of imsolaris created, cleanup for solaris doneRainer Gerhards2010-04-151-0/+2
| | | | | | | | | | | | | | | | more cleanup required, but things now basically work
| * | | slightly improved/cleaned up debugging systemRainer Gerhards2010-04-141-3/+16
| | | |
| * | | Merge branch 'v4-stable-solaris' into v4-develRainer Gerhards2010-04-1219-144/+498
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tools/omfile.c tools/syslogd.c
| * \ \ \ Merge branch 'v4-beta' into tmpRainer Gerhards2010-01-264-14/+28
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ \ Merge branch 'v4-beta' into v4-develRainer Gerhards2009-12-041-1/+1
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * \ \ \ \ \ Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-251-1/+4
| |\ \ \ \ \ \
* | | | | | | | bugfix: netstream ptcp support class was not correctly build on systems ↵Rainer Gerhards2010-04-191-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | without epoll() support
* | | | | | | | Merge branch 'beta' into masterRainer Gerhards2010-04-099-70/+150
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac plugins/imudp/imudp.c runtime/stream.h tests/Makefile.am tests/diag.sh tools/omfile.c
| * \ \ \ \ \ \ \ Merge branch 'v4-stable-solaris' into betaRainer Gerhards2010-04-097-12/+219
| |\ \ \ \ \ \ \ \ | | | |_|_|_|/ / / | | |/| | | | / / | | |_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/rsyslog.c tests/nettester.c tools/syslogd.c
| | * | | | | | bugfix: the T/P/E config size specifiers did not work properly under call ↵Rainer Gerhards2010-04-071-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32-bit platforms
| | * | | | | | enhanced nettester tool so that it re-uses it's callers environmentRainer Gerhards2010-04-072-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this enables us to work with the "usual" environment tweaks (for debugging and other purposes), without the need for any special handling in nettester itself
| | * | | | | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-253-7/+33
| | |\ \ \ \ \ \ | | | | |_|_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * | | | | | forgot to add file with last commitRainer Gerhards2010-03-231-0/+70
| | | | | | | |
| | * | | | | | added replacements for atomic instructions on systems that do not support them.Rainer Gerhards2010-03-233-0/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [backport of Stefen Sledz' patch for v5]
| | * | | | | | Merge branch 'v4-stable' into v4-stable-solarisRainer Gerhards2010-03-237-58/+129
| | |\ \ \ \ \ \
| * | \ \ \ \ \ \ Merge branch 'v4-stable' into v5-stableRainer Gerhards2010-03-296-64/+141
| |\ \ \ \ \ \ \ \ | | | |_|/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/debug.c runtime/stream.c tests/Makefile.am tests/diskqueue.sh tests/nettester.c tools/omfile.c
| | * | | | | | | bugfix(temporary): message-induced off-by-one error (potential segfault)Rainer Gerhards2010-03-251-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some types of malformed messages could trigger an off-by-one error (for example, \0 or \n as the last character, and generally control character escaption is questionable). This is due to not strictly following a the \0 or string counted string paradigm (during the last optimization on the cstring class). As a temporary fix, we have introduced a proper recalculation of the size. However, a final patch is expected in the future. See bug tracker for further details and when the final patch will be available: http://bugzilla.adiscon.com/show_bug.cgi?id=184 Note that the current patch is considered sufficient to solve the situation, but it requires a bit more runtime than desirable.
| | * | | | | | | bugfix: race condition during directory creationRainer Gerhards2010-03-251-6/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If multiple files try to create a directory at (almost) the same time, some of them may fail. This is a data race and also exists with other processes that may create the same directory. We do now check for this condition and gracefully handle it.
| | * | | | | | | streamline dynafile cache entry deletion a bitRainer Gerhards2010-03-231-1/+1
| | | |/ / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code looks a bit "strange", though not necessarily incorrect. The new code looks correct and is probably less irritating during bug hunting.
| | * | | | | | bugfix(minor): BSD_SO_COMPAT query function had some global vars not ↵Rainer Gerhards2010-03-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | properly initialized. However, in practice the loader initializes them with zero, the desired value, so there were no actual issue in almost all cases.
| | * | | | | | fixed regression from previos (yet unrelease) $omfileFlushOnTXEnd fixtemp.4.6.1.10Rainer Gerhards2010-03-191-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous fix fixed an issue with on/off bying used in the exact wrong semantic. It corrected the situation, but failed to fix one spot where the wrong semantics were used. This is done with this commit. Note that this is NOT a bug seen in any released version.
| | * | | | | | bugfix: invalid buffer write in (file) stream classRainer Gerhards2010-03-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currently being accessed buffer could be overwritten with new data. While this probably did not cause access violations, it could case loss and/or duplication of some data (definitely a race with no deterministic outcome)
| | * | | | | | bugfix: potential hang condition during filestream closeRainer Gerhards2010-03-191-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | predicate was not properly checked when waiting for the background file writer
| | * | | | | | bugfix: improper synchronization when "$OMFileFlushOnTXEnd on" was usedRainer Gerhards2010-03-191-11/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Internal data structures were not properly protected due to missing mutex calls.
| | * | | | | | some cleanup, some additional comments and a bit more debug outputRainer Gerhards2010-03-181-2/+11
| | | | | | | |
| | * | | | | | bugfix(cosmetic): tried to close non-open fd, resulting in close(-1)Rainer Gerhards2010-03-161-2/+7
| | | | | | | |
| | * | | | | | reduced runtime requirements of inactive debug code a slight bitRainer Gerhards2010-03-161-10/+10
| | | | | | | |
| | * | | | | | enhanced dbgoprint() buffer sizeRainer Gerhards2010-03-161-1/+1
| | | | | | | |