diff options
author | Ondrej Mosnacek <omosnace@redhat.com> | 2021-09-14 15:15:16 +0200 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-09-20 04:47:04 +0200 |
commit | 8e71168e2cc760e2d016ad99a59773169211472f (patch) | |
tree | 7c03f0b777553148d2d26db0c9c58130a385dd98 /kernel/auditsc.c | |
parent | audit: Convert to SPDX identifier (diff) | |
download | linux-8e71168e2cc760e2d016ad99a59773169211472f.tar.xz linux-8e71168e2cc760e2d016ad99a59773169211472f.zip |
lsm_audit: avoid overloading the "key" audit field
The "key" field is used to associate records with the rule that
triggered them, os it's not a good idea to overload it with an
additional IPC key semantic. Moreover, as the classic "key" field is a
text field, while the IPC key is numeric, AVC records containing the IPC
key info actually confuse audit userspace, which tries to interpret the
number as a hex-encoded string, thus showing garbage for example in the
ausearch "interpret" output mode.
Hence, change it to "ipc_key" to fix both issues and also make the
meaning of this field more clear.
Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'kernel/auditsc.c')
0 files changed, 0 insertions, 0 deletions