]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lsm: rename variable to avoid shadowing
authorChristian Göttsche <cgzones@googlemail.com>
Mon, 25 Nov 2024 10:59:23 +0000 (11:59 +0100)
committerPaul Moore <paul@paul-moore.com>
Sun, 5 Jan 2025 03:04:39 +0000 (22:04 -0500)
commitb00083aed484a2885bc92c6a7a85d7952c101d75
tree7c6da62a3f92df7e1c85272a718912dc3268974c
parentb0966c7c816a0be9a34cdf4fb16fdb89560af623
lsm: rename variable to avoid shadowing

The function dump_common_audit_data() contains two variables with the
name comm: one declared at the top and one nested one.  Rename the
nested variable to improve readability and make future refactorings
of the function less error prone.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
[PM: description long line removal, line wrap cleanup, merge fuzz]
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/lsm_audit.c