mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-06 17:31:01 +01:00
![]() (garbage) ptrace events like ... apparmor="DENIED" operation="ptrace" profile="/bin/netstat" pid=1962 comm="netstat" target="" cause an empty name2 field, which leads to a crash in the tools. This patch lets logparser.py ignore such garbage log events, which also avoids the crash. As usual, add some testcases. test-libapparmor-test_multi.py needs some special handling to ignore the empty name2 field in one of the testcases. References: https://bugs.launchpad.net/apparmor/+bug/1689667 Acked-by: Seth Arnold <seth.arnold@canonical.com> for trunk and 2.11. Older releases can't handle ptrace log events and therefore can't crash ;-) |
||
---|---|---|
.. | ||
doc | ||
include | ||
m4 | ||
src | ||
swig | ||
testsuite | ||
AUTHORS | ||
autogen.sh | ||
ChangeLog | ||
configure.ac | ||
COPYING.LGPL | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README |
What little documentation exists is in src/aalogparse.h. Please file bugs using https://bugs.launchpad.net/apparmor/+filebug