summaryrefslogtreecommitdiff
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2025-02-17 10:43:35 +0300
committerIngo Molnar <mingo@kernel.org>2025-02-18 11:48:02 +0300
commitec5fd50aeff9c9156304853c6d75eda852d4a2c8 (patch)
tree0472f3ff7f36b8a65eacb566650aef89f8583a84 /rust/helpers/helpers.c
parent2408a807bfc3f738850ef5ad5e3fd59d66168996 (diff)
downloadlinux-ec5fd50aeff9c9156304853c6d75eda852d4a2c8.tar.xz
uprobes: Don't use %pK through printk
Restricted pointers ("%pK") are not meant to be used through printk(). It can unintentionally expose security sensitive, raw pointer values. Use regular pointer formatting instead. For more background, see: https://lore.kernel.org/lkml/20250113171731-dc10e3c1-da64-4af0-b767-7c7070468023@linutronix.de/ Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Ingo Molnar <mingo@kernel.org> Cc: Masami Hiramatsu <mhiramat@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Link: https://lore.kernel.org/r/20250217-restricted-pointers-uprobes-v1-1-e8cbe5bb22a7@linutronix.de
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions