| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
SCM_CREDENTIALS is not a socket option; its value is usually
0x2 which on most archs corresponds to socket option
SO_REUSEADDR, but on mips-arch there is no socket option
with value 0x2 and SO_REUSEADDR = 0x4, so the call will fail
with ENOPROTOOPT 'Protocol not available'; skip it.
There does not seem any other special setsockopt call is
needed anyway, besides the above.
In addition Jonny Törnbom commented:
SCM_CREDENTIALS is a control message type, not a socket option, so using
setsockopt(...SCM_CREDENTIALS...) is potentially dangerous and wrong and
should be deleted from the code. (SCM_CREDENTIALS is used in conjuction
with SO_PASSCRED which is the socket option to use.)
|
|\ \ \ \
| | |/ /
| |/| | |
|
| |\ \ \
| | | |/
| | |/| |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
modified: plugins/imuxsock/imuxsock.c
|
| | | |
| | | |
| | | |
| | | | |
... in order to keep in line with current lumberjack schema
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add missing error handling.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use the return value to signal errors instead of overloading
*lenProp == 0.
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| |_|/
|/| |
| | |
| | | |
Warning: only minimal testing done so far
|
| | |
| | |
| | |
| | | |
modified: plugins/imuxsock/imuxsock.c
|
| | |
| | |
| | |
| | |
| | | |
* add support for parsing trusted properties into libee event structure
* add $SystemLogParseTrusted config file option to enable it (default off)
|
|\ \ \ |
|
| |\| | |
|
| | | |
| | | |
| | | |
| | | | |
modified: plugins/imuxsock/imuxsock.c
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Copy bAnnotateSysSock value from old config data into the new structure
* Set bUseCreds on the system log socket if bAnnotateSysSock is set
* Process all CMSG records, not only the first one
Signed-off-by: Miloslav Trmač <mitr@redhat.com>
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The interface was actually not present in older versions, even though some modules
already used it. The implementation was now done, and not in 6.3/6.4
because the resulting memory leak was ultra-slim and the new interface
handling has some potential to seriously break things. Not the kind of
thing you want to add in late beta state, if avoidable.
|
|/ /
| |
| |
| |
| | |
This actually at compile time disables a lot of debug code, resulting
in some speedup (but serious loss of debugging capabilities)
|
| | |
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
plugins/imuxsock/imuxsock.c
tools/syslogd.c
|
| |\ |
|
| | |\
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
plugins/imuxsock/imuxsock.c
runtime/glbl.c
|
| | | | |
|
| |\| |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
configure.ac
doc/manual.html
|
| |\ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
configure.ac
|
| |\ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
ChangeLog
action.c
configure.ac
doc/imuxsock.html
doc/manual.html
runtime/queue.c
|
| |\ \ \ \ \ |
|
| |\ \ \ \ \ \ |
|
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
thanks to Brian Knox for alerting me and the initial analysis
|
|\ \ \ \ \ \ \ \
| | |_|_|_|_|/ /
| |/| | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | |
| | | | | | | | |
Conflicts:
action.c
configure.ac
doc/imuxsock.html
plugins/imklog/imklog.c
plugins/imptcp/imptcp.c
plugins/imtcp/imtcp.c
plugins/imudp/imudp.c
plugins/imuxsock/imuxsock.c
runtime/glbl.c
runtime/glbl.h
runtime/net.c
runtime/ruleset.c
tcpsrv.h
tools/syslogd.c
|
| | |_|_|_|/ /
| |/| | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
with the exception of imdiag, which I humbly do not think needs this
capabilit (even counter-productive for testbench use).
|
| |\ \ \ \ \ \
| | |_|_|_|/ /
| |/| | | | /
| | | |_|_|/
| | |/| | |
| | | | | |
| | | | | | |
Conflicts:
plugins/imuxsock/imuxsock.c
runtime/queue.c
runtime/queue.h
|
| | | | | | |
|
| | |_|_|/
| |/| | |
| | | | |
| | | | | |
new config directives: $IMUXSockLocalIPIF
|
|\ \ \ \ \
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Conflicts:
plugins/imuxsock/imuxsock.c
runtime/queue.c
runtime/queue.h
|
| |\ \ \ \ \
| | | |/ / /
| | |/| | | |
|
| | |/ / / |
|
|\| | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Conflicts:
plugins/imuxsock/imuxsock.c
|
| |\| | | |
|
| | | |/
| | |/|
| | | |
| | | |
| | | | |
Changed to check "/run/systemd/journal" directory and not the
socket, as the socket may not exists [e.g. is not activated].
|
| | | | |
|
|\| | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
plugins/imuxsock/imuxsock.c
|
| |\| | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Detect if we have to use the new /run/systemd/journal/syslog
socket instead of the /dev/log under newer systemd versions.
Signed-off-by: Marius Tomaschewski <mt@suse.com>
|
|\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Conflicts:
ChangeLog
configure.ac
doc/manual.html
plugins/imfile/imfile.c
plugins/imklog/imklog.c
plugins/immark/immark.c
plugins/imptcp/imptcp.c
plugins/imrelp/imrelp.c
plugins/imtcp/imtcp.c
plugins/imtemplate/imtemplate.c
plugins/imudp/imudp.c
plugins/imuxsock/imuxsock.c
plugins/mmsnmptrapd/mmsnmptrapd.c
plugins/omtemplate/omtemplate.c
runtime/glbl.c
runtime/parser.c
tools/omfile.c
tools/syslogd.c
|
| | | |
| | | |
| | | |
| | | | |
The most common files are now changed, more needs to be done.
|
| |\| | |
|