diff options
| author | Thomas Weißschuh <[email protected]> | 2025-02-17 13:13:57 +0000 |
|---|---|---|
| committer | Janosch Frank <[email protected]> | 2025-03-17 08:55:46 +0000 |
| commit | 0c7fbae5bc782429c97d68dc40fb126748d7e352 (patch) | |
| tree | 42e6d647343247f3491d82758efe002924c94597 /rust/helpers/refcount.c | |
| parent | KVM: s390: Don't use %pK through tracepoints (diff) | |
| download | kernel-0c7fbae5bc782429c97d68dc40fb126748d7e352.tar.gz kernel-0c7fbae5bc782429c97d68dc40fb126748d7e352.zip | |
KVM: s390: Don't use %pK through debug printing
Restricted pointers ("%pK") are only meant to be used when directly
printing to a file from task context.
Otherwise it can unintentionally expose security sensitive,
raw pointer values.
Use regular pointer formatting instead.
Link: https://lore.kernel.org/lkml/20250113171731-dc10e3c1-da64-4af0-b767-7c7070468023@linutronix.de/
Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Michael Mueller <[email protected]>
Tested-by: Michael Mueller <[email protected]>
Link: https://lore.kernel.org/r/20250217-restricted-pointers-s390-v1-2-0e4ace75d8aa@linutronix.de
Signed-off-by: Janosch Frank <[email protected]>
Message-ID: <20250217-restricted-pointers-s390-v1-2-0e4ace75d8aa@linutronix.de>
Diffstat (limited to 'rust/helpers/refcount.c')
0 files changed, 0 insertions, 0 deletions
