Commit 0c7fbae
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 <thomas.weissschuh@linutronix.de>
Reviewed-by: Michael Mueller <mimu@linux.ibm.com>
Tested-by: Michael Mueller <mimu@linux.ibm.com>
Link: https://lore.kernel.org/r/20250217-restricted-pointers-s390-v1-2-0e4ace75d8aa@linutronix.de
Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-ID: <20250217-restricted-pointers-s390-v1-2-0e4ace75d8aa@linutronix.de>1 parent 6c9567e commit 0c7fbae
3 files changed
+10
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3161 | 3161 | | |
3162 | 3162 | | |
3163 | 3163 | | |
3164 | | - | |
| 3164 | + | |
3165 | 3165 | | |
3166 | 3166 | | |
3167 | 3167 | | |
| |||
3178 | 3178 | | |
3179 | 3179 | | |
3180 | 3180 | | |
3181 | | - | |
| 3181 | + | |
3182 | 3182 | | |
3183 | 3183 | | |
3184 | 3184 | | |
| |||
3219 | 3219 | | |
3220 | 3220 | | |
3221 | 3221 | | |
3222 | | - | |
| 3222 | + | |
3223 | 3223 | | |
3224 | 3224 | | |
3225 | 3225 | | |
| |||
3468 | 3468 | | |
3469 | 3469 | | |
3470 | 3470 | | |
3471 | | - | |
| 3471 | + | |
3472 | 3472 | | |
3473 | 3473 | | |
3474 | 3474 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1020 | 1020 | | |
1021 | 1021 | | |
1022 | 1022 | | |
1023 | | - | |
| 1023 | + | |
1024 | 1024 | | |
1025 | 1025 | | |
1026 | 1026 | | |
| |||
3464 | 3464 | | |
3465 | 3465 | | |
3466 | 3466 | | |
3467 | | - | |
| 3467 | + | |
3468 | 3468 | | |
3469 | 3469 | | |
3470 | 3470 | | |
| |||
3527 | 3527 | | |
3528 | 3528 | | |
3529 | 3529 | | |
3530 | | - | |
| 3530 | + | |
3531 | 3531 | | |
3532 | 3532 | | |
3533 | 3533 | | |
| |||
3648 | 3648 | | |
3649 | 3649 | | |
3650 | 3650 | | |
3651 | | - | |
| 3651 | + | |
3652 | 3652 | | |
3653 | 3653 | | |
3654 | 3654 | | |
| |||
4025 | 4025 | | |
4026 | 4026 | | |
4027 | 4027 | | |
4028 | | - | |
| 4028 | + | |
4029 | 4029 | | |
4030 | 4030 | | |
4031 | 4031 | | |
| |||
0 commit comments