[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Losing the magic

Losing the magic

Posted Dec 7, 2022 17:41 UTC (Wed) by abatters (✭ supporter ✭, #6932)
In reply to: Losing the magic by sima
Parent article: Losing the magic

As an example of the kernel moving in the unsafe direction, the kernel has lots of special printk format specifiers for specific pointer types that are not typechecked by the compiler.

https://docs.kernel.org/core-api/printk-formats.html


to post comments

Losing the magic

Posted Dec 8, 2022 10:53 UTC (Thu) by geert (subscriber, #98403) [Link]

Sounds like a good task for sparse?


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds