2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/Documentation/core-api
Geert Uytterhoeven ec12bc2909 lib/vsprintf: Hash legacy clock addresses
On platforms using the Common Clock Framework, "%pC" prints the clock's
name. On legacy platforms, it prints the unhashed clock's address,
potentially leaking sensitive information regarding the kernel layout in
memory.

Avoid this leak by printing the hashed address instead.  To distinguish
between clocks, a 32-bit unique identifier is as good as an actual
pointer value.

Fixes: ad67b74d24 ("printk: hash addresses printed with %p")
Link: http://lkml.kernel.org/r/20181011084249.4520-3-geert+renesas@glider.be
To: "Tobin C . Harding" <me@tobin.cc>
To: Andrew Morton <akpm@linux-foundation.org>
To: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
2018-10-12 11:24:41 +02:00
..
assoc_array.rst core-api: remove an unexpected unident 2017-05-18 10:22:34 -06:00
atomic_ops.rst locking/atomics/Documentation: Describe atomic_set() as a write operation 2018-07-17 09:30:31 +02:00
boot-time-mm.rst docs/mm: add description of boot time memory management 2018-08-02 12:40:27 -06:00
cachetlb.rst docs: core-api: add cachetlb documentation 2018-05-08 10:02:34 -06:00
circular-buffers.rst docs: core-api: add circular-buffers documentation 2018-05-08 10:07:06 -06:00
conf.py docs: Add more manuals to the PDF build 2016-11-16 16:07:02 -07:00
cpu_hotplug.rst Documentation: Update CPU hotplug and move it to core-api 2017-01-13 10:32:32 -07:00
debug-objects.rst doc: debugobjects: actually pull in the kerneldoc comments 2016-11-29 14:44:14 -07:00
errseq.rst errseq: Add to documentation tree 2018-01-01 12:40:27 -07:00
flexible-arrays.rst Documentation: Add flexible-arrays.rst to the documentation tree 2017-03-29 14:50:21 -06:00
genalloc.rst doc: Add documentation for the genalloc subsystem 2017-08-30 16:49:04 -06:00
genericirq.rst genericirq.rst: Remove :c:func:... in code blocks 2017-12-02 08:41:46 -07:00
gfp_mask-from-fs-io.rst docs: Use the kerneldoc comments for memalloc_no*() 2018-05-29 06:45:55 -06:00
idr.rst docs/idr: use empty "functions" directive 2018-06-30 07:52:50 -06:00
index.rst docs/core-api: split memory management API to a separate file 2018-08-23 18:48:43 -07:00
kernel-api.rst docs/core-api: split memory management API to a separate file 2018-08-23 18:48:43 -07:00
librs.rst docs-rst: convert librs book to ReST 2017-05-16 08:44:16 -03:00
local_ops.rst timer: Remove init_timer() interface 2017-11-21 15:57:09 -08:00
mm-api.rst docs/core-api: mm-api: add section about GFP flags 2018-08-23 18:48:43 -07:00
printk-formats.rst lib/vsprintf: Hash legacy clock addresses 2018-10-12 11:24:41 +02:00
refcount-vs-atomic.rst Documentation: refcount-vs-atomic: Update reference to LKMM doc. 2018-05-08 14:52:39 -06:00
timekeeping.rst Documentation: document ktime_get_*() APIs 2018-07-23 09:16:56 -06:00
tracepoint.rst doc: Sphinxify the tracepoint docbook 2016-11-29 14:44:23 -07:00
workqueue.rst Documentation: core-api: minor workqueue.rst cleanups 2017-09-18 17:29:27 -07:00