On Mon, Apr 14, 2025 at 10:26:01AM +0200, Thomas Weißschuh wrote: > Furthermore, restricted pointers ("%pK") were never meant to be used > through printk().
Is this really true? Documentation/admin-guide/sysctl/kernel.rst still has a section on kptr_restrict which talks about dmesg, CAP_SYSLOG, and %pK, which sounds like it's intended. But I'm not highly familiar with this space, so maybe I'm misreading something. (I do see that commit a48849e2358e ("printk: clarify the documentation for plain pointer printing") updated Documentation/core-api/printk-formats.rst.) In any case, even if the advice has changed, it seems (again, to an outsider) a bit much to say it was "never" meant to be used through printk(). Brian