11516 Commits

Author SHA1 Message Date
mosvald
5f828658a3 cache sin_addr instead of the whole sockaddr structure 2017-12-04 08:10:37 +01:00
Rainer Gerhards
74abe5be2a maintain ChangeLog 2017-12-03 15:57:45 +01:00
Rainer Gerhards
593c4cef84
Merge pull request #2154 from rgerhards/i-2150a
imuxsock: report system socket name received from systemd
2017-12-03 15:56:13 +01:00
Rainer Gerhards
7ed0bf53c5
Merge pull request #2156 from jgerhards/i2127
rainerscript: bugfix
2017-12-03 15:54:18 +01:00
Rainer Gerhards
951a766c21
Merge pull request #2157 from rgerhards/coverity
"fix" Coverity scan false positives
2017-12-03 15:52:13 +01:00
Rainer Gerhards
52e6fedc59 "fix" Coverity scan false positives 2017-12-03 10:17:31 +01:00
Jan Gerhards
38d92ff814 rainerscript: bugfix
fix a bug causing a crash if rtrim or ltrim were called
with a string containing a blank and one single different character.

closes https://github.com/rsyslog/rsyslog/issues/2127
2017-12-02 18:26:39 +01:00
Rainer Gerhards
60593593ea
Merge pull request #2153 from rgerhards/no-legacy-config
another set of coverity scan "fixes"
2017-12-02 13:17:57 +01:00
Rainer Gerhards
0f1e00c0a3
Merge pull request #2149 from rgerhards/coverity-2
"fix" Coverity scan false positive CID 184415
2017-12-02 12:47:29 +01:00
Rainer Gerhards
9767c9bd22 imuxsock: report system socket name received from systemd
... of course only if this capability is used on systemd systems.

see also https://github.com/rsyslog/rsyslog/issues/2150
2017-12-02 12:29:57 +01:00
Rainer Gerhards
8aa05c18bf omczmq: "fix" Coverity scan false positive CID 185431 2017-12-02 12:11:34 +01:00
Rainer Gerhards
04220bdd3f omhttpfs: "fix" Coverity scan false positive CID 185398 2017-12-02 12:08:34 +01:00
Rainer Gerhards
e4e6fab23f "fix" Coverity scan false positive CID 184415 2017-12-02 10:33:09 +01:00
Rainer Gerhards
f2cda9d3bf
Merge pull request #2148 from rgerhards/more-bsd-tests
testbench: enable more tests on BSD
2017-12-02 10:32:32 +01:00
Rainer Gerhards
e6ea9a1ac6 testbench: enable more tests on BSD
... by fixing command lines that are not valid under BSD.
2017-12-02 10:32:01 +01:00
Rainer Gerhards
25c3ca3579
Merge pull request #2152 from deoren/contributing-typo-fix
Misc typo fixes to the CONTRIBUTING doc
2017-12-02 09:55:30 +01:00
Deoren Moor
caf178e985
Misc typo fixes to the CONTRIBUTING doc 2017-12-02 01:27:16 -06:00
Rainer Gerhards
1a78bf6428
Merge pull request #2147 from deoren/imuxsock-comment-fix
Fix module name in pInputName comment
2017-12-01 19:04:13 +01:00
Deoren Moor
5543aab1ee
Fix module name in pInputName comment
Unless I misunderstand, the comment contains a reference to a different module than this one (perhaps a bad copy/paste/modify operation).
2017-12-01 08:29:10 -06:00
Rainer Gerhards
0265b8a8a3 maintain ChangeLog 2017-12-01 12:52:13 +01:00
7508010750 Basic Imfile FEN API support for Solaris (#2141)
imfile: Initial implementation of solaris FEN API (without wildcards)

FEN API is used to implement simular event based file
monitoring like with inotify.

This commit provides partial functionality. It supports event-driven
processing of files but does not yet provide wildcard functionality.
Wildscards will be provided by a later commit.

This can be committed as-is because the previous code did also
not provide wildcard support, so this is an improvement for
Solaris in any case.

see also https://github.com/rsyslog/rsyslog/issues/1954
2017-12-01 12:49:38 +01:00
Rainer Gerhards
3754bb914c
Merge pull request #2144 from rgerhards/coverity
"Fix" Coverity scan cosmetic issues
2017-12-01 11:26:02 +01:00
Rainer Gerhards
82c66a4b0b "fix" Coverity scan cosmetic issue CID 185430 2017-12-01 08:59:03 +01:00
Rainer Gerhards
0c5b7a42b5 omhttpfs: better error handling for invalid legacy statement use
Detected by Coverity scan, CID 185398
2017-12-01 08:44:03 +01:00
Rainer Gerhards
cc8d57b09f "fix" Coverity scan cosmetic nits 2017-12-01 08:43:31 +01:00
Rainer Gerhards
3a8d71961d lookup: "fix" cosmetic Coverity issue CID 185371 2017-12-01 08:17:57 +01:00
Rainer Gerhards
f98c3e20d5
Merge pull request #2139 from rgerhards/enforce-libsystemd
build system: add capability to required libsystemd
2017-11-30 12:29:22 +01:00
Rainer Gerhards
a5d4e121ea
Merge pull request #2137 from rgerhards/better-v-output
add info if compiled with libsystemd to rsyslogd -v output
2017-11-30 12:29:08 +01:00
Rainer Gerhards
d05dd437fd maintain ChangeLog 2017-11-30 10:42:43 +01:00
Rainer Gerhards
58ff19b2f5 add info if compiled with libsystemd to rsyslogd -v output 2017-11-30 10:07:46 +01:00
Rainer Gerhards
9d0d8101fd
Merge pull request #2136 from rgerhards/coverity-4
Coverity scan "fixes"
2017-11-30 09:18:25 +01:00
Rainer Gerhards
80bd3666fc build system: add capability to required libsystemd
and fail if it cannot be found. This is needed to ensure that builds
for platforms that actually need it succeed.

see also https://github.com/rsyslog/rsyslog/issues/2134
2017-11-30 09:12:57 +01:00
Rainer Gerhards
c3b48d708a iminternal: refactor to fix cosmetic Coverity scan CID 185435 2017-11-30 08:19:14 +01:00
Rainer Gerhards
56014d3fe4 "fix" Coverity scan false positives 2017-11-30 08:19:14 +01:00
Rainer Gerhards
43bb848707
Merge pull request #2130 from rgerhards/i-2102
ensure gcc-7 can be used without problems for building rsyslog
2017-11-29 16:08:42 +01:00
Rainer Gerhards
262a85aabe pmnormalize: remove unsave "strcat" implementation
see also https://github.com/rsyslog/rsyslog/issues/2133
2017-11-29 12:39:07 +01:00
Rainer Gerhards
9bd7608f92 fix build warnings from debug subsystem 2017-11-29 12:39:07 +01:00
Rainer Gerhards
546b6010db mmsnmptrapd: fix potential misadressing
Detected by clang static analyzer.
2017-11-29 12:39:07 +01:00
Rainer Gerhards
bc2cc8feb2 mmsnmptrapd: fix potential NULL pointer use
Deteced by clang static analyzer
2017-11-29 12:39:07 +01:00
Rainer Gerhards
e447300569 mmgrok: fix gcc-7 build problem 2017-11-29 12:39:07 +01:00
Rainer Gerhards
e4bdd0d73b omtcl: work around gcc-7 build issues 2017-11-29 12:39:07 +01:00
Rainer Gerhards
1e7cc7c864 mmsnmptrapd: update to newer-style interfacer
this also solves potentially unclean code
2017-11-29 12:39:07 +01:00
Rainer Gerhards
38e9bcf5b0 omamqp1: work around gcc-7 build issues 2017-11-29 12:39:07 +01:00
Rainer Gerhards
1bb9aa4c38 work around flex/bison problems with gcc-7 2017-11-29 12:39:07 +01:00
Rainer Gerhards
8d8abf2d9b travis: enable gcc-7 with high warning levels
see also https://github.com/rsyslog/rsyslog/pull/2121
2017-11-29 12:39:07 +01:00
Rainer Gerhards
f1a27b6e13
Merge pull request #2131 from rgerhards/coverity-3
"fix" some Coverity scan false positives
2017-11-29 12:27:42 +01:00
Rainer Gerhards
ad9a247146 "fix" some Coverity scan false positives 2017-11-29 08:11:23 +01:00
Rainer Gerhards
7bf280e9aa prepare for new development cycle 2017-11-28 10:06:09 +01:00
Rainer Gerhards
c4f7ac1480
Merge pull request #2129 from allanpark/Issue-2090-lmsig_ksils12_libksi_async_mode
BUGFIX: fixing regression bugs introduced by PR 2117
2017-11-28 09:42:50 +01:00
Allan Park
c802e29593 BUGFIX: fixing regression bugs introduxed by PR 2117 (reported by coverity) 2017-11-28 09:43:35 +02:00