All of lore.kernel.org
 help / color / mirror / Atom feed
* [kernel-hardening] Format string gcc-plugin?
@ 2017-02-14 18:01 Laura Abbott
  2017-02-14 19:07 ` Kees Cook
  0 siblings, 1 reply; 6+ messages in thread
From: Laura Abbott @ 2017-02-14 18:01 UTC (permalink / raw)
  To: kernel-hardening

Hi,

The recent discussions about %pk led me to start playing around
with writing a gcc plugin (notes about writing a gcc plugin are
forthcoming). My idea was to expand checking of the kernel's additional
formats (%pK, %pR etc.) or possibly even change the format
strings. The big issue is that most of vsprintf.c would end up
in the plugin which would be ugly to maintain. This concept could
be used for some of the problems with kernel pointer leaks
https://kernsec.org/wiki/index.php/Bug_Classes/Kernel_pointer_leak
but I'm interested if anyone else has thoughts or ideas about
how better to do this (or even not to do this).

Thanks,
Laura

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-07 22:18 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-14 18:01 [kernel-hardening] Format string gcc-plugin? Laura Abbott
2017-02-14 19:07 ` Kees Cook
2017-02-15 17:31   ` Roberts, William C
2017-02-23 23:15   ` [kernel-hardening] " Rasmus Villemoes
2017-08-07 22:06     ` Vaishali Thakkar
2017-08-07 22:18       ` Kees Cook

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.