aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRichard Guy Briggs <[email protected]>2018-10-10 16:22:57 -0400
committerPaul Moore <[email protected]>2018-11-05 16:41:49 -0500
commitea956d8be91edc702a98b7fe1f9463e7ca8c42ab (patch)
tree3d5c7285a6f09c1338e22aab211afb91ddc0eba2 /tools/perf/scripts/python/export-to-postgresql.py
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
audit: print empty EXECVE args
Empty executable arguments were being skipped when printing out the list of arguments in an EXECVE record, making it appear they were somehow lost. Include empty arguments as an itemized empty string. Reproducer: autrace /bin/ls "" "/etc" ausearch --start recent -m execve -i | grep EXECVE type=EXECVE msg=audit(10/03/2018 13:04:03.208:1391) : argc=3 a0=/bin/ls a2=/etc With fix: type=EXECVE msg=audit(10/03/2018 21:51:38.290:194) : argc=3 a0=/bin/ls a1= a2=/etc type=EXECVE msg=audit(1538617898.290:194): argc=3 a0="/bin/ls" a1="" a2="/etc" Passes audit-testsuite. GH issue tracker at https://github.com/linux-audit/audit-kernel/issues/99 Signed-off-by: Richard Guy Briggs <[email protected]> [PM: cleaned up the commit metadata] Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions