|
|
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


The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:

Note: you can avoid this step in the future by logging into your LWN account.


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