summaryrefslogtreecommitdiffstats
path: root/src/journal/journald-audit.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Assorted format fixesZbigniew Jędrzejewski-Szmek2015-01-221-1/+1
| | | | | Types used for pids and uids in various interfaces are unpredictable. Too bad.
* journald: prefix exported calls with "server_", unexport unnecessary callsLennart Poettering2015-01-051-1/+1
|
* tree-wide: spelling fixesVeres Lajos2014-12-311-2/+2
| | | | | | | https://github.com/vlajos/misspell_fixer https://github.com/torstehu/systemd/commit/b6fdeb618cf2f3ce1645b3315f15f482710c7ffa Thanks to Torstein Husebo <torstein@huseboe.net>.
* treewide: another round of simplificationsMichal Schmidt2014-11-281-8/+4
| | | | | Using the same scripts as in f647962d64e "treewide: yet more log_*_errno + return simplifications".
* treewide: use log_*_errno whenever %m is in the format stringMichal Schmidt2014-11-281-3/+3
| | | | | | | | | | | If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments.
* treewide: more log_*_errno + return simplificationsMichal Schmidt2014-11-281-12/+6
|
* treewide: no need to negate errno for log_*_errno()Michal Schmidt2014-11-281-4/+4
| | | | It corrrectly handles both positive and negative errno values.
* treewide: auto-convert the simple cases to log_*_errno()Michal Schmidt2014-11-281-4/+4
| | | | | | | | | | | | | As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno().
* journal: adjust audit log messages a bitLennart Poettering2014-11-061-2/+2
|
* journald: include audit message type number in MESSAGE= stringLennart Poettering2014-11-041-2/+3
|
* journal: also consider audit fields with '-' validLennart Poettering2014-11-041-3/+13
|
* journald: don't pass around SO_TIMESTAMP timestamp for audit, which we don't ↵Lennart Poettering2014-11-041-4/+3
| | | | have anyway
* journald: suppress low-level audit text prefix in MESSAGE= fieldLennart Poettering2014-11-041-2/+6
| | | | | Let's make the log output more readable, and the header can be reconstructed in full from the other fields
* journald: properly decode audit's proctitle= fieldLennart Poettering2014-11-041-3/+17
|
* journald: enable audit in the kernel when initializingLennart Poettering2014-11-041-0/+50
| | | | | Similar to auditd actually turn on auditing as we are starting. This way we can operate entirely without auditd around.
* journald: there's no point in turning on SO_TIMESTAMP for audit sockets, ↵Lennart Poettering2014-11-031-6/+0
| | | | audit doesn't support timestamps anyway
* journald: if available pull audit messages from the kernel into journal logsLennart Poettering2014-11-031-0/+489