diff options
author | Steve Grubb <sgrubb@redhat.com> | 2023-07-27 13:14:42 -0400 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2023-08-04 21:45:45 +0000 |
commit | c85513220c1bd3150e39c6277422d29cfa44acc7 (patch) | |
tree | 1f50da6e68e5593d7159982c9de0a89253062d1a /modules/pam_selinux | |
parent | 741acf4ff707d53b94947736a01eeeda5e2c7e98 (diff) | |
download | pam-c85513220c1bd3150e39c6277422d29cfa44acc7.tar.gz pam-c85513220c1bd3150e39c6277422d29cfa44acc7.tar.bz2 pam-c85513220c1bd3150e39c6277422d29cfa44acc7.zip |
pam_faillock: fix formatting of audit messages
pam_faillock uses audit_log_user_message to write to the audit system.
It does not take an op argument, so you have to add one yourself. Otherwise
the pam_faillock part of the message is lost because it's not in key=value
format.
Also, we can't use uid in that event because the kernel already adds that
field. What we normally do is use 'suid' (meaning sender uid) as the
field name.
Diffstat (limited to 'modules/pam_selinux')
0 files changed, 0 insertions, 0 deletions